Merge version_2 into main #4

Merged
bender merged 1 commits from version_2 into main 2026-04-07 07:31:23 +00:00

View File

@@ -12,6 +12,13 @@ import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
export default function LandingPage() {
const scrollToSection = (id: string) => {
const element = document.getElementById(id);
if (element) {
element.scrollIntoView({ behavior: "smooth" });
}
};
return (
<ThemeProvider
defaultButtonVariant="text-shift"
@@ -59,7 +66,7 @@ export default function LandingPage() {
{ imageSrc: "http://img.b2bpic.net/free-photo/red-haired-girl-smiles-because-sun-strokes-her-cheeks_8353-9131.jpg?_wi=4", imageAlt: "Hygge" },
{ imageSrc: "http://img.b2bpic.net/free-photo/high-angle-plate-with-delicious-bruschettas-table_23-2148454840.jpg?_wi=4", imageAlt: "Kvalitet" },
]}
buttons={[{ text: "Se menuen", href: "#menu" }]}
buttons={[{ text: "Se menuen", onClick: () => scrollToSection("menu") }]}
/>
</div>
@@ -140,6 +147,7 @@ export default function LandingPage() {
description="Kom forbi og nyd en kop kaffe eller bestil bord direkte ved at ringe til os."
imageSrc="http://img.b2bpic.net/free-photo/lights-night-city_23-2148139580.jpg"
mediaAnimation="blur-reveal"
onSubmit={(email) => console.log("Signed up with:", email)}
/>
</div>
@@ -147,7 +155,7 @@ export default function LandingPage() {
<FooterBase
columns={[
{ title: "Menu", items: [{ label: "Se menukort", href: "#menu" }] },
{ title: "Kontakt", items: [{ label: "Find vej", href: "#contact" }, { label: "Ring til os", href: "tel:+4575820000" }] },
{ title: "Kontakt", items: [{ label: "Find vej", href: "#contact" }, { label: "Ring til os", onClick: () => window.location.href = "tel:+4575820000" }] },
{ title: "Social", items: [{ label: "Instagram", href: "#" }, { label: "Facebook", href: "#" }] },
]}
logoText="Onkel A"