Compare commits

..

4 commits

Author SHA1 Message Date
8ec4c95984
Make copy text monospace 2024-09-23 19:16:08 +00:00
a7d55d94a4
Cleanup README.md 2024-09-23 19:05:41 +00:00
d25edc1cb8
Better loading (and some other misc cleanup) 2024-09-23 18:59:55 +00:00
aa12b94a01
Better error pages 2024-09-23 18:23:19 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ const faces = [
"(╥﹏╥)", "(╥﹏╥)",
] ]
export default function Error({ children }: { children: React.ReactNode }) { export default function Error({ children }: { children }) {
return <div className={style.error}> return <div className={style.error}>
<p className={style.message}>{children}</p> <p className={style.message}>{children}</p>
<p className={style.sad}>{faces[Math.floor(Math.random() * faces.length)]}</p> <p className={style.sad}>{faces[Math.floor(Math.random() * faces.length)]}</p>

View file

@ -1,6 +1,6 @@
import Error from './error' import Error from './error'
export default function NetworkError({ err }: { err: string }) { export default function NetworkError({ err }: { err: string }) {
console.error(err); console.err(err);
return <Error>Network Error</Error>; return <Error>Network Error</Error>;
} }