mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 06:59:09 +00:00
refactor: cleanup routes
This commit is contained in:
@@ -38,20 +38,14 @@ export default function AppRouter() {
|
|||||||
<Suspense fallback={null}>
|
<Suspense fallback={null}>
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route path='/' element={<Navigate to='/timer' />} />
|
<Route path='/' element={<Navigate to='/timer' />} />
|
||||||
<Route path='/speaker' element={<STimer />} />
|
|
||||||
<Route path='/presenter' element={<STimer />} />
|
|
||||||
<Route path='/stage' element={<STimer />} />
|
|
||||||
<Route path='/timer' element={<STimer />} />
|
<Route path='/timer' element={<STimer />} />
|
||||||
|
|
||||||
<Route path='/minimal' element={<SMinimalTimer />} />
|
<Route path='/minimal' element={<SMinimalTimer />} />
|
||||||
<Route path='/minimalTimer' element={<SMinimalTimer />} />
|
|
||||||
<Route path='/simpleTimer' element={<SMinimalTimer />} />
|
|
||||||
|
|
||||||
<Route path='/clock' element={<SClock />} />
|
<Route path='/clock' element={<SClock />} />
|
||||||
|
|
||||||
<Route path='/countdown' element={<SCountdown />} />
|
<Route path='/countdown' element={<SCountdown />} />
|
||||||
|
|
||||||
<Route path='/sm' element={<SBackstage />} />
|
|
||||||
<Route path='/backstage' element={<SBackstage />} />
|
<Route path='/backstage' element={<SBackstage />} />
|
||||||
|
|
||||||
<Route path='/public' element={<SPublic />} />
|
<Route path='/public' element={<SPublic />} />
|
||||||
@@ -65,8 +59,6 @@ export default function AppRouter() {
|
|||||||
{/*/!* Protected Routes *!/*/}
|
{/*/!* Protected Routes *!/*/}
|
||||||
<Route path='/editor' element={<Editor />} />
|
<Route path='/editor' element={<Editor />} />
|
||||||
<Route path='/cuesheet' element={<Cuesheet />} />
|
<Route path='/cuesheet' element={<Cuesheet />} />
|
||||||
<Route path='/cuelist' element={<Cuesheet />} />
|
|
||||||
<Route path='/table' element={<Cuesheet />} />
|
|
||||||
|
|
||||||
{/*/!* Protected Routes - Elements *!/*/}
|
{/*/!* Protected Routes - Elements *!/*/}
|
||||||
<Route
|
<Route
|
||||||
|
|||||||
Reference in New Issue
Block a user