docs: update favico & add json-ld (#4477)

This commit is contained in:
Kamil Moskała
2025-03-19 10:57:41 +01:00
committed by GitHub
parent ede502bf74
commit 4458627051
6 changed files with 74 additions and 1 deletions

56
docs/json-ld.json Normal file
View File

@@ -0,0 +1,56 @@
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "TheWidlarzGroup Docs",
"url": "https://docs.thewidlarzgroup.com/react-native-video/",
"publisher": {
"@type": "Organization",
"name": "TheWidlarzGroup",
"url": "https://thewidlarzgroup.com",
"logo": {
"@type": "ImageObject",
"url": "https://docs.thewidlarzgroup.com/react-native-video/favicon.ico"
}
},
"mainEntity": {
"@type": "TechArticle",
"headline": "React Native Video Documentation",
"description": "Official documentation for React Native Video component by TheWidlarzGroup",
"hasPart": [
{
"@type": "TechArticle",
"headline": "Installation Guide",
"description": "Installation instructions for your platform to link react-native-video into your project.",
"url": "https://docs.thewidlarzgroup.com/react-native-video/installation"
},
{
"@type": "TechArticle",
"headline": "Properties",
"description": "This page shows the list of available properties to configure the player.",
"url": "https://docs.thewidlarzgroup.com/react-native-video/component/props"
},
{
"@type": "TechArticle",
"headline": "DRM Implementation",
"description": "We provide a sample implementation in the example app demonstrating how to use DRM with react-native-video.",
"url": "https://docs.thewidlarzgroup.com/react-native-video/component/drm"
},
{
"@type": "TechArticle",
"headline": "Downloading",
"description": "The Offline Video SDK extends react-native-video (v6 or v7) with the ability to download and store video content for offline playback.",
"url": "https://docs.thewidlarzgroup.com/react-native-video/other/downloading"
}
]
},
"offers": {
"@type": "Offer",
"name": "Enterprise Support",
"description": "Expert support to extend or implement React Native Video capabilities",
"url": "https://www.thewidlarzgroup.com/?utm_source=rnv&utm_medium=google#Contact",
"seller": {
"@type": "Organization",
"name": "TheWidlarzGroup"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
docs/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,5 +1,6 @@
import React from 'react'; import React from 'react';
import TWGBadge from './components/TWGBadge/TWGBadge'; import TWGBadge from './components/TWGBadge/TWGBadge';
import jsonLd from './json-ld.json';
export default { export default {
head: ( head: (
@@ -27,10 +28,26 @@ export default {
content="https://docs.thewidlarzgroup.com/react-native-video/thumbnail.jpg" content="https://docs.thewidlarzgroup.com/react-native-video/thumbnail.jpg"
/> />
<meta name="twitter:image:alt" content="React Native Video" /> <meta name="twitter:image:alt" content="React Native Video" />
<link
rel="icon"
type="image/x-icon"
href="https://docs.thewidlarzgroup.com/react-native-video/favicon.ico"
/>
<link <link
rel="icon" rel="icon"
type="image/png" type="image/png"
href="https://docs.thewidlarzgroup.com/react-native-video/favicon.png" sizes="32x32"
href="https://docs.thewidlarzgroup.com/react-native-video/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="https://docs.thewidlarzgroup.com/react-native-video/favicon-16x16.png"
/>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}}
/> />
</> </>
), ),