Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4abbec89f6 | |||
| a968280084 | |||
| bdf43462a2 | |||
| 0e70e68197 | |||
| 51bdfdc26e | |||
| 957324520a | |||
| cd3ad12559 | |||
| 87c1d24052 | |||
| af620f314f | |||
| 7d4d88a18b | |||
| 92bb4165a7 | |||
| 79e9a63abc | |||
| de4b738e80 |
@@ -2,18 +2,25 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import { useState } from "react";
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
|
||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
|
||||
import MediaAbout from '@/components/sections/about/MediaAbout';
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
||||
|
||||
export default function LandingPage() {
|
||||
const [lang, setLang] = useState("EN");
|
||||
|
||||
const toggleLang = () => {
|
||||
setLang((prev) => (prev === "EN" ? "AL" : prev === "AL" ? "IT" : "EN"));
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-shift"
|
||||
@@ -29,22 +36,23 @@ export default function LandingPage() {
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "Reviews", id: "testimonials" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: lang, id: "#" }
|
||||
]}
|
||||
brandName="La Fortezza "
|
||||
button={{ text: "Reserve Table", href: "#contact" }}
|
||||
brandName="La Fortezza"
|
||||
button={{ text: "Reserve Table", onClick: toggleLang }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroCarouselLogo
|
||||
logoText="L'Antica Tirana"
|
||||
logoText="La Fortezza"
|
||||
description="Authentic Italian flavors, warm hospitality, and the heart of Italy in Tirana."
|
||||
buttons={[{ text: "Reserve Table", href: "#contact" }, { text: "View Menu", href: "#menu" }]}
|
||||
slides={[
|
||||
@@ -159,7 +167,7 @@ export default function LandingPage() {
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoReveal
|
||||
logoText="L'Antica Tirana"
|
||||
logoText="La Fortezza"
|
||||
leftLink={{ text: "Privacy Policy", href: "#" }}
|
||||
rightLink={{ text: "Terms of Service", href: "#" }}
|
||||
/>
|
||||
@@ -167,4 +175,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user