ef.js

Declarative DOM helper experiment

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
/** @jsxImportSource ../jsx */
import { type Route } from "../route.js";

export const notFound: Route = {
  title: "Page not found",
  content() {
    return (
      <div>
        <h1>Page not found</h1>
        <p>The page you're looking for does not exist.</p>
      </div>
    );
  },
};