File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
code/12-adv-starting-project/frontend/src Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ // Challenge / Exercise
2+
3+ // 1. Add five new (dummy) page components (content can be simple <h1> elements)
4+ // - HomePage
5+ // - EventsPage
6+ // - EventDetailPage
7+ // - NewEventPage
8+ // - EditEventPage
9+ // 2. Add routing & route definitions for these five pages
10+ // - / => HomePage
11+ // - /events => EventsPage
12+ // - /events/<some-id> => EventDetailPage
13+ // - /events/new => NewEventPage
14+ // - /events/<some-id>/edit => EditEventPage
15+ // 3. Add a root layout that adds the <MainNavigation> component above all page components
16+ // 4. Add properly working links to the MainNavigation
17+ // 5. Ensure that the links in MainNavigation receive an "active" class when active
18+ // 6. Output a list of dummy events to the EventsPage
19+ // Every list item should include a link to the respective EventDetailPage
20+ // 7. Output the ID of the selected event on the EventDetailPage
21+ // BONUS: Add another (nested) layout route that adds the <EventNavigation> component above all /events... page components
22+
123function App ( ) {
224 return < div > </ div > ;
325}
You can’t perform that action at this time.
0 commit comments