This commit is contained in:
2026-07-10 13:27:29 +02:00
parent 5c48def4e1
commit 53bac4e2b4
35 changed files with 466 additions and 320 deletions

View File

@@ -21,6 +21,9 @@ interface SeoCategoryPageProps {
export default function SeoCategoryPage({ profile }: SeoCategoryPageProps) {
const locale = profile.locale ?? 'en'
const copy = seoTemplateCopy[locale]
const templateIntent = profile.templateIntent ?? 'identification'
const usesPhotoAnalysis = templateIntent === 'identification' || templateIntent === 'diagnosis'
const showsCareInsights = templateIntent === 'care' || templateIntent === 'watering'
const faqSchema = {
'@context': 'https://schema.org',
@@ -88,7 +91,7 @@ export default function SeoCategoryPage({ profile }: SeoCategoryPageProps) {
dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbSchema) }}
/>
<SeoNavbar locale={locale} />
<SeoNavbar locale={locale} methodologyHref={usesPhotoAnalysis ? '#methodology' : '#comparison'} />
<main className="pt-[72px] relative overflow-hidden bg-[#fdfbf6]">
{/* Dekorative Farb-Blobs */}
@@ -98,17 +101,21 @@ export default function SeoCategoryPage({ profile }: SeoCategoryPageProps) {
<div className="absolute top-[40%] left-[15%] w-[40vw] h-[40vw] max-w-[500px] max-h-[500px] bg-[#e5f0cb] blur-[100px] rounded-full mix-blend-multiply opacity-70"></div>
</div>
<SeoHero profile={profile} copy={copy} />
<SeoAdvantage profile={profile} copy={copy} />
<SeoMethodology copy={copy} />
<SeoComparison profile={profile} copy={copy} />
<SeoHero
profile={profile}
copy={copy}
secondaryHref={usesPhotoAnalysis ? '#methodology' : '#comparison'}
/>
<SeoAdvantage profile={profile} copy={copy} showInsights={showsCareInsights} />
<SeoContentSections profile={profile} />
{usesPhotoAnalysis && <SeoMethodology copy={copy} intent={templateIntent} />}
<SeoComparison profile={profile} copy={copy} intent={templateIntent} />
<SeoBestFit profile={profile} copy={copy} />
<SeoFaq profile={profile} copy={copy} />
<SeoRelated profile={profile} copy={copy} />
</main>
<SeoFooter locale={locale} />
<SeoFooter locale={locale} showMethodology={usesPhotoAnalysis} />
</div>
)
}