Changeset 8c01a1f for frontend/src
- Timestamp:
- 02/10/26 18:31:21 (5 months ago)
- Branches:
- master
- Children:
- 6fa5831
- Parents:
- ff01f66
- Location:
- frontend/src
- Files:
-
- 30 added
- 1 edited
-
App.jsx (modified) (2 diffs)
-
api/twelveData.js (added)
-
api/yahooFinance.js (added)
-
assets/graph-placeholder.svg (added)
-
data/tickers.js (added)
-
pages/Dashboard/DashboardLayout.jsx (added)
-
pages/Dashboard/components/DashboardSidebar.jsx (added)
-
pages/Dashboard/components/DashboardTopbar.jsx (added)
-
pages/Dashboard/pages/ControlCenter/ControlCenter.jsx (added)
-
pages/Dashboard/pages/Discipline/Discipline.jsx (added)
-
pages/Dashboard/pages/Finance/Finance.jsx (added)
-
pages/Dashboard/pages/Investing/Investing.jsx (added)
-
pages/Dashboard/pages/Investing/InvestingTracking.jsx (added)
-
pages/Dashboard/pages/Investing/NewInvestment.jsx (added)
-
pages/Dashboard/pages/Investing/components/InvestingAssetsTable.jsx (added)
-
pages/Dashboard/pages/Investing/components/InvestingCenteredCard.jsx (added)
-
pages/Dashboard/pages/Investing/components/InvestingProgressCard.jsx (added)
-
pages/Dashboard/pages/Investing/components/InvestingStartCtaCard.jsx (added)
-
pages/Dashboard/pages/Investing/components/InvestingTrackingHeader.jsx (added)
-
pages/Dashboard/pages/Training/NewTrainingSession.jsx (added)
-
pages/Dashboard/pages/Training/Training.jsx (added)
-
pages/Dashboard/pages/Training/TrainingTracking.jsx (added)
-
pages/Dashboard/pages/Training/components/CaloriesEstimate.jsx (added)
-
pages/Dashboard/pages/Training/components/TrainingCenteredCard.jsx (added)
-
pages/Dashboard/pages/Training/components/TrainingProgressCard.jsx (added)
-
pages/Dashboard/pages/Training/components/TrainingSessionsTable.jsx (added)
-
pages/Dashboard/pages/Training/components/TrainingStartCtaCard.jsx (added)
-
pages/Dashboard/pages/Training/components/TrainingStartForm.jsx (added)
-
pages/Dashboard/pages/Training/components/TrainingTrackingHeader.jsx (added)
-
pages/Dashboard/pages/Training/components/WorkoutTypeSelect.jsx (added)
-
pages/Dashboard/pages/Weight/Weight.jsx (added)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/App.jsx
rff01f66 r8c01a1f 4 4 import Login from "./pages/Login/Login.jsx"; 5 5 import Register from "./pages/Register/Register.jsx"; 6 import Dashboard from "./pages/Dashboard.jsx"; 6 import DashboardLayout from "./pages/Dashboard/DashboardLayout.jsx"; 7 import ControlCenter from "./pages/Dashboard/pages/ControlCenter/ControlCenter.jsx"; 8 import Training from "./pages/Dashboard/pages/Training/Training.jsx"; 9 import TrainingTracking from "./pages/Dashboard/pages/Training/TrainingTracking.jsx"; 10 import NewTrainingSession from "./pages/Dashboard/pages/Training/NewTrainingSession.jsx"; 11 import Weight from "./pages/Dashboard/pages/Weight/Weight.jsx"; 12 import Finance from "./pages/Dashboard/pages/Finance/Finance.jsx"; 13 import Investing from "./pages/Dashboard/pages/Investing/Investing.jsx"; 14 import InvestingTracking from "./pages/Dashboard/pages/Investing/InvestingTracking.jsx"; 15 import NewInvestment from "./pages/Dashboard/pages/Investing/NewInvestment.jsx"; 16 import Discipline from "./pages/Dashboard/pages/Discipline/Discipline.jsx"; 7 17 8 18 function RequireAuth({ children }) { … … 23 33 element={ 24 34 <RequireAuth> 25 <Dashboard />35 <DashboardLayout /> 26 36 </RequireAuth> 27 37 } 28 /> 38 > 39 <Route index element={<Navigate to="control-center" replace />} /> 40 <Route path="control-center" element={<ControlCenter />} /> 41 <Route path="training" element={<Training />} /> 42 <Route path="training/tracking" element={<TrainingTracking />} /> 43 <Route 44 path="training/sessions/new" 45 element={<NewTrainingSession />} 46 /> 47 <Route path="weight" element={<Weight />} /> 48 <Route path="finance" element={<Finance />} /> 49 <Route path="investing" element={<Investing />} /> 50 <Route path="investing/tracking" element={<InvestingTracking />} /> 51 <Route path="investing/assets/new" element={<NewInvestment />} /> 52 <Route path="discipline" element={<Discipline />} /> 53 </Route> 29 54 <Route path="*" element={<Navigate to="/" replace />} /> 30 55 </Routes>
Note:
See TracChangeset
for help on using the changeset viewer.
