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/_500/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="err-page"> |
| 2292a7c | 8 | <Helmet> |
| 2292a7c | 9 | <title>Oop's Something went wrong</title> |
| 2292a7c | 10 | </Helmet> |
| 2292a7c | 11 | <h1>Oop's Something went wrong</h1> |
| 2292a7c | 12 | <div className="content"> |
| 2292a7c | 13 | <h2>Internal Server Error</h2> |
| e284d5b | 14 | </div> |
| 2292a7c | 15 | </div> |
| e6b4ebe | 16 | ); |
| e6b4ebe | 17 | } |