mirror of
https://github.com/yude-jp/yude.jp
synced 2024-11-05 01:48:01 +09:00
18 lines
668 B
JavaScript
18 lines
668 B
JavaScript
import Layout from "./components/Layout"
|
|
import useTranslation from 'next-translate/useTranslation'
|
|
import { useRouter } from 'next/router'
|
|
|
|
export default function About(props) {
|
|
const router = useRouter()
|
|
const { locale, locales, defaultLocale, pathname } = router
|
|
const { t, lang } = useTranslation("house")
|
|
|
|
return (
|
|
<Layout title={t('house')}>
|
|
<div>
|
|
<p className="my-2 text-3xl text-center">{t('house')}</p>
|
|
<iframe className="w-full h-96" src="https://mackerel.io/embed/public/embed/4mVIU29WCRVZgHUxQPzWsfXo953uxiAegbjDb83hTQ7szesCunwdpVkBIzhnLc9i?period=1d" frameborder="0" scrolling="no"></iframe>
|
|
</div>
|
|
</Layout>
|
|
)
|
|
} |