- Add /solutions hub page with 10 category cards - Add /solutions/by-concern directory page - Add /solutions/by-oil directory page - Add Solutions section to Footer with navigation links - Add Breadcrumb component for solution pages - Add translations for all solution pages (sr, en, de, fr) - Fix ExitIntentDetector JSON parsing error - Update sitemap with solution pages - Create 3 sample solution pages with data files
17 lines
408 B
TypeScript
17 lines
408 B
TypeScript
import { generateFAQPageSchema } from "@/lib/programmatic-seo/schema";
|
|
|
|
interface FAQSchemaProps {
|
|
questions: Array<{ question: string; answer: string }>;
|
|
}
|
|
|
|
export function FAQSchema({ questions }: FAQSchemaProps) {
|
|
const schema = generateFAQPageSchema(questions);
|
|
|
|
return (
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }}
|
|
/>
|
|
);
|
|
}
|