Frontend routes - pauchye/ASTRA GitHub Wiki
Our components are organized as follows:
The following routes, defined in App, will render components between in Main.
/
: Splash
/login
: SessionForm
/signup
: SessionForm
/dashboard
:
- ActivitiesIndex
- UserPreview (container with user's profile info)
/users/:userId
:
- UserProfileComponent
- UsersStats (container for user's stats)
- ActivityPreview (container for user's latest activity)
- UsersGraph (container for user's graph)
/routes
:
/routes/new
:
- NewRoutesForm (map, sidebar, header, footer)
/routes/:routeId/edit
:
- EditRoutesForm (map, sidebar, header, footer)
/workouts
:
- ActivitiesListIndex (with link to ActivityDetails)
- Search container (mb bonus)
/workouts/workoutId
:
- ActivityDetailsComponent
- ActivityDetailsStats (container for activity stats)
- ActivityMap (container to show route if any)
- ActivityGraph (container to show graph)
/workouts/new
:
/workouts/workoutId/edit
: