import { Navigate, Route, Routes } from 'react-router' import { RequireAuth, RequireGuest } from './auth/guards' import AppLayout from './components/layout/AppLayout' import Button from './components/ui/Button' import DigitalProgressBar from './components/ui/DigitalProgressBar' import Panel from './components/ui/Panel' // Placeholder for the authenticated app home. The real scenario UI lands in the // frontend feature tickets (#53–#56); for now it shows the primitives + theme. function ScenariosPlaceholder() { return (

Emergency Fund

$750 / $1000

) } // Placeholders replaced by the real auth screens in #52 Stories 4 (login) and 5 // (register). function LoginPlaceholder() { return
LOGIN
} function RegisterPlaceholder() { return
REGISTER
} function App() { return ( {/* Guest-only routes (redirect to the app if already signed in). */} }> } /> } /> {/* Authenticated-only routes (redirect to /login if signed out). */} }> } /> {/* Unknown paths fall back to the app root (which re-guards). */} } /> ) } export default App