feat: add basic webui

This commit is contained in:
2024-12-30 06:39:09 +08:00
parent 608a7fb9c6
commit a4c549e7c3
462 changed files with 35900 additions and 2491 deletions

15
packages/seo/json-ld.tsx Normal file
View 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';