Fix next/link error after update

This commit is contained in:
2023-07-14 21:50:31 +04:00
parent edb6ee75fd
commit a812f31c3c
2 changed files with 18 additions and 22 deletions
+8 -10
View File
@@ -5,16 +5,14 @@ import Image from 'next/image'
export default function Custom500() {
return (
<Container maxWidth='sm'>
<Link href='/'>
<a>
<Image
alt='Logo OKI'
width={512}
height={512}
src='/logo-512x512.png'
quality={20}
/>
</a>
<Link passHref href='/'>
<Image
alt='Logo OKI'
width={512}
height={512}
src='/logo-512x512.png'
quality={20}
/>
</Link>
<Typography variant='h2' align='center' >500 - Erreur du serveur 🥺</Typography>
<Typography style={{marginTop: '1em', color: 'green'}} variant='h3' align='center'>Nous mettons tout en œuvre pour rétablir le site dans les plus brefs délais 💪🏾</Typography>