Merge version_3 into main

Merge version_3 into main
This commit was merged in pull request #10.
This commit is contained in:
2026-05-24 20:55:45 +00:00

View File

@@ -11,18 +11,10 @@ import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import CookiePopup from '@/components/popup/CookiePopup';
import { Heart, Pizza, Star } from "lucide-react";
import { useState, useEffect } from "react";
export default function LandingPage() {
const [showCookie, setShowCookie] = useState(false);
useEffect(() => {
const accepted = localStorage.getItem('cookies-accepted');
if (!accepted) {
setShowCookie(true);
}
}, []);
return (
<ThemeProvider
defaultButtonVariant="bounce-effect"
@@ -37,18 +29,6 @@ export default function LandingPage() {
headingFontWeight="light"
>
<ReactLenis root>
{showCookie && (
<div className="fixed bottom-4 left-4 z-[9999] bg-card p-6 rounded-lg shadow-xl max-w-sm border border-accent">
<h3 className="font-semibold mb-2">Datenschutz</h3>
<p className="text-sm mb-4">Wir nutzen Cookies, um Ihr Erlebnis zu verbessern. Durch die Nutzung der Seite stimmen Sie dem zu.</p>
<button
onClick={() => { localStorage.setItem('cookies-accepted', 'true'); setShowCookie(false); }}
className="bg-primary-cta text-white px-4 py-2 rounded"
>
Akzeptieren
</button>
</div>
)}
<div id="nav" data-section="nav">
<NavbarLayoutFloatingInline
navItems={[
@@ -91,6 +71,13 @@ export default function LandingPage() {
{ src: "http://img.b2bpic.net/free-photo/french-restaurant-scene-paris-france-sidewalk-cafe_1101-2310.jpg", alt: "French restaurant scene" },
{ src: "http://img.b2bpic.net/free-photo/charming-balcony-scene-with-roses-outdoor-dining_23-2151986094.jpg", alt: "Charming balcony scene" }
]}
marqueeItems={[
{ type: "image", src: "http://img.b2bpic.net/free-photo/luxury-dining-room-illuminated-by-candlelight-glow-generated-by-ai_188544-24152.jpg", alt: "Luxury dining room" },
{ type: "image", src: "http://img.b2bpic.net/free-photo/colorful-mexican-urban-architecture-landscape_23-2149749946.jpg", alt: "Colorful landscape" },
{ type: "image", src: "http://img.b2bpic.net/free-photo/cafe-sibiu-romania_1268-20583.jpg", alt: "Cafe in Sibiu" },
{ type: "text", text: "Traditionell" },
{ type: "text", text: "Hausgemacht" }
]}
/>
</div>
@@ -198,6 +185,7 @@ export default function LandingPage() {
bottomRightText="Alle Rechte vorbehalten."
/>
</div>
<CookiePopup />
</ReactLenis>
</ThemeProvider>
);