Update src/app/page.tsx

This commit is contained in:
2026-03-03 13:08:43 +00:00
parent 5783003d5b
commit 5c20053a8d

View File

@@ -9,7 +9,6 @@ import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCar
import ContactCTA from "@/components/sections/contact/ContactCTA"; import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard"; import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import { Award, CheckCircle, Clock, Shield, MapPin, Zap, Users, MessageCircle } from "lucide-react"; import { Award, CheckCircle, Clock, Shield, MapPin, Zap, Users, MessageCircle } from "lucide-react";
import Link from "next/link";
export default function HomePage() { export default function HomePage() {
const navItems = [ const navItems = [
@@ -55,20 +54,6 @@ export default function HomePage() {
}, },
]; ];
const CustomNavbarWrapper = () => (
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={navItems.map((item) => ({
name: item.name,
id: item.id,
}))}
button={{
text: "Jetzt anfragen", href: "/kontakt"}}
brandName="KFZ Gutachter Berlin"
/>
</div>
);
return ( return (
<ThemeProvider <ThemeProvider
defaultButtonVariant="expand-hover" defaultButtonVariant="expand-hover"
@@ -82,7 +67,17 @@ export default function HomePage() {
secondaryButtonStyle="solid" secondaryButtonStyle="solid"
headingFontWeight="normal" headingFontWeight="normal"
> >
<CustomNavbarWrapper /> <div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={navItems.map((item) => ({
name: item.name,
id: item.id,
}))}
button={{
text: "Jetzt anfragen", href: "/kontakt"}}
brandName="KFZ Gutachter Berlin"
/>
</div>
<div id="hero" data-section="hero"> <div id="hero" data-section="hero">
<HeroSplitTestimonial <HeroSplitTestimonial
@@ -91,7 +86,7 @@ export default function HomePage() {
tag="Expertise seit 15 Jahren" tag="Expertise seit 15 Jahren"
tagIcon={Award} tagIcon={Award}
tagAnimation="slide-up" tagAnimation="slide-up"
background={{ variant: "plain" }} background={{ variant: "circleGradient" }}
imageSrc="http://img.b2bpic.net/free-photo/young-happy-couple-signing-documents-while-being-with-car-mechanic-repair-shop_637285-4257.jpg" imageSrc="http://img.b2bpic.net/free-photo/young-happy-couple-signing-documents-while-being-with-car-mechanic-repair-shop_637285-4257.jpg"
imageAlt="Professionelle KFZ Begutachtung in Berlin" imageAlt="Professionelle KFZ Begutachtung in Berlin"
imagePosition="right" imagePosition="right"