MiYoVerse/theme.config.tsx
2024-05-14 16:36:35 +09:00

33 lines
876 B
TypeScript

import React from 'react'
import { DocsThemeConfig, useTheme } from 'nextra-theme-docs'
const config: DocsThemeConfig = {
gitTimestamp: false,
useNextSeoProps: () => {
return { titleTemplate: `%s - MiYoVerse` };
},
logo: <span>MiYoVerse</span>,
project: {
link: 'https://git.serenetia.com/AmaneSerenetia/MiYoVerse',
},
docsRepositoryBase: 'https://git.serenetia.com/AmaneSerenetia/MiYoVerse',
footer: {
text: 'Copyright (c) MiYoVerse | 2024-present',
},
//primaryhUe: 100,
head: function useHead() {
const description =
"for searching information about certain anime game";
return (
<>
<meta httpEquiv='Content-Language' content='en' />
<meta name='description' content='{description}' />
<meta name='og:description' content='[description}' />
</>
);
},
}
export default config