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 { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import ReactLenis from "lenis/react";
|
import ReactLenis from "lenis/react";
|
||||||
|
import { useState } from "react";
|
||||||
import ContactText from '@/components/sections/contact/ContactText';
|
import ContactText from '@/components/sections/contact/ContactText';
|
||||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||||
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
|
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
|
||||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||||
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
|
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
|
||||||
import MediaAbout from '@/components/sections/about/MediaAbout';
|
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 ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||||
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const [lang, setLang] = useState("EN");
|
||||||
|
|
||||||
|
const toggleLang = () => {
|
||||||
|
setLang((prev) => (prev === "EN" ? "AL" : prev === "AL" ? "IT" : "EN"));
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-shift"
|
defaultButtonVariant="text-shift"
|
||||||
@@ -29,22 +36,23 @@ export default function LandingPage() {
|
|||||||
>
|
>
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<div id="nav" data-section="nav">
|
<div id="nav" data-section="nav">
|
||||||
<NavbarLayoutFloatingInline
|
<NavbarLayoutFloatingOverlay
|
||||||
navItems={[
|
navItems={[
|
||||||
{ name: "Home", id: "hero" },
|
{ name: "Home", id: "hero" },
|
||||||
{ name: "About", id: "about" },
|
{ name: "About", id: "about" },
|
||||||
{ name: "Menu", id: "menu" },
|
{ name: "Menu", id: "menu" },
|
||||||
{ name: "Reviews", id: "testimonials" },
|
{ name: "Reviews", id: "testimonials" },
|
||||||
{ name: "Contact", id: "contact" },
|
{ name: "Contact", id: "contact" },
|
||||||
|
{ name: lang, id: "#" }
|
||||||
]}
|
]}
|
||||||
brandName="La Fortezza"
|
brandName="La Fortezza"
|
||||||
button={{ text: "Reserve Table", href: "#contact" }}
|
button={{ text: "Reserve Table", onClick: toggleLang }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroCarouselLogo
|
<HeroCarouselLogo
|
||||||
logoText="L'Antica Tirana"
|
logoText="La Fortezza"
|
||||||
description="Authentic Italian flavors, warm hospitality, and the heart of Italy in Tirana."
|
description="Authentic Italian flavors, warm hospitality, and the heart of Italy in Tirana."
|
||||||
buttons={[{ text: "Reserve Table", href: "#contact" }, { text: "View Menu", href: "#menu" }]}
|
buttons={[{ text: "Reserve Table", href: "#contact" }, { text: "View Menu", href: "#menu" }]}
|
||||||
slides={[
|
slides={[
|
||||||
@@ -159,7 +167,7 @@ export default function LandingPage() {
|
|||||||
|
|
||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterLogoReveal
|
<FooterLogoReveal
|
||||||
logoText="L'Antica Tirana"
|
logoText="La Fortezza"
|
||||||
leftLink={{ text: "Privacy Policy", href: "#" }}
|
leftLink={{ text: "Privacy Policy", href: "#" }}
|
||||||
rightLink={{ text: "Terms of Service", href: "#" }}
|
rightLink={{ text: "Terms of Service", href: "#" }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user