2020-08-20 00:57:33 +09:00
|
|
|
import React from 'react'
|
|
|
|
import { Helmet } from 'react-helmet'
|
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
import { Content, Header } from '../theme'
|
|
|
|
import Form from '../components/Form'
|
|
|
|
import Welcome from '../components/Welcome'
|
2020-07-30 13:47:28 +09:00
|
|
|
export default function Home() {
|
2020-08-20 00:57:33 +09:00
|
|
|
const { t } = useTranslation()
|
2020-07-30 13:47:28 +09:00
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Helmet>
|
|
|
|
<title>namae — {t('title')}</title>
|
|
|
|
</Helmet>
|
|
|
|
|
|
|
|
<Header>
|
|
|
|
<Form />
|
|
|
|
</Header>
|
|
|
|
|
|
|
|
<Content>
|
|
|
|
<Welcome />
|
|
|
|
</Content>
|
|
|
|
</>
|
2020-08-20 00:57:33 +09:00
|
|
|
)
|
2020-07-30 13:47:28 +09:00
|
|
|
}
|