Update public feature details and align SEO metadata
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { headers } from "next/headers";
|
||||
import { serializeStructuredData } from "@/lib/marketing/seo";
|
||||
|
||||
export async function StructuredData({ data }: { data: unknown }) {
|
||||
const nonce = (await headers()).get("x-nonce") ?? undefined;
|
||||
return (
|
||||
<script
|
||||
type="application/ld+json"
|
||||
nonce={nonce}
|
||||
dangerouslySetInnerHTML={{ __html: serializeStructuredData(data) }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user