File size: 837 Bytes
f3d88e5
62fd2ea
f3d88e5
 
 
3456137
 
 
 
f3d88e5
 
 
62fd2ea
f3d88e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import Link from "next/link";
import Logo from "./logo";

const Navbar = () => {
  const links = [
    { name: "About", href: "#about" },
    { name: "Clients", href: "#clients" },
    { name: "Pricing", href: "#pricing" },
    { name: "Contact", href: "#contact" },
  ];
  return (
    <nav className="hidden flex-col gap-6 w-full text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6">
      <Logo text="ATOM" showText />
      <div className="flex items-center justify-center gap-2 w-full">
        {links.map((link) => (
          <Link
            key={link.name}
            href={link.href}
            className="text-muted-foreground transition-colors hover:text-foreground"
          >
            {link.name}
          </Link>
        ))}
      </div>
    </nav>
  );
};

export default Navbar;