36 lines
954 B
TypeScript
36 lines
954 B
TypeScript
import Navbar from '@/components/Navbar';
|
|
import Hero from '@/components/Hero';
|
|
import About from '@/components/About';
|
|
import Accommodation from '@/components/Accommodation';
|
|
import Beach from '@/components/Beach';
|
|
import Dining from '@/components/Dining';
|
|
import Events from '@/components/Events';
|
|
import Gallery from '@/components/Gallery';
|
|
import Contact from '@/components/Contact';
|
|
import Footer from '@/components/Footer';
|
|
import WhatsAppButton from '@/components/WhatsAppButton';
|
|
|
|
export default async function Page({
|
|
params
|
|
}: {
|
|
params: Promise<{ locale: string }>
|
|
}) {
|
|
const { locale } = await params;
|
|
|
|
return (
|
|
<main className="min-h-screen bg-cream selection:bg-turquoise selection:text-white">
|
|
<Navbar locale={locale} />
|
|
<Hero />
|
|
<About />
|
|
<Accommodation />
|
|
<Beach />
|
|
<Dining />
|
|
<Events />
|
|
<Gallery />
|
|
<Contact />
|
|
<Footer />
|
|
<WhatsAppButton />
|
|
</main>
|
|
);
|
|
}
|