| 1 | 'use client' |
| 2 | |
| 3 | import Link from 'next/link' |
| 4 | |
| 5 | export default function NotFound() { |
| 6 | return ( |
| 7 | <div |
| 8 | style={{ |
| 9 | display: 'flex', |
| 10 | justifyContent: 'center', |
| 11 | alignItems: 'center', |
| 12 | flexDirection: 'column', |
| 13 | minHeight: '100vh', |
| 14 | background: 'var(--background-color)', |
| 15 | color: 'var(--text-color)', |
| 16 | }} |
| 17 | > |
| 18 | <span style={{ fontSize: '60px', color: 'var(--theColor5)' }}>404</span> |
| 19 | <Link |
| 20 | href="/" |
| 21 | style={{ |
| 22 | marginTop: '20px', |
| 23 | color: 'var(--theColor5)', |
| 24 | textDecoration: 'none', |
| 25 | padding: '8px 16px', |
| 26 | border: '1px solid var(--theColor5)', |
| 27 | borderRadius: '8px', |
| 28 | transition: 'all 0.3s', |
| 29 | }} |
| 30 | onMouseOver={(e) => { |
| 31 | e.currentTarget.style.background = 'var(--theColor5)' |
| 32 | e.currentTarget.style.color = 'white' |
| 33 | }} |
| 34 | onMouseOut={(e) => { |
| 35 | e.currentTarget.style.background = 'transparent' |
| 36 | e.currentTarget.style.color = 'var(--theColor5)' |
| 37 | }} |
| 38 | > |
| 39 | Back to Home |
| 40 | </Link> |
| 41 | </div> |
| 42 | ) |
| 43 | } |
| 44 |