This task follows up on the work done in issue #257 and its corresponding PR #270. As of right now, the prop that controls which page is underlined in the NavBar is passed only to Home, Stories, and StorySubmission. This task asks that you implement/add the same prop passing to the remaining pages: AdminPage, IndividualResourcePage, and IndividualStoryPage.
In the end, no matter where a user navigates to on the website, the appropriate part/section of the NavBar will always be underlined (right now, the underline disappears when you go to any of the following: AdminPage, IndividualResourcePage, and IndividualStoryPage).
We would like you to follow the same style/approach as the linked PR, so please reference that as you work.
This task follows up on the work done in issue #257 and its corresponding PR #270. As of right now, the prop that controls which page is underlined in the NavBar is passed only to
Home
,Stories
, andStorySubmission
. This task asks that you implement/add the same prop passing to the remaining pages:AdminPage
,IndividualResourcePage
, andIndividualStoryPage
.In the end, no matter where a user navigates to on the website, the appropriate part/section of the NavBar will always be underlined (right now, the underline disappears when you go to any of the following:
AdminPage
,IndividualResourcePage
, andIndividualStoryPage
).We would like you to follow the same style/approach as the linked PR, so please reference that as you work.