react-native-video/docs/theme.config.jsx

117 lines
3.3 KiB
React
Raw Permalink Normal View History

import React from 'react';
export default {
head: (
<>
<meta name="language" content="en" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="description" content="Video component for React Native" />
<meta name="og:title" content="React Native Video" />
<meta
name="og:description"
content="A Video component for React Native"
/>
2024-01-05 06:46:10 -07:00
<meta
name="og:image"
2024-07-11 14:52:10 -06:00
content="https://thewidlarzgroup.github.io/react-native-video/thumbnail.jpg"
2024-01-05 06:46:10 -07:00
/>
2024-01-05 07:14:25 -07:00
<meta name="twitter:card" content="summary_large_image" />
2024-01-05 07:51:13 -07:00
<meta name="twitter:title" content="React Native Video" />
2024-01-05 07:14:25 -07:00
<meta
name="twitter:description"
content="A Video component for React Native"
/>
2024-01-05 06:46:10 -07:00
<meta
name="twitter:image"
2024-07-11 14:52:10 -06:00
content="https://thewidlarzgroup.github.io/react-native-video/thumbnail.jpg"
2024-01-05 06:46:10 -07:00
/>
<meta name="twitter:image:alt" content="React Native Video" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin />
<link
href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap"
rel="stylesheet"
/>
</>
),
logo: (
<span>
🎬 <strong>Video component</strong> for React Native
</span>
),
faviconGlyph: '🎬',
project: {
2024-05-07 09:25:09 -06:00
link: 'https://github.com/TheWidlarzGroup/react-native-video',
},
docsRepositoryBase:
2024-05-07 09:25:09 -06:00
'https://github.com/TheWidlarzGroup/react-native-video/tree/master/docs/',
footer: {
text: (
<span>
2024-07-11 14:52:10 -06:00
Built with by <strong>React Native Community</strong>
</span>
),
},
toc: {
extraContent: (
<>
<style>{`
:is(html[class~=dark]) .extra-container {
background-color: #87ccef;
}
:is(html[class~=dark]) .extra-text {
color: #171717;
}
:is(html[class~=dark]) .extra-button {
background-color: #171717;
}
.extra-container {
display: flex;
flex-direction: column;
margin-top: 0.5rem;
text-align: center;
background-color: #171717;
padding: 1rem;
gap: 1rem;
border-radius: 0.5rem;
}
.extra-text {
padding-left: 0.5rem;
padding-right: 0.5rem;
font-weight: bold;
color: #fff;
}
.extra-button {
width: 100%;
border: none;
padding: 0.5rem 1rem;
font-weight: 500;
background-color: #f9d85b;
transition: transform 0.3s ease, background-color 0.3s ease;
}
.extra-button:hover {
transform: scale(1.05);
background-color: #fff;
}
`}</style>
<div className="extra-container">
<span className="extra-text">We are TheWidlarzGroup</span>
<a
target="_blank"
href="https://www.thewidlarzgroup.com/?utm_source=rnv&utm_medium=docs#Contact"
className="extra-button"
rel="noreferrer">
Premium support
</a>
</div>
</>
),
},
useNextSeoProps() {
return {
titleTemplate: '%s Video',
};
},
};