Spaces:
Sleeping
Sleeping
Download frontend/src/App.tsx from Creatiste/taste-engine: direct link, hf CLI and curl.
- Browser
- Download file 656 Bytes
-
https://huggingface.co/spaces/Creatiste/taste-engine/resolve/main/frontend/src/App.tsx
- Command line
-
hf download hf://spaces/Creatiste/taste-engine/frontend/src/App.tsx
-
curl -L -o App.tsx https://huggingface.co/spaces/Creatiste/taste-engine/resolve/main/frontend/src/App.tsx
656 Bytes
| import { Routes, Route } from "react-router-dom"; | |
| import { Layout } from "./components/Layout"; | |
| import { BrowsePage } from "./pages/BrowsePage"; | |
| import { ProfilePage } from "./pages/ProfilePage"; | |
| import { DashboardPage } from "./pages/DashboardPage"; | |
| import { DiscoverPage } from "./pages/DiscoverPage"; | |
| export function App() { | |
| return ( | |
| <Routes> | |
| <Route element={<Layout />}> | |
| <Route index element={<BrowsePage />} /> | |
| <Route path="discover" element={<DiscoverPage />} /> | |
| <Route path="profile" element={<ProfilePage />} /> | |
| <Route path="dashboard" element={<DashboardPage />} /> | |
| </Route> | |
| </Routes> | |
| ); | |
| } | |