diff options
| author | shu <nvcsadjkojf@outlook.com> | 2026-09-07 15:48:36 +0800 |
|---|---|---|
| committer | shu <nvcsadjkojf@outlook.com> | 2026-09-07 15:48:36 +0800 |
| commit | 481402e09fe760634b826b09e302e2e1bfec88b1 (patch) | |
| tree | 9b55025bfcd6acd2c5d795f057de27028b422603 /src/page-not-found.tsx | |
feat: initialize React Spectrum template with layouts and showcases
Diffstat (limited to 'src/page-not-found.tsx')
| -rw-r--r-- | src/page-not-found.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/page-not-found.tsx b/src/page-not-found.tsx new file mode 100644 index 0000000..793c5c4 --- /dev/null +++ b/src/page-not-found.tsx @@ -0,0 +1,14 @@ +import styles from './page.module.css' +import { Link } from 'react-router' + +function NotFound() { + return ( + <section className={styles.page}> + <h1>404</h1> + <p>Page not found.</p> + <Link to="/">Back to home</Link> + </section> + ) +} + +export default NotFound |
