import { Button, Container, Group, Text, Title, createStyles, useMantineTheme, } from '@mantine/core'; import { GetServerSidePropsContext } from 'next'; import Link from 'next/link'; import React from 'react'; import { getServerSideTranslations } from '../tools/server/getServerSideTranslations'; const useStyles = createStyles((theme) => ({ root: { paddingTop: 80, paddingBottom: 80, }, inner: { position: 'relative', }, image: { position: 'absolute', top: 0, right: 0, left: 0, zIndex: 0, opacity: 0.75, }, content: { paddingTop: 220, position: 'relative', zIndex: 1, [theme.fn.smallerThan('sm')]: { paddingTop: 120, }, }, title: { fontFamily: `Greycliff CF, ${theme.fontFamily}`, textAlign: 'center', fontWeight: 900, fontSize: 38, [theme.fn.smallerThan('sm')]: { fontSize: 32, }, }, description: { maxWidth: 540, margin: 'auto', marginTop: theme.spacing.xl, marginBottom: `calc(${theme.spacing.xl} * 1.5)`, }, })); function Illustration(props: React.ComponentPropsWithoutRef<'svg'>) { const theme = useMantineTheme(); return ( ); } export default function Custom404() { const { classes } = useStyles(); return (
Config not found The config you are trying to access does not exist. Please check the URL and try again.
); } export async function getStaticProps({ req, res, locale }: GetServerSidePropsContext) { const translations = await getServerSideTranslations(['common'], locale, undefined, undefined); return { props: { ...translations, }, }; }