Skip to content

Commit c051aa1

Browse files
committed
fix: better semantics for navbar
1 parent c098893 commit c051aa1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/components/Navbar.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import { Tooltip } from "@ark-ui/solid";
22
import type { Component, JSX, ParentComponent } from "solid-js";
33
import { Portal } from "solid-js/web";
44
import { css } from "styled-system/css";
5-
import { Container, HStack } from "styled-system/jsx";
5+
import { Container, Divider, HStack } from "styled-system/jsx";
66
import { tooltip } from "~/styles/tooltip";
7-
import TablerBallpenFilled from "~icons/tabler/ballpen-filled";
87
import TablerBrandGithubFilled from "~icons/tabler/brand-github-filled";
98
import TablerBrandLinkedinFilled from "~icons/tabler/brand-linkedin-filled";
109
import TablerHomeFilled from "~icons/tabler/home-filled";
@@ -41,6 +40,8 @@ const Navbar: Component = () => {
4140
<TablerHomeFilled />
4241
</NavItem>
4342
<HStack gap="4">
43+
<a href="/blog">Blog</a>
44+
<Divider orientation="vertical" thickness="2" height="1em" />
4445
<NavItem
4546
href="https://github.com/TheComputerM"
4647
target="_blank"
@@ -49,9 +50,6 @@ const Navbar: Component = () => {
4950
>
5051
<TablerBrandGithubFilled />
5152
</NavItem>
52-
<NavItem href="/blog" aria-label="Blog">
53-
<TablerBallpenFilled />
54-
</NavItem>
5553
<NavItem
5654
href="https://www.linkedin.com/in/mudit-somani2004/"
5755
target="_blank"

0 commit comments

Comments
 (0)