Update src/app/page.tsx
This commit is contained in:
@@ -12,8 +12,10 @@ import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
|
||||
import { useRouter } from "next/navigation";
|
||||
|
||||
export default function LandingPage() {
|
||||
const router = useRouter();
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -33,7 +35,7 @@ export default function LandingPage() {
|
||||
navItems={[
|
||||
{ name: "Accueil", id: "hero" },
|
||||
{ name: "Notre Histoire", id: "about" },
|
||||
{ name: "Menu", id: "products" },
|
||||
{ name: "Menu", id: "/menu" },
|
||||
{ name: "Avis", id: "testimonials" },
|
||||
{ name: "Contact", id: "contact" }
|
||||
]}
|
||||
@@ -56,7 +58,7 @@ export default function LandingPage() {
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "Réserver une table", href: "#contact" },
|
||||
{ text: "Voir le Menu", href: "#products" }
|
||||
{ text: "Voir le Menu", onClick: () => router.push("/menu") }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/decoration-bean-old-closeup-aroma_1203-5601.jpg"
|
||||
imageAlt="authentic korean barbecue restaurant interior"
|
||||
@@ -118,6 +120,7 @@ export default function LandingPage() {
|
||||
]}
|
||||
title="Menu Signature KOLLA"
|
||||
description="Une sélection riche des meilleures spécialités coréennes, de nos entrées croustillantes jusqu'à nos grills au charbon."
|
||||
buttons={[{ text: "Voir Tout le Menu", onClick: () => router.push("/menu") }]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -208,4 +211,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user