-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1082 from The-Commit-Company/389-add-404-page-on-…
…web-app feat: 404 page
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Stack } from '@/components/layout/Stack' | ||
import { Button, Flex, Heading, Text } from '@radix-ui/themes' | ||
import { Link } from 'react-router-dom' | ||
|
||
type Props = {} | ||
|
||
const NotFoundPage = (props: Props) => { | ||
return ( | ||
<Flex className='h-screen w-screen bg-gray-2' align='center' justify='center'> | ||
<Stack gap='4'> | ||
<Heading as='h1' size='5' className='text-center not-cal'>Page not found.</Heading> | ||
<Text>You have ventured too far beyond the wall.</Text> | ||
|
||
<Button variant='ghost' size='3' asChild className='not-cal hover:bg-transparent hover:text-accent-12'> | ||
<Link to='/'>Go Back</Link> | ||
</Button> | ||
</Stack> | ||
</Flex> | ||
) | ||
} | ||
|
||
export const Component = NotFoundPage |