import Image from 'next/image'; import { useRouter } from 'next/router'; import { useConfig } from 'nextra-theme-docs'; export default { banner: { key: '1.0-release', text: ( 🎉 We have released v1. Read migration guide if needed! ), }, logo: ( <> next-international logo OpenPanel ), head: () => { const router = useRouter(); const config = useConfig(); const title = config.title; const description = 'An open-source alternative to Mixpanel'; const domain = 'https://docs.openpanel.dev'; const canonicalUrl = `${domain}${router.asPath === '/' ? '' : router.asPath}`.split('?')[0]; return ( <> ); }, useNextSeoProps() { return { titleTemplate: '%s - Openpanel Docs', }; }, search: { placeholder: 'Search', }, project: { link: 'https://github.com/openpanel-dev/openpanel', }, docsRepositoryBase: 'https://github.com/openpanel-dev/openpanel/blob/main/apps/docs', footer: { text: ( Made with ❤️ by{' '} Carl ), }, };