Compare commits

..

4 commits

Author SHA1 Message Date
6d17d0b954
Make copy text monospace 2024-09-23 19:19:23 +00:00
9b3f590bec
Cleanup README.md 2024-09-23 19:19:23 +00:00
3eb11d3aeb
Better loading (and some other misc cleanup) 2024-09-23 19:19:23 +00:00
bf6709e2fd
Better error pages 2024-09-23 19:19:23 +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 }) { export default function Error({ children }: { children: React.ReactNode }) {
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.err(err); console.error(err);
return <Error>Network Error</Error>; return <Error>Network Error</Error>;
} }