This commit is contained in:
2023-07-09 21:43:12 +04:00
parent feec2dd87e
commit 3ae88e6354
2 changed files with 13 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ export default function Custom404() {
<AlertTitle mt={4} mb={1} fontSize="lg">
404: Page Not Found
</AlertTitle>
<AlertDescription maxWidth="sm">Try going back or something&hellip;</AlertDescription>
<AlertDescription maxWidth="sm">Try going back or something &hellip;</AlertDescription>
</Alert>
)
}

View File

@@ -1,3 +1,14 @@
import { Alert, AlertDescription, AlertTitle } from '@chakra-ui/react'
import { TbMoodSad } from 'react-icons/tb'
export default function Custom500() {
return <h1>500 - Server-side error occurred</h1>
return (
<Alert status="info" flexDirection="column" justifyContent="center" rounded="md" paddingY="10">
<TbMoodSad style={{ width: '2rem', height: '2rem' }} />
<AlertTitle mt={4} mb={1} fontSize="lg">
500: Server-side error occurred
</AlertTitle>
<AlertDescription maxWidth="sm">Something happened that was totally unexpected &hellip;</AlertDescription>
</Alert>
)
}