import { useRouter } from 'next/router' import Page_0 from './deno-vscode.en.md?nextra-raw' import Page_1 from './deno-vscode.es.md?nextra-raw'

export default function I18NPage (props) { const { locale } = useRouter() if (locale === 'en') { return <Page_0 {...props}/> } else if (locale === 'es') { return <Page_1 {...props}/> } else { return <Page_0 {...props}/> } }