feat(audiobook): implement audiobook project management features

This commit is contained in:
2026-03-09 11:39:36 +08:00
parent 28218e6616
commit a3d7d318e0
13 changed files with 1565 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ const Home = lazy(() => import('@/pages/Home'))
const Settings = lazy(() => import('@/pages/Settings'))
const UserManagement = lazy(() => import('@/pages/UserManagement'))
const VoiceManagement = lazy(() => import('@/pages/VoiceManagement'))
const Audiobook = lazy(() => import('@/pages/Audiobook'))
function ProtectedRoute({ children }: { children: React.ReactNode }) {
const { isAuthenticated, isLoading } = useAuth()
@@ -109,6 +110,14 @@ function App() {
</ProtectedRoute>
}
/>
<Route
path="/audiobook"
element={
<ProtectedRoute>
<Audiobook />
</ProtectedRoute>
}
/>
</Routes>
</Suspense>
</UserPreferencesProvider>