The buttons HomeProfile and Add Cohort on the Header. Must be removed.
Check for other issues that may be working with the Header.js structure.
Todos
Inside the Header.js, on the return of the function, there is <Stack> element.
The last Button inside this Stack is the logout button. Take it out of the Stack (Making it a sibling of Stack)
Remove <Stack> completely after taking the Logout button outside the stack.
Remove imports from Stack and Link elements. - Take care to only remove those 2!
It must be done because the other buttons are not necessary, so if there is only one button, no need for a stack element as well.
Last Todo!
Add the companyName atribute to where the <Header> is being called in the pages: CohortsPageTeacher.js; StudentsPage.js; ProfilePage.js; ProfileEdit.js.
Check page PostsPage.js to see how it was implemented in there. The same companyName must be done on the pages above.
The buttons
Home
Profile
andAdd Cohort
on the Header. Must be removed. Check for other issues that may be working with theHeader.js
structure.Todos
Header.js
, on the return of the function, there is<Stack>
element.logout
button. Take it out of the Stack (Making it a sibling of Stack)<Stack>
completely after taking the Logout button outside the stack.Last Todo!
Add the
companyName
atribute to where the<Header>
is being called in the pages:CohortsPageTeacher.js
;StudentsPage.js
;ProfilePage.js
;ProfileEdit.js
. Check pagePostsPage.js
to see how it was implemented in there. The samecompanyName
must be done on the pages above.