import { useRouter } from "next/router"; import { useConfig } from "nextra-theme-docs"; import Logo from "./components/shared/Logo"; export default { head: function Head() { const { asPath, defaultLocale, locale } = useRouter(); const { frontMatter } = useConfig(); const url = `${process.env.NEXT_PUBLIC_WEBSITE_URL}/${asPath}`; return ( <> {(frontMatter.title || "Documentation") + " - SVR.JS"} ); }, editLink: { component: null }, feedback: { content: null }, logo: , project: { icon: ( ), link: "https://git.svrjs.org" }, footer: { component: null }, useNextSeoProps() { const { asPath } = useRouter(); if (asPath !== "/") { return { titleTemplate: "%s – SVR.JS" }; } }, primaryHue: 136, primarySaturation: 75 };