Skip to content

Blueprint navbar

A name, four numbered links and a ruler under them, in monospace on blue

1280
code.jsx38 lines
<header className="bg-[#2152ff] text-white">  <div className="mx-auto max-w-6xl px-5 sm:px-8">    <nav className="flex items-center justify-between gap-6 py-4 font-mono text-[11px] tracking-[0.14em] uppercase">      <a href="#" className="flex items-center gap-3">        <svg viewBox="0 0 24 24" className="size-5" fill="none" stroke="currentColor" strokeWidth="1.25" aria-hidden="true">          <circle cx="12" cy="12" r="6.5" />          <path d="M12 1.5v6M12 16.5v6M1.5 12h6M16.5 12h6" />        </svg>        <span>Nora Vidal</span>        <span className="hidden text-white/55 sm:inline">Design engineer</span>      </a>      <div className="hidden items-center gap-8 text-white/75 md:flex">        <a href="#" className="transition-colors duration-150 hover:text-white">          <span className="text-white/45">01</span> Work        </a>        <a href="#" className="transition-colors duration-150 hover:text-white">          <span className="text-white/45">02</span> Method        </a>        <a href="#" className="transition-colors duration-150 hover:text-white">          <span className="text-white/45">03</span> Notes        </a>        <a href="#" className="transition-colors duration-150 hover:text-white">          <span className="text-white/45">04</span> Contact        </a>      </div>      <a href="#" className="bg-white px-3 py-2 text-[#2152ff] transition-[scale,background-color] duration-150 ease-out hover:bg-white/90 active:scale-[0.96]">        Book a project      </a>    </nav>    <div className="flex items-center gap-3 border-t border-white/30 py-2 font-mono text-[10px] tracking-[0.14em] text-white/55" aria-hidden="true">      <span>0</span>      <span className="h-1.5 flex-1 bg-[repeating-linear-gradient(to_right,rgb(255_255_255/0.55)_0_1px,transparent_1px_12px)]"></span>      <span>720</span>      <span className="h-1.5 flex-1 bg-[repeating-linear-gradient(to_right,rgb(255_255_255/0.55)_0_1px,transparent_1px_12px)]"></span>      <span>1440</span>    </div>  </div></header>

More like this