webapp/src/routes/*404.tsx

16 lines
461 B
TypeScript
Raw Normal View History

2024-07-05 15:10:19 +00:00
import { HttpStatusCode } from '@solidjs/start'
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()
return (
<PageLayout isHeaderFixed={false} hideFooter={true} title={t('Nothing is here')}>
<FourOuFourView />
<HttpStatusCode code={404} />
</PageLayout>
)
}