|
1 | 1 | import Link from 'next/link'; |
| 2 | +import styles from './not-found.module.css'; |
2 | 3 |
|
3 | 4 | export const metadata = { title: '404 | LockIn' }; |
4 | 5 |
|
5 | 6 | export default function NotFound() { |
6 | 7 | return ( |
7 | | - <div style={{ |
8 | | - minHeight: '100vh', |
9 | | - display: 'flex', |
10 | | - alignItems: 'center', |
11 | | - justifyContent: 'center', |
12 | | - background: 'var(--bg-primary)', |
13 | | - color: 'var(--text-primary)', |
14 | | - fontFamily: 'var(--font-sans)', |
15 | | - }}> |
16 | | - <div style={{ textAlign: 'center' }}> |
17 | | - <h1 style={{ |
18 | | - fontSize: 'var(--text-6xl)', |
19 | | - fontWeight: 'var(--font-extrabold)', |
20 | | - marginBottom: '16px', |
21 | | - background: 'var(--gradient-primary)', |
22 | | - WebkitBackgroundClip: 'text', |
23 | | - WebkitTextFillColor: 'transparent', |
24 | | - backgroundClip: 'text', |
25 | | - }}> |
26 | | - 404 |
27 | | - </h1> |
28 | | - <p style={{ |
29 | | - fontSize: 'var(--text-xl)', |
30 | | - color: 'var(--text-secondary)', |
31 | | - marginBottom: '32px', |
32 | | - }}> |
33 | | - This page could not be found. |
34 | | - </p> |
35 | | - <Link |
36 | | - href="/dashboard" |
37 | | - style={{ |
38 | | - display: 'inline-block', |
39 | | - padding: '12px 24px', |
40 | | - background: 'var(--gradient-primary)', |
41 | | - color: 'white', |
42 | | - borderRadius: 'var(--radius-full)', |
43 | | - fontWeight: 'var(--font-semibold)', |
44 | | - fontSize: 'var(--text-base)', |
45 | | - textDecoration: 'none', |
46 | | - boxShadow: 'var(--shadow-md)', |
47 | | - transition: 'transform 200ms, box-shadow 200ms', |
48 | | - }} |
49 | | - > |
50 | | - Back to Dashboard |
| 8 | + <div className={styles.container}> |
| 9 | + <div className={styles.content}> |
| 10 | + <h1 className={styles.heading}>404</h1> |
| 11 | + <p className={styles.message}>This page could not be found.</p> |
| 12 | + <Link href="/" className={styles.link}> |
| 13 | + Go home |
51 | 14 | </Link> |
52 | 15 | </div> |
53 | 16 | </div> |
|
0 commit comments