an appview-less Bluesky client using Constellation and PDS Queries
reddwarf.app
frontend
spa
bluesky
reddwarf
microcosm
1import { Link } from "@tanstack/react-router";
2
3export function NotFound({ children }: { children?: any }) {
4 return (
5 <div className="space-y-2 p-2">
6 <div className="text-gray-600 dark:text-gray-400">
7 {children || <p>The page you are looking for does not exist.</p>}
8 </div>
9 <p className="flex items-center gap-2 flex-wrap">
10 <button
11 onClick={() => window.history.back()}
12 className="bg-emerald-500 text-white px-2 py-1 rounded uppercase font-black text-sm"
13 >
14 Go back
15 </button>
16 <Link
17 to="/"
18 className="bg-cyan-600 text-white px-2 py-1 rounded uppercase font-black text-sm"
19 >
20 Start Over
21 </Link>
22 </p>
23 </div>
24 );
25}