Optimise month field
This commit is contained in:
parent
028d63992c
commit
25d029ba57
6 changed files with 35 additions and 30 deletions
|
|
@ -4,13 +4,11 @@ import Header from '/src/components/Header/Header'
|
|||
|
||||
const Layout = async ({ children }: { children: React.ReactNode }) => <>
|
||||
<Content>
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Header />
|
||||
</Content>
|
||||
|
||||
{children}
|
||||
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Footer />
|
||||
</>
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ export const metadata: Metadata = {
|
|||
*/
|
||||
const Page = async () => <>
|
||||
<Content isSlim>
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Header isFull isSmall />
|
||||
</Content>
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ const Page = async () => {
|
|||
|
||||
return <>
|
||||
<Content>
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Header />
|
||||
|
||||
<h1>{t('help:name')}</h1>
|
||||
|
|
@ -82,7 +81,6 @@ const Page = async () => {
|
|||
</Content>
|
||||
</Section>
|
||||
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Footer />
|
||||
</>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ const Page = async () => {
|
|||
|
||||
return <>
|
||||
<Content>
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Header isFull />
|
||||
</Content>
|
||||
|
||||
|
|
@ -32,7 +31,6 @@ const Page = async () => {
|
|||
<Content>
|
||||
<h2>{t('about.name')}</h2>
|
||||
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Stats />
|
||||
|
||||
<P><Trans i18nKey="about.content.p1" t={t} i18n={i18n}>_<br /><Link href="/how-to" rel="help">_</Link>_</Trans></P>
|
||||
|
|
@ -48,7 +46,6 @@ const Page = async () => {
|
|||
</Content>
|
||||
</Section>
|
||||
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Footer />
|
||||
</>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ const Page = async () => {
|
|||
|
||||
return <>
|
||||
<Content>
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Header />
|
||||
|
||||
<h1>{t('privacy:name')}</h1>
|
||||
|
|
@ -86,7 +85,6 @@ const Page = async () => {
|
|||
</Content>
|
||||
</Section>
|
||||
|
||||
{/* @ts-expect-error Async Server Component */}
|
||||
<Footer />
|
||||
</>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue