404-route
This commit is contained in:
parent
7c2d97053b
commit
7a499ae2e5
17
src/routes/*404.tsx
Normal file
17
src/routes/*404.tsx
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
import { HttpStatusCode } from "@solidjs/start"
|
||||||
|
import { FourOuFourView } from '../components/Views/FourOuFour'
|
||||||
|
import { PageLayout } from '../components/_shared/PageLayout'
|
||||||
|
import { useLocalize } from '../context/localize'
|
||||||
|
|
||||||
|
export const FourOuFourPage = () => {
|
||||||
|
const { t } = useLocalize()
|
||||||
|
|
||||||
|
return (
|
||||||
|
<PageLayout isHeaderFixed={false} hideFooter={true} title={t('Nothing is here')}>
|
||||||
|
<FourOuFourView />
|
||||||
|
<HttpStatusCode code={404} />
|
||||||
|
</PageLayout>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export const Page = FourOuFourPage
|
Loading…
Reference in New Issue
Block a user