refactor: streamline homepage, remove FamilyGuardPromo and duplicate TaglineBanners
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3b703a0cbb
commit
f1f1139cb5
18
app/page.tsx
18
app/page.tsx
|
|
@ -1,7 +1,6 @@
|
||||||
import { createServiceClient } from "@/lib/supabase";
|
import { createServiceClient } from "@/lib/supabase";
|
||||||
import Header from "@/components/Header";
|
import Header from "@/components/Header";
|
||||||
import Hero from "@/components/Hero";
|
import Hero from "@/components/Hero";
|
||||||
import FamilyGuardPromo from "@/components/FamilyGuardPromo";
|
|
||||||
import TaglineBanner from "@/components/TaglineBanner";
|
import TaglineBanner from "@/components/TaglineBanner";
|
||||||
import StatsBar from "@/components/StatsBar";
|
import StatsBar from "@/components/StatsBar";
|
||||||
import Services from "@/components/Services";
|
import Services from "@/components/Services";
|
||||||
|
|
@ -78,14 +77,11 @@ export default async function Home() {
|
||||||
bgImagePath={hero?.bg_image_path}
|
bgImagePath={hero?.bg_image_path}
|
||||||
badges={badges.length > 0 ? badges.map((b) => b.text) : undefined}
|
badges={badges.length > 0 ? badges.map((b) => b.text) : undefined}
|
||||||
/>
|
/>
|
||||||
<FamilyGuardPromo />
|
|
||||||
<TaglineBanner />
|
|
||||||
<StatsBar />
|
<StatsBar />
|
||||||
<Services />
|
<Services />
|
||||||
<TaglineBanner />
|
<TaglineBanner />
|
||||||
<PaperlessSection />
|
<PaperlessSection />
|
||||||
<DataSovereignty />
|
<DataSovereignty />
|
||||||
<TaglineBanner />
|
|
||||||
<Technologies />
|
<Technologies />
|
||||||
<About
|
<About
|
||||||
eyebrowText={ueberUns?.eyebrow_text}
|
eyebrowText={ueberUns?.eyebrow_text}
|
||||||
|
|
@ -94,16 +90,12 @@ export default async function Home() {
|
||||||
stats={stats.length > 0 ? stats : undefined}
|
stats={stats.length > 0 ? stats : undefined}
|
||||||
/>
|
/>
|
||||||
{galerieBilder.length > 0 && (
|
{galerieBilder.length > 0 && (
|
||||||
<>
|
<section className="py-16 px-4 sm:px-6 lg:px-8">
|
||||||
<TaglineBanner />
|
<div className="max-w-7xl mx-auto">
|
||||||
<section className="py-16 px-4 sm:px-6 lg:px-8">
|
<GalerieAnzeige bilder={galerieBilder} />
|
||||||
<div className="max-w-7xl mx-auto">
|
</div>
|
||||||
<GalerieAnzeige bilder={galerieBilder} />
|
</section>
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
<TaglineBanner />
|
|
||||||
<Contact
|
<Contact
|
||||||
telefon={kontakt?.telefon}
|
telefon={kontakt?.telefon}
|
||||||
email={kontakt?.email}
|
email={kontakt?.email}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue