import { openPage } from '@nanostores/router' import { clsx } from 'clsx' import { useLocalize } from '../../context/localize' import { router } from '../../stores/router' import { Icon } from '../_shared/Icon' import styles from '../../styles/FourOuFour.module.scss' export const FourOuFourView = (_props) => { let queryInput: HTMLInputElement const search = (_ev) => { openPage(router, 'search', { q: queryInput.value }) } const { t } = useLocalize() return (
{t('Error')}
404

{t(`You've reached a non-existed page`)}

{t('Try to find another way')}:

{t('Back to main page')}

) }