import BookingInterface from "../../components/BookingForm";
import {getTranslations} from 'next-intl/server';
import LanguageSwitcher from "../../components/LanguageSwitcher";

export default async function Home() {
  const t = await getTranslations('footer');

  return (
    <div>
      <main>
        <LanguageSwitcher />
        <BookingInterface />
      </main>
      <footer className="bg-white text-black py-8 mt-12 border-t">
        <div className="max-w-2xl mx-auto px-4 text-center">
          <p className="text-gray-600 mb-2">{t('getInTouch')}</p>
          <a
            href="mailto:vitrify@asyavee.me"
            className="text-blue-600 hover:text-blue-800 transition-colors font-medium"
          >
            vitrify@asyavee.me
          </a>
        </div>
      </footer>
    </div>
  );
}
