feat: implement programmatic SEO solutions hub
- 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
This commit is contained in:
16
src/components/programmatic-seo/FAQSchema.tsx
Normal file
16
src/components/programmatic-seo/FAQSchema.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
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) }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user