import { Button, displayFlex, styled } from '@affine/component'; import { useTranslation } from '@affine/i18n'; import Head from 'next/head'; import Image from 'next/legacy/image'; import { useRouter } from 'next/router'; import React from 'react'; export const StyledContainer = styled('div')(() => { return { ...displayFlex('center', 'center'), flexDirection: 'column', height: '100vh', img: { width: '360px', height: '270px', }, p: { fontSize: '22px', fontWeight: 600, margin: '24px 0', }, }; }); export const NotfoundPage = () => { const { t } = useTranslation(); const router = useRouter(); return ( 404

{t('404 - Page Not Found')}

); }; export default function Custom404() { return ( <> 404 - AFFiNE ); }