Skip to content

Blueprint hero

A headline inside its own selection frame, half of it in outline, with a drawing's title block beside it

1280
code.jsx76 lines
<section className="bg-[#2152ff] bg-[linear-gradient(to_right,rgb(255_255_255/0.07)_1px,transparent_1px),linear-gradient(to_bottom,rgb(255_255_255/0.07)_1px,transparent_1px)] bg-size-[40px_40px] text-white">  <div className="mx-auto max-w-6xl px-5 pt-12 pb-16 sm:px-8 sm:pt-16 sm:pb-24">    <div className="flex items-center justify-between font-mono text-[11px] tracking-[0.14em] text-white/65 uppercase">      <span>Sheet 01 / 05</span>      <span className="hidden sm:inline">General arrangement</span>      <span>Scale 1 : 1</span>    </div>    <div className="relative mt-14 w-fit border border-dashed border-white/70 px-4 py-5 sm:mt-20 sm:px-8 sm:py-8">      <span className="absolute top-0 left-0 -translate-y-full bg-white px-2 py-1 font-mono text-[10px] tracking-[0.12em] text-[#2152ff] uppercase">H1 · 112 / 0.94 / −0.045em</span>      <span className="absolute -top-[3px] -left-[3px] size-[6px] bg-white" aria-hidden="true"></span>      <span className="absolute -top-[3px] -right-[3px] size-[6px] bg-white" aria-hidden="true"></span>      <span className="absolute -bottom-[3px] -left-[3px] size-[6px] bg-white" aria-hidden="true"></span>      <span className="absolute -right-[3px] -bottom-[3px] size-[6px] bg-white" aria-hidden="true"></span>      <h1 className="text-[52px] leading-[0.94] font-medium tracking-[-0.045em] sm:text-[88px] lg:text-[112px]">        Drawn to scale.        <br />        <span className="tracking-[-0.02em] text-transparent [-webkit-text-stroke:1px_white] sm:[-webkit-text-stroke:1.5px_white]">Built to spec.</span>      </h1>      <div className="absolute top-full right-0 left-0 mt-4 flex items-center gap-3 font-mono text-[10px] tracking-[0.14em] text-white/70" aria-hidden="true">        <span className="h-2.5 w-px bg-white/70"></span>        <span className="h-px flex-1 bg-white/45"></span>        <span>100%</span>        <span className="h-px flex-1 bg-white/45"></span>        <span className="h-2.5 w-px bg-white/70"></span>      </div>    </div>    <div className="mt-24 grid gap-12 lg:grid-cols-12 lg:items-end lg:gap-8">      <div className="lg:col-span-6">        <p className="max-w-xl text-lg leading-relaxed text-pretty text-white/85 sm:text-xl">          Nora Vidal is a design engineer. She plans an interface the way you plan a building: measured, annotated, then built exactly as drawn. Product design and front-end for teams that ship.        </p>        <div className="mt-8 flex flex-wrap items-center gap-3 font-mono text-[12px] tracking-[0.12em] uppercase">          <a href="#" className="bg-white px-5 py-3.5 text-[#2152ff] transition-[scale,background-color] duration-150 ease-out hover:bg-white/90 active:scale-[0.96]">            See the work          </a>          <a href="#" className="border border-white/60 px-5 py-3.5 transition-[scale,border-color,background-color] duration-150 ease-out hover:border-white hover:bg-white/10 active:scale-[0.96]">            Read the method          </a>        </div>      </div>      <dl className="grid grid-cols-4 border border-white/60 bg-[#2152ff] font-mono text-[10px] tracking-[0.14em] uppercase lg:col-span-5 lg:col-start-8">        <div className="col-span-4 border-b border-white/60 p-2.5 sm:p-3.5">          <dt className="text-white/60">Project</dt>          <dd className="mt-2 font-sans text-[17px] font-medium tracking-[-0.01em] normal-case">Portfolio, 2027 edition</dd>        </div>        <div className="col-span-2 border-r border-b border-white/60 p-2.5 sm:p-3.5">          <dt className="text-white/60">Drawn by</dt>          <dd className="mt-2 text-[12px] whitespace-nowrap">N. Vidal</dd>        </div>        <div className="col-span-2 border-b border-white/60 p-2.5 sm:p-3.5">          <dt className="text-white/60">Based in</dt>          <dd className="mt-2 text-[12px] whitespace-nowrap">Lisbon, UTC+0</dd>        </div>        <div className="border-r border-white/60 p-2.5 sm:p-3.5">          <dt className="text-white/60">Scale</dt>          <dd className="mt-2 text-[12px] whitespace-nowrap">1 : 1</dd>        </div>        <div className="border-r border-white/60 p-2.5 sm:p-3.5">          <dt className="text-white/60">Sheet</dt>          <dd className="mt-2 text-[12px] whitespace-nowrap">01 / 05</dd>        </div>        <div className="border-r border-white/60 p-2.5 sm:p-3.5">          <dt className="text-white/60">Rev</dt>          <dd className="mt-2 text-[12px] whitespace-nowrap">C</dd>        </div>        <div className="p-2.5 sm:p-3.5">          <dt className="text-white/60">Date</dt>          <dd className="mt-2 text-[12px] whitespace-nowrap">03.27</dd>        </div>      </dl>    </div>  </div></section>

More like this