Download screenshot2-add-expense-sparse/environment/pristine/App.jsx from ApolloTeam/fullstackbench-tasks: direct link, hf CLI and curl.
- Browser
- Download file 905 Bytes
-
https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks/resolve/main/screenshot2-add-expense-sparse/environment/pristine/App.jsx
- Command line
-
hf download hf://datasets/ApolloTeam/fullstackbench-tasks/screenshot2-add-expense-sparse/environment/pristine/App.jsx
-
curl -L -o App.jsx https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks/resolve/main/screenshot2-add-expense-sparse/environment/pristine/App.jsx
905 Bytes
| import { Routes, Route, Link } from 'react-router-dom'; | |
| import Dashboard from './components/Dashboard'; | |
| import GroupDetail from './components/GroupDetail'; | |
| import CreateGroup from './components/CreateGroup'; | |
| import AddExpense from './components/AddExpense'; | |
| function App() { | |
| return ( | |
| <div className="app"> | |
| <header className="app-header"> | |
| <Link to="/" className="logo"> | |
| <span className="logo-icon">S</span> | |
| <span className="logo-text">SplitEasy</span> | |
| </Link> | |
| </header> | |
| <main className="app-main"> | |
| <Routes> | |
| <Route path="/" element={<Dashboard />} /> | |
| <Route path="/groups/:id" element={<GroupDetail />} /> | |
| <Route path="/create-group" element={<CreateGroup />} /> | |
| <Route path="/add-expense/:groupId" element={<AddExpense />} /> | |
| </Routes> | |
| </main> | |
| </div> | |
| ); | |
| } | |
| export default App; | |