Download web/src/App.tsx from loveaa/OneAlign: direct link, hf CLI and curl.
- Browser
- Download file 1.38 kB
-
https://huggingface.co/spaces/loveaa/OneAlign/resolve/main/web/src/App.tsx
- Command line
-
hf download hf://spaces/loveaa/OneAlign/web/src/App.tsx
-
curl -L -o App.tsx https://huggingface.co/spaces/loveaa/OneAlign/resolve/main/web/src/App.tsx
1.38 kB
| import { Navigate,Route,Routes } from 'react-router' | |
| import Shell from '@/components/Shell' | |
| import Landing from '@/pages/Landing' | |
| import Home from '@/pages/Home' | |
| import Watches from '@/pages/Watches' | |
| import Events from '@/pages/Events' | |
| import Create from '@/pages/Create' | |
| import ItemDetail from '@/pages/ItemDetail' | |
| import Review from '@/pages/Review' | |
| import Privacy from '@/pages/Privacy' | |
| import Insights from '@/pages/Insights' | |
| import Observe from '@/pages/Observe' | |
| import Memories from '@/pages/Memories' | |
| import PulseWorkspace from '@/pulse/Workspace' | |
| export default function App(){return <Routes><Route path="/" element={<Landing/>}/><Route path="/app/*" element={<PulseWorkspace phone/>}/><Route path="/workspace/*" element={<PulseWorkspace/>}/><Route path="/home" element={<Navigate to="/workspace" replace/>}/><Route element={<Shell/>}><Route path="/studio" element={<Home/>}/><Route path="/watches" element={<Watches/>}/><Route path="/events" element={<Events/>}/><Route path="/create" element={<Create/>}/><Route path="/watch/:id" element={<ItemDetail/>}/><Route path="/observe/:id" element={<Observe/>}/><Route path="/memories" element={<Memories/>}/><Route path="/review" element={<Review/>}/><Route path="/insights" element={<Insights/>}/><Route path="/privacy" element={<Privacy/>}/><Route path="*" element={<Navigate to="/workspace" replace/>}/></Route></Routes>} | |