-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/#60 create sidebar navigation #141
Conversation
c755e02
to
abfdca8
Compare
Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: njochens <nikolas@njochens.de>
abfdca8
to
55468b0
Compare
Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: njochens <nikolas@njochens.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry that this is so much.
I'm trying to be more thorough than I have been in the past
Signed-off-by: njochens <62465088+njochens@users.noreply.github.com>
… in nav is not visible Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: njochens <62465088+njochens@users.noreply.github.com>
Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: njochens <nikolas@njochens.de>
Signed-off-by: vringar <zabka@campus.tu-berlin.de>
); | ||
}; | ||
|
||
export default Object.assign(Sidebar, { ...FlowbiteSidebar }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I wish we had a comment on this line
<FlowbiteSidebar.Item | ||
href="dashboard" | ||
icon={HiPresentationChartLine} | ||
active={current_page.localeCompare("dashboard") ? false : true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I don't like this use of the ternary.
Isn't this equivalent to this line?
active={current_page.localeCompare("dashboard") ? false : true} | |
active={current_page === "dashboard"} |
No description provided.