webapp/src/routes/*404.tsx

17 lines
537 B
TypeScript
Raw Normal View History

2024-07-05 15:10:19 +00:00
import { HttpStatusCode } from '@solidjs/start'
2024-07-07 13:48:53 +00:00
import { onMount } from 'solid-js'
2024-07-05 14:22:49 +00:00
import { FourOuFourView } from '../components/Views/FourOuFour'
import { PageLayout } from '../components/_shared/PageLayout'
import { useLocalize } from '../context/localize'
2024-07-05 17:23:07 +00:00
export default () => {
2024-07-05 14:22:49 +00:00
const { t } = useLocalize()
2024-07-07 13:48:53 +00:00
onMount(() => console.info('404 page'))
2024-07-05 14:22:49 +00:00
return (
<PageLayout isHeaderFixed={false} hideFooter={true} title={t('Nothing is here')}>
<FourOuFourView />
<HttpStatusCode code={404} />
</PageLayout>
)
}