import { ThemeSwitch } from "nextra-theme-docs"; import { useRouter } from "next/router"; import { useConfig } from "nextra-theme-docs"; export default { docsRepositoryBase: "https://github.com/sergi0g/cup/tree/main/docs", useNextSeoProps() { const { asPath } = useRouter(); if (asPath !== "/") { return { titleTemplate: "Cup – %s", }; } else { return { titleTemplate: "%s" } } }, head: () => { const { asPath } = useRouter(); const { frontMatter } = useConfig(); const url = "https://sergi0g.github.io/cup/docs/" + `/${asPath}`; return ( <> ); }, logo: (

Cup

), logoLink: "/", project: { link: "https://github.com/sergi0g/cup/", }, navbar: { extraContent: , }, toc: { backToTop: true, }, footer: { text: null, }, navigation: false, }; function Logo() { return ( ); }