feat: add basic webui
This commit is contained in:
15
packages/seo/json-ld.tsx
Normal file
15
packages/seo/json-ld.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { Thing, WithContext } from 'schema-dts';
|
||||
|
||||
type JsonLdProps = {
|
||||
code: WithContext<Thing>;
|
||||
};
|
||||
|
||||
export const JsonLd = ({ code }: JsonLdProps) => (
|
||||
<script
|
||||
type="application/ld+json"
|
||||
// biome-ignore lint/security/noDangerouslySetInnerHtml: "This is a JSON-LD script, not user-generated content."
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(code) }}
|
||||
/>
|
||||
);
|
||||
|
||||
export * from 'schema-dts';
|
||||
Reference in New Issue
Block a user