|
| 1 | +import Link from "next/link"; |
| 2 | + |
| 3 | +export default function NotFound() { |
| 4 | + return ( |
| 5 | + <div |
| 6 | + style={{ |
| 7 | + display: "flex", |
| 8 | + flexDirection: "column", |
| 9 | + alignItems: "center", |
| 10 | + justifyContent: "center", |
| 11 | + minHeight: "100vh", |
| 12 | + fontFamily: "'Nunito', system-ui, sans-serif", |
| 13 | + background: "var(--bg, #fdf9f3)", |
| 14 | + color: "var(--text-primary, #2d3a30)", |
| 15 | + padding: "2rem", |
| 16 | + textAlign: "center", |
| 17 | + }} |
| 18 | + > |
| 19 | + <div style={{ fontSize: "4rem", marginBottom: "1rem" }}>🧩</div> |
| 20 | + <h1 |
| 21 | + style={{ |
| 22 | + fontFamily: "'Fredoka', sans-serif", |
| 23 | + fontSize: "1.8rem", |
| 24 | + fontWeight: 600, |
| 25 | + marginBottom: "0.5rem", |
| 26 | + }} |
| 27 | + > |
| 28 | + Page not found |
| 29 | + </h1> |
| 30 | + <p |
| 31 | + style={{ |
| 32 | + color: "var(--text-secondary, #5a7060)", |
| 33 | + marginBottom: "2rem", |
| 34 | + maxWidth: "400px", |
| 35 | + lineHeight: 1.6, |
| 36 | + }} |
| 37 | + > |
| 38 | + The page you're looking for doesn't exist or has been moved. |
| 39 | + </p> |
| 40 | + <div style={{ display: "flex", gap: "12px", flexWrap: "wrap", justifyContent: "center" }}> |
| 41 | + <Link |
| 42 | + href="/" |
| 43 | + style={{ |
| 44 | + padding: "12px 28px", |
| 45 | + background: "var(--sage-500, #4d8058)", |
| 46 | + color: "white", |
| 47 | + borderRadius: "12px", |
| 48 | + fontSize: "1rem", |
| 49 | + fontWeight: 600, |
| 50 | + textDecoration: "none", |
| 51 | + }} |
| 52 | + > |
| 53 | + Go Home |
| 54 | + </Link> |
| 55 | + <Link |
| 56 | + href="/kid-dashboard" |
| 57 | + style={{ |
| 58 | + padding: "12px 28px", |
| 59 | + background: "var(--card, #ffffff)", |
| 60 | + color: "var(--text-primary, #2d3a30)", |
| 61 | + border: "2px solid var(--border, #e3ede6)", |
| 62 | + borderRadius: "12px", |
| 63 | + fontSize: "1rem", |
| 64 | + fontWeight: 600, |
| 65 | + textDecoration: "none", |
| 66 | + }} |
| 67 | + > |
| 68 | + Dashboard |
| 69 | + </Link> |
| 70 | + </div> |
| 71 | + </div> |
| 72 | + ); |
| 73 | +} |
0 commit comments