Merge version_4 into main #4

Merged
bender merged 1 commits from version_4 into main 2026-05-12 09:39:54 +00:00

View File

@@ -2,6 +2,7 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import { useState } from "react";
import ContactText from '@/components/sections/contact/ContactText';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
@@ -14,6 +15,10 @@ import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCar
import TextAbout from '@/components/sections/about/TextAbout';
export default function LandingPage() {
const [lang, setLang] = useState('PL');
const toggleLang = () => setLang(prev => prev === 'PL' ? 'EN' : 'PL');
return (
<ThemeProvider
defaultButtonVariant="hover-magnetic"
@@ -39,9 +44,16 @@ export default function LandingPage() {
name: "Menu", id: "menu"},
{
name: "Contact", id: "contact"},
{
name: lang === 'PL' ? 'EN' : 'PL', id: "lang-toggle"},
]}
brandName="Restauracja NOWA"
/>
<div className="fixed top-4 right-4 z-50">
<button onClick={toggleLang} className="px-3 py-1 rounded-full bg-white/10 backdrop-blur-md text-xs font-semibold uppercase">
{lang}
</button>
</div>
</div>
<div id="hero" data-section="hero">