an appview-less Bluesky client using Constellation and PDS Queries reddwarf.app
frontend spa bluesky reddwarf microcosm
1import { createFileRoute } from "@tanstack/react-router"; 2 3import { Header } from "~/components/Header"; 4import Login from "~/components/Login"; 5 6export const Route = createFileRoute("/settings")({ 7 component: Settings, 8}); 9 10export function Settings() { 11 return ( 12 <> 13 <Header 14 title="Settings" 15 backButtonCallback={() => { 16 if (window.history.length > 1) { 17 window.history.back(); 18 } else { 19 window.location.assign("/"); 20 } 21 }} 22 /> 23 <Login /> 24 </> 25 ); 26}