import { useRouter } from 'next/router' import { useConfig } from 'nextra-theme-docs' export default { color: { hue: { dark: 336, light: 164 }, saturation: { dark: 72, light: 49 }, lightness: { dark: 59, light: 35 } }, footer: { content: ( MIT {new Date().getFullYear()} ©{' '} Trance-0 . ) }, head() { const { asPath, defaultLocale, locale } = useRouter() const { frontMatter } = useConfig() const url = 'https://notenextra.trance-0.com' + (defaultLocale === locale ? asPath : `/${locale}${asPath}`) return ( <> {frontMatter.title || 'NoteNextra'} ) }, logo: ( <> NoteNextra ), readMore: 'Read More →', postFooter: null, darkMode: false, navs: [ { url: 'https://github.com/Trance-0/NoteNextra', name: 'Source' } ], darkMode: true, themeSwitch: { useOptions() { return { light: 'Light', dark: 'Dark', system: 'System' } } }, docsRepositoryBase: 'https://github.com/Trance-0/NoteNextra/tree/main' }