1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 09:58:13 +09:00

dev: initial attempt

This commit is contained in:
2022-06-07 13:30:48 +09:00
parent 09f2755410
commit 4ff733e148
63 changed files with 1239 additions and 8090 deletions

26
pages/index.tsx Normal file
View File

@@ -0,0 +1,26 @@
import React from 'react';
import { Helmet } from 'react-helmet';
import { useTranslation } from 'react-i18next';
import Form from '../components/Form';
import Welcome from '../components/Welcome';
import { Content, Header } from '../src/theme';
export default function App() {
const { t } = useTranslation();
return (
<>
<Helmet>
<title>namae {t('title')}</title>
</Helmet>
<Header>
<Form useSuggestion={false} />
</Header>
<Content>
<Welcome />
</Content>
</>
);
}