Skip to content

Commit

Permalink
Add function Navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Daridjcm committed Jul 18, 2024
1 parent 04c7225 commit bbfee86
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions client/src/pages/home.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,34 @@
export default function Home() {
return (
<Navbar />
)
}

function Navbar() {
return (
<>
<h1 className="text-black text-4xl">Home</h1>
<nav className="p-4 border-b-2 border-blue-500">
<div className="container mx-auto flex justify-between items-center">
<div className="text-slate-950 text-2xl font-bold">Linx</div>
<ul className="flex space-x-4">
<li>
<a href="#product" className="text-slate-950 hover:text-blue-700">
Product
</a>
</li>
<li>
<a href="#login" className="text-slate-950 hover:text-blue-700">
Login
</a>
</li>
<li>
<a href="#signup" className="text-slate-950 hover:text-blue-700">
Sign Up
</a>
</li>
</ul>
</div>
</nav>
</>
);
}
}

0 comments on commit bbfee86

Please sign in to comment.