404 page
This commit is contained in:
@@ -1,13 +1,22 @@
|
|||||||
---
|
---
|
||||||
import { useTranslations } from '@/i18n/utils'
|
import { useTranslations } from '@/i18n/utils'
|
||||||
import BaseLayout from '@/layouts/BaseLayout.astro'
|
import BaseLayout from '@/layouts/BaseLayout.astro'
|
||||||
|
import Header from '@/components/header/Header.astro'
|
||||||
|
import Section from '@/components/Section.astro'
|
||||||
|
|
||||||
const { lang } = Astro.params
|
const { lang } = Astro.params
|
||||||
const t = useTranslations(lang)
|
const t = useTranslations(lang)
|
||||||
---
|
---
|
||||||
|
|
||||||
<BaseLayout title="Страница не нейдена">
|
<BaseLayout title={t('404.title')}>
|
||||||
<div class="flex h-full w-full items-center justify-center">
|
<Header lang={lang} />
|
||||||
<h1>{t('404.title')}</h1>
|
<Section>
|
||||||
|
<div class="flex h-full w-full flex-col items-center justify-center gap-6 text-center">
|
||||||
|
<h1 class="text-6xl font-bold text-brand">404</h1>
|
||||||
|
<h2 class="text-4xl font-bold">{t('404.title')}</h2>
|
||||||
|
<a href="/" class="brand-btn">
|
||||||
|
На главную
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</Section>
|
||||||
</BaseLayout>
|
</BaseLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user