Skip to content

fix: open guide in new tab#73

Merged
condyl merged 1 commit intomasterfrom
cb/open-guide-new-tab-2
Jan 11, 2026
Merged

fix: open guide in new tab#73
condyl merged 1 commit intomasterfrom
cb/open-guide-new-tab-2

Conversation

@condyl
Copy link
Copy Markdown
Collaborator

@condyl condyl commented Jan 11, 2026

Closes #43

This pull request updates the NavbarComponent to support opening certain navigation links in a new browser tab.

Navigation link behavior improvements:

  • Added a newTab property to the "Guide" navigation item, indicating it should open in a new tab.
  • Updated the rendering logic in the mobile drawer to use an <a> tag with target="_blank" and rel="noopener noreferrer" for navigation items with newTab, falling back to <Link> for others.
  • Applied the same conditional rendering logic to the desktop navigation bar, ensuring consistency across devices for links that should open in a new tab.

@condyl condyl merged commit f7905e8 into master Jan 11, 2026
3 checks passed
@condyl condyl deleted the cb/open-guide-new-tab-2 branch January 11, 2026 03:54
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.

FEATURE | Save currently added courses to local storage

1 participant