Skip to content

Commit 04f3aae

Browse files
committed
refactor(navbar): add join group link and logo to navbar
1 parent 28b2d54 commit 04f3aae

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

components/Navbar.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import Link from "next/link";
21
import React from "react";
2+
import Link from "next/link";
3+
import Image from "next/image";
4+
import logo from "../public/reactdevske.svg";
35
import {
46
ABOUT,
57
CONTACT,
@@ -18,7 +20,7 @@ const Navbar = () => {
1820
<div>
1921
<Link href={HOME}>
2022
<a>
21-
<div className="bg-gray-400 w-[137px] h-[61px]"></div>
23+
<Image src={logo} alt="reactdevske logo" width={137} height={60} />
2224
</a>
2325
</Link>
2426
</div>
@@ -57,9 +59,11 @@ const Navbar = () => {
5759
</ul>
5860
</div>
5961
<div>
62+
<a target="_blank" href="https://bit.ly/joinreactdevske" rel="noopener noreferrer">
6063
<button className="flex mx-auto bg-gray-300 border-0 py-[10px] px-[33px] focus:outline-none hover:bg-gray-600 hover:text-white rounded text-lg">
6164
Join Community
6265
</button>
66+
</a>
6367
</div>
6468
</nav>
6569
</header>

0 commit comments

Comments
 (0)