diff --git a/src/components/ui/NotFound.module.scss b/src/components/ui/NotFound.module.scss new file mode 100644 index 0000000..e3609ab --- /dev/null +++ b/src/components/ui/NotFound.module.scss @@ -0,0 +1,37 @@ +@use '../../styles/variables' as *; + +.wrapper { + display: flex; + flex-direction: column; + align-items: center; + gap: $space-1; + max-width: 640px; + margin: 0 auto; + padding: $space-5 $space-3; + text-align: center; +} + +.title { + margin: 0; + font-size: 1.1rem; + font-weight: 600; +} + +.text { + margin: 0 0 $space-3; + color: $color-text-muted; +} + +.cta { + padding: $space-2 $space-4; + border-radius: $radius; + background: $color-primary; + color: $color-primary-contrast; + font-weight: 600; + text-decoration: none; + transition: opacity 0.15s ease; + + &:hover { + opacity: 0.9; + } +} diff --git a/src/components/ui/NotFound.tsx b/src/components/ui/NotFound.tsx new file mode 100644 index 0000000..4ba9f26 --- /dev/null +++ b/src/components/ui/NotFound.tsx @@ -0,0 +1,15 @@ +import { Link } from '@tanstack/react-router' + +import styles from './NotFound.module.scss' + +export const NotFound = () => ( +
Page not found
++ The page you're looking for doesn't exist or may have moved. +
+ + Browse the menu + +