Headers
  • componentes
  • /
  • headers
  • /
  • header-2

header-2

  • Vista previa

  • Código

    import Link from 'next/link';
    
    const Header2 = () => {
      return (
        <div className="w-full bg-background-secondary rounded-lg p-4 flex flex-col gap-4 items-center justify-center md:justify-between">
          <h1 className="uppercase font-semibold cursor-pointer text-xl">LOGO</h1>
          <nav className="flex items-center gap-1">
            <Link href="#" className="xl:py-1 px-2 md:px-3 rounded-lg hover:bg-background transition-colors">
              Inicio
            </Link>
            <Link href="#" className="xl:py-1 px-2 md:px-3 rounded-lg hover:bg-background transition-colors">
              Nostros
            </Link>
            <Link href="#" className="xl:py-1 px-2 md:px-3 rounded-lg hover:bg-background transition-colors">
              Servicios
            </Link>
            <Link href="#" className="xl:py-1 px-2 md:px-3 rounded-lg hover:bg-background transition-colors">
              Blog
            </Link>
            <Link href="#" className="xl:py-1 px-2 md:px-3 rounded-lg hover:bg-background transition-colors">
              Contacto
            </Link>
          </nav>
        </div>
      );
    };
    
    export default Header2;