1 2 3 4 5 6 7 8 9 10 11 12 13 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