Skip to content
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

highlighted the current page item on navebar #303

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

Isaac3105
Copy link

Closes #300

Now, if your current page is one of the pages from navebar, the corresponding item from the navebar will be highlighted.
image

Review checklist

  • Contains enough appropriate tests
  • Behavior is as expected
  • Clean, well-structured code

@Isaac3105 Isaac3105 assigned Isaac3105 and unassigned Isaac3105 Nov 30, 2024
Copy link
Collaborator

@MRita443 MRita443 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! I left some suggestion as to how you can make this even better :)

src/routes/(app)/_components/layout/navbar.svelte Outdated Show resolved Hide resolved
src/routes/(app)/_components/layout/navbar.svelte Outdated Show resolved Hide resolved
src/routes/(app)/_components/layout/navbar.svelte Outdated Show resolved Hide resolved
src/routes/(app)/_components/layout/navbar.svelte Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

navbar: highlight current page
2 participants