Skip to content

Add navbar icons #5#31

Open
geobza wants to merge 2 commits into
mainfrom
5-add-navbar-icons
Open

Add navbar icons #5#31
geobza wants to merge 2 commits into
mainfrom
5-add-navbar-icons

Conversation

@geobza

@geobza geobza commented Jul 18, 2026

Copy link
Copy Markdown

No description provided.

@geobza geobza linked an issue Jul 18, 2026 that may be closed by this pull request
5 tasks
@geobza
geobza requested a review from AJaccP July 18, 2026 20:55
Comment thread package.json
"@dagrejs/dagre": "^3.0.0",
"@xyflow/react": "^12.10.2",
"lucide-react": "^1.22.0",
"nvm": "^0.0.4",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like a stray package got added unrelated to the ticket change, I'm guessing from a pnpm add nvm or something. The change doesn't need this so please run pnpm remove nvm on this branch and commit the updated package.json and pnpm-lock.yaml

Assuming it works as expected there should be no diff for these 2 files against main, so only the Header.tsx file would have changes in the PR.

Comment thread src/components/Header.tsx
<nav className="flex items-center gap-6">
<NavLink to="/explorer" className={linkClass}>
Explorer
<Network size={20} /> Explorer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For the size of the icons, I think 16 looks better than 20 + it's consistent with the other lucide usage in the site's legend component. Can you please update size to 16 on both

Comment thread src/components/Header.tsx
@@ -1,22 +1,26 @@
import { NavLink } from 'react-router-dom';
import { Network } from 'lucide-react';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nitpick but since both are from the same module, this can be one import line:
import { Network, CalendarDays } from 'lucide-react';

Also the comment on line 5 can be removed since its just duplicating what the import already says

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.

Add navbar icons

2 participants