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

fix: active dashboard link #521

Merged
merged 3 commits into from
Sep 7, 2023
Merged

Conversation

mbhrznr
Copy link
Contributor

@mbhrznr mbhrznr commented Sep 6, 2023

closes #469

@@ -68,7 +68,7 @@ export default function Header(
<a
href="/dashboard"
class={cx(
props.url.pathname.includes("/dashboard")
props.url.pathname.startsWith("/dashboard")
Copy link
Contributor

Choose a reason for hiding this comment

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

Frankly, I think this is the only change that's needed.

components/Header.tsx Outdated Show resolved Hide resolved
components/Header.tsx Outdated Show resolved Hide resolved
components/Header.tsx Outdated Show resolved Hide resolved
@iuioiua iuioiua changed the title chore: homogenize active styles in nav fix: active dashboard link Sep 7, 2023
Copy link
Contributor

@iuioiua iuioiua left a comment

Choose a reason for hiding this comment

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

I made a couple of tweaks, and now, LGTM! Thank you.

@iuioiua iuioiua merged commit 3319724 into denoland:main Sep 7, 2023
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.

todo: fix active dashboard link
2 participants