feat: complete visual redesign with Outfit & Plus Jakarta Sans fonts, visual use-cases, transformation reel, and enhanced SEO
This commit is contained in:
@@ -30,8 +30,42 @@ export default function HomePage() {
|
||||
locale: 'en',
|
||||
};
|
||||
|
||||
// Structured Data (JSON-LD) for WebSite and FAQPage (PRD §10 SEO-07)
|
||||
const faqSection = page.sections.find((s) => s.type === 'faq');
|
||||
const faqItems = faqSection?.props?.items || [];
|
||||
|
||||
const jsonLdData = [
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebSite',
|
||||
name: 'CRE Innovations',
|
||||
url: 'http://localhost:3000',
|
||||
potentialAction: {
|
||||
'@type': 'SearchAction',
|
||||
target: 'http://localhost:3000/tools?q={search_term_string}',
|
||||
'query-input': 'required name=search_term_string',
|
||||
},
|
||||
},
|
||||
{
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'FAQPage',
|
||||
mainEntity: faqItems.map((item: any) => ({
|
||||
'@type': 'Question',
|
||||
name: item.q,
|
||||
acceptedAnswer: {
|
||||
'@type': 'Answer',
|
||||
text: item.a,
|
||||
},
|
||||
})),
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
<div>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLdData) }}
|
||||
/>
|
||||
{page.sections.map((section) => (
|
||||
<SectionRenderer key={section.id} section={section} context={context} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user