Skip to content

Commit b02ecb7

Browse files
added Shipyard button in mobile view
1 parent 223087e commit b02ecb7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/Navbar.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ const Navbar = () => {
4646
</li>
4747
<li
4848
className={`p-4 ${activeLink === "/about"
49-
? "text-[#0DFF1C]"
50-
: "hover:text-[#0DFF1C]"
49+
? "text-[#0DFF1C]"
50+
: "hover:text-[#0DFF1C]"
5151
}`}
5252
>
5353
<Link to="/about">About</Link>
@@ -61,26 +61,26 @@ const Navbar = () => {
6161

6262
<li
6363
className={`p-4 ${activeLink === "/resource"
64-
? "text-[#0DFF1C]"
65-
: "hover:text-[#0DFF1C]"
64+
? "text-[#0DFF1C]"
65+
: "hover:text-[#0DFF1C]"
6666
} hover:text-[#0DFF1C] translate-x-[-3.2em] hidden absolute bg-white text-gray-900 rounded mt-1 w-48 group-hover:block hover:rounded-md `}
6767
>
6868
<a href="/resource">Resources</a>
6969
</li>
7070

7171
<li
7272
className={`p-4 ${activeLink === "/contact"
73-
? "text-[#0DFF1C]"
74-
: "hover:text-[#0DFF1C]"
73+
? "text-[#0DFF1C]"
74+
: "hover:text-[#0DFF1C]"
7575
} hover:text-[#0DFF1C]`}
7676
>
7777
<Link to="/contact">Contact</Link>
7878
</li>
7979

8080
<li
8181
className={`p-4 ${activeLink === "/shipyard"
82-
? "text-[#0DFF1C]"
83-
: "hover:text-[#0DFF1C]"
82+
? "text-[#0DFF1C]"
83+
: "hover:text-[#0DFF1C]"
8484
} hover:text-[#0DFF1C]`}
8585
>
8686
<Link to="/shipyard">Shipyard</Link>

0 commit comments

Comments
 (0)