404 500
This commit is contained in:
@@ -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…</AlertDescription>
|
||||
<AlertDescription maxWidth="sm">Try going back or something …</AlertDescription>
|
||||
</Alert>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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 …</AlertDescription>
|
||||
</Alert>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user