CognxSafeTrack
Claude Sonnet 4.6
feat: backlog P0→P3 — toast system, payments, tenant isolation, feedback handler, i18n parity
6dd9bad Download apps/web/src/App.tsx from safetrack/edtech: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/spaces/safetrack/edtech/resolve/main/apps/web/src/App.tsx
- Command line
-
hf download hf://spaces/safetrack/edtech/apps/web/src/App.tsx
-
curl -L -o App.tsx https://huggingface.co/spaces/safetrack/edtech/resolve/main/apps/web/src/App.tsx
1.21 kB
| import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; | |
| import PrivacyPolicy from './PrivacyPolicy'; | |
| // Layout | |
| import { Navbar } from './components/layout/Navbar'; | |
| import { Footer } from './components/layout/Footer'; | |
| // Pages | |
| import { Home } from './pages/Home'; | |
| import { StudentPortal } from './pages/StudentPortal'; | |
| import { StudentDashboard } from './pages/StudentDashboard'; | |
| import { PaymentSuccess } from './pages/PaymentSuccess'; | |
| function App() { | |
| return ( | |
| <Router> | |
| <div className="min-h-screen font-sans flex flex-col"> | |
| <Navbar /> | |
| <main className="flex-grow"> | |
| <Routes> | |
| <Route path="/" element={<Home />} /> | |
| <Route path="/student" element={<StudentPortal />} /> | |
| <Route path="/student/:phone" element={<StudentDashboard />} /> | |
| <Route path="/payment/success" element={<PaymentSuccess />} /> | |
| <Route path="/privacy" element={<PrivacyPolicy />} /> | |
| </Routes> | |
| </main> | |
| <Footer /> | |
| </div> | |
| </Router> | |
| ); | |
| } | |
| export default App; | |