import Link from 'next/link' import { useRouter } from 'next/router' export default function Page(props) { const router = useRouter() return ( <>

frank page

{JSON.stringify(props)}

{router.locale}

{router.defaultLocale}

{JSON.stringify(router.locales)}

{JSON.stringify(router.query)}

{router.pathname}

{router.asPath}

to /another
to /gsp
to /gsp/fallback/first
to /gsp/fallback/hello
to /gsp/no-fallback/first
to /gssp
to /gssp/first
) } export const getStaticProps = ({ locale, locales, defaultLocale }) => { return { props: { locale, locales, defaultLocale, }, } }