Rebuild TextField and CalendarField

This commit is contained in:
Ben Grant 2023-05-21 21:34:06 +10:00
parent 1e77205518
commit 12004b8584
28 changed files with 783 additions and 845 deletions

View file

@ -1,4 +0,0 @@
.nav {
text-align: center;
margin: 20px 0;
}

View file

@ -1,8 +1,8 @@
import { Trans } from 'react-i18next/TransWithoutContext'
import Link from 'next/link'
import Button from '/src/components/Button/Button'
import Content from '/src/components/Content/Content'
import CreateForm from '/src/components/CreateForm/CreateForm'
import DownloadButtons from '/src/components/DownloadButtons/DownloadButtons'
import Footer from '/src/components/Footer/Footer'
import Header from '/src/components/Header/Header'
@ -13,8 +13,6 @@ import Stats from '/src/components/Stats/Stats'
import Video from '/src/components/Video/Video'
import { useTranslation } from '/src/i18n/server'
import styles from './home.module.scss'
const Page = async () => {
const { t } = await useTranslation('home')
@ -22,19 +20,12 @@ const Page = async () => {
<Content>
{/* @ts-expect-error Async Server Component */}
<Header isFull />
<nav className={styles.nav}>
<a href="#about">{t('nav.about')}</a>
{' / '}
<a href="#donate">{t('nav.donate')}</a>
</nav>
</Content>
<Recents />
<Content>
<span>Form here</span>
<Button>Create</Button>
<CreateForm />
</Content>
<Section id="about">