feat(seo): JSON-LD for movies, series, persons, website
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cd34f4eb5f
commit
ce630cd029
4 files changed
+65
-13
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { FC } from 'react';
|
||||
|
||||
interface Props {
|
||||
data: Record<string, unknown>;
|
||||
}
|
||||
|
||||
const JsonLd: FC<Props> = ({ data }) => (
|
||||
<script
|
||||
type='application/ld+json'
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(data).replace(/</g, '\\u003c') }}
|
||||
/>
|
||||
);
|
||||
|
||||
export default JsonLd;
|
||||
Reference in new issue
Block a user