From 1a646282a0e3e988b2ab8f07ff98ea4c6ae29fa9 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Fri, 23 Jan 2026 12:09:23 +0100 Subject: [PATCH] json --- app/[locale]/blog/[slug]/page.tsx | 72 ++++++++++++++++-------- app/[locale]/contact/page.tsx | 42 ++++++++++++++ app/[locale]/layout.tsx | 1 + app/[locale]/page.tsx | 16 ++---- app/[locale]/products/[...slug]/page.tsx | 13 +++++ app/[locale]/team/page.tsx | 41 ++++++++++++++ components/JsonLd.tsx | 16 ++++++ lib/schema.ts | 33 +++++++++++ 8 files changed, 200 insertions(+), 34 deletions(-) create mode 100644 components/JsonLd.tsx create mode 100644 lib/schema.ts diff --git a/app/[locale]/blog/[slug]/page.tsx b/app/[locale]/blog/[slug]/page.tsx index a9246a60..e22b3676 100644 --- a/app/[locale]/blog/[slug]/page.tsx +++ b/app/[locale]/blog/[slug]/page.tsx @@ -1,6 +1,7 @@ import { notFound } from 'next/navigation'; import Script from 'next/script'; import JsonLd from '@/components/JsonLd'; +import { getBreadcrumbSchema, SITE_URL, LOGO_URL } from '@/lib/schema'; import { MDXRemote } from 'next-mdx-remote/rsc'; import { getPostBySlug, getAdjacentPosts, getReadingTime, getHeadings } from '@/lib/blog'; import { Metadata } from 'next'; @@ -322,31 +323,58 @@ export default async function BlogPost({ params: { locale, slug } }: BlogPostPro {/* Structured Data */} -