OneAlign / web /src /App.tsx
loveaa's picture
Home Pulse 1.2: app interface, recommended event policies and independent location reminders
133b124 verified
Raw History Blame Contribute Delete
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>}