2021-09-24 09:15:03 +09:00
|
|
|
// Base layout
|
|
|
|
import Layout from "../../components/Layout"
|
|
|
|
|
|
|
|
// i18n
|
|
|
|
import useTranslation from 'next-translate/useTranslation'
|
|
|
|
|
|
|
|
// React
|
|
|
|
import { useRouter } from 'next/router'
|
|
|
|
|
|
|
|
// Data fetching
|
2021-09-24 10:08:30 +09:00
|
|
|
import Players from '../../components/Minecraft/Players'
|
2021-09-24 09:15:03 +09:00
|
|
|
|
2021-09-24 10:08:30 +09:00
|
|
|
export default function UUID() {
|
2021-09-24 09:15:03 +09:00
|
|
|
const router = useRouter()
|
|
|
|
const { locale, locales, defaultLocale, pathname } = router
|
|
|
|
const { t, lang } = useTranslation("index")
|
|
|
|
const { uuid } = router.query
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Layout title={t('home')}>
|
2021-09-24 10:08:30 +09:00
|
|
|
<Players uuid={uuid} />
|
2021-09-24 09:15:03 +09:00
|
|
|
</Layout>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|