0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-11-10 20:38:00 +09:00
yude.jp/pages/house.js

23 lines
750 B
JavaScript
Raw Normal View History

2021-05-18 22:42:47 +09:00
import Layout from "./components/Layout"
import Navbar from "./components/Navbar"
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")
const house = t('house')
return (
<Layout title={house}>
<Navbar />
<p className="my-2 text-3xl">{house}</p>
<div className="mx-9">
<iframe className="w-full h-96" src="https://mackerel.io/embed/public/embed/4mVIU29WCRVZgHUxQPzWsfXo953uxiAegbjDb83hTQ7szesCunwdpVkBIzhnLc9i?period=1d" frameborder="0" scrolling="no"></iframe>
</div>
</Layout>
)
}