Skip to content

Commit 8ad6605

Browse files
added missing assignment instructions
1 parent 70bb241 commit 8ad6605

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

code/12-adv-starting-project/frontend/src/App.js

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
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+
123
function App() {
224
return <div></div>;
325
}
422 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)