2020-08-31 08:41:53 +09:00
|
|
|
import React from 'react';
|
|
|
|
import { Helmet } from 'react-helmet';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import Form from '../components/Form';
|
|
|
|
import Welcome from '../components/Welcome';
|
2022-06-07 13:30:48 +09:00
|
|
|
import { Content, Header } from '../src/theme';
|
2020-09-05 04:42:28 +09:00
|
|
|
|
2022-06-07 13:30:48 +09:00
|
|
|
export default function App() {
|
2020-08-31 08:41:53 +09:00
|
|
|
const { t } = useTranslation();
|
2020-07-30 13:47:28 +09:00
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Helmet>
|
|
|
|
<title>namae — {t('title')}</title>
|
|
|
|
</Helmet>
|
|
|
|
|
|
|
|
<Header>
|
2022-04-21 15:42:58 +09:00
|
|
|
<Form useSuggestion={false} />
|
2020-07-30 13:47:28 +09:00
|
|
|
</Header>
|
|
|
|
|
|
|
|
<Content>
|
|
|
|
<Welcome />
|
|
|
|
</Content>
|
|
|
|
</>
|
2020-08-31 08:41:53 +09:00
|
|
|
);
|
2020-07-30 13:47:28 +09:00
|
|
|
}
|