edge-city
git clone https://git.pyrossh.dev/edge-city
edge-city is a next level meta-framework for react that runs only on edge runtimes
example/src/pages/_404/page.jsx
| e6b4ebe | 1 | import React from "react"; |
| e6b4ebe | 2 | import { Helmet } from "react-helmet-async"; |
| e284d5b | 3 | import "./page.css"; |
| e284d5b | 4 | |
| 0f7bd4a | 5 | export default function Page() { |
| e284d5b | 6 | return ( |
| 2292a7c | 7 | <div className="notfound-page"> |
| 2292a7c | 8 | <Helmet> |
| 2292a7c | 9 | <title>Page not found</title> |
| 2292a7c | 10 | </Helmet> |
| 2292a7c | 11 | <h1>404 - Page not found</h1> |
| 2292a7c | 12 | <div className="content"> |
| 2292a7c | 13 | <h2>This page could not be found</h2> |
| e284d5b | 14 | </div> |
| 2292a7c | 15 | </div> |
| e6b4ebe | 16 | ); |
| e6b4ebe | 17 | } |