an appview-less Bluesky client using Constellation and PDS Queries reddwarf.app
frontend spa bluesky reddwarf microcosm

allow mobile users to log out

rimar1337 fb3fbe80 ff2894e7

Changed files
+18 -1
src
routes
+18 -1
src/routes/settings.tsx
··· 1 1 import { createFileRoute } from "@tanstack/react-router"; 2 2 3 + import { Header } from "~/components/Header"; 4 + import Login from "~/components/Login"; 5 + 3 6 export const Route = createFileRoute("/settings")({ 4 7 component: Settings, 5 8 }); 6 9 7 10 export function Settings() { 8 - return <div className="p-6">Settings page (coming soon)</div>; 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 + ); 9 26 }