This commit is contained in:
2025-09-21 16:53:55 +02:00
parent 1cf8066cf3
commit 016b5632e1
7 changed files with 118 additions and 15 deletions
@@ -1,6 +1,7 @@
import React, { useState } from "react"
import Logo from "../../assets/pictures/Logo"
import About from "../../pages/About/About"
import Home from "../../pages/Landing/Home"
const navLinkClass = "px-3 py-2 rounded-lg text-white transition-all duration-200 hover:bg-white/10"
@@ -14,25 +15,25 @@ const Navbar = () => {
<div className="flex justify-between h-16 items-center">
{/* Logo */}
<div className="flex-shrink-0 flex items-center gap-2">
<div className="flex items-center mt-1 h-9">
<a href="/" className="flex items-center mt-1 h-9">
<Logo size={36} />
</div>
<span className="flex items-center h-9 text-white font-bold text-2xl tracking-tight">
</a>
<a href="/" className="flex items-center h-9 text-white font-bold text-2xl tracking-tight">
SerpentRace
</span>
</a>
</div>
{/* Desktop Menu */}
<div className="hidden md:flex space-x-8">
<a href="#" className={navLinkClass}>
<a href="/home" className={navLinkClass}>
Home
</a>
<a href="#" className={navLinkClass}>
Leaderboard
<a href="/report" className={navLinkClass}>
Stats
</a>
<a href="/about" className={navLinkClass}>
About
</a>
<a href="#" className={navLinkClass}>
<a href="/companies" className={navLinkClass}>
Contact
</a>
</div>