PageSourceSearch

https://www.draftpdf.com/assets/PublicSiteHeader-vIFHcN4O.js

js draftpdf.com collected 2026-09-30 11:14:27 UTC 2,127 bytes, 1 lines download raw bytes

1import{j as e,L as t}from"./chunk-EPOLDU6W-5Fiohvfn.js";import{f as l,T as i}from"./feature-pages-Dr4iMAxa.js";function c({links:s=[],showFeatureDropdown:o=!1}){const a=Object.values(l).map(r=>({slug:r.slug,label:r.hero.badge,title:r.meta.title.replace(/ — DraftPDF$/,"")}));return e.jsx("header",{className:"sticky top-0 z-50 border-b border-border bg-background/90 backdrop-blur-sm",children:e.jsxs("div",{className:"flex h-14 w-full items-center justify-between gap-6 px-6 lg:px-8",children:[e.jsxs(t,{to:"/",className:"text-xl font-bold tracking-tight text-foreground",children:["Draft",e.jsx("span",{className:"text-primary",children:"PDF"})]}),e.jsxs("nav",{className:"hidden items-center gap-6 text-sm text-muted-foreground md:flex",children:[s.map(r=>e.jsx(t,{to:r.to,className:"transition-colors hover:text-foreground",children:r.label},r.to)),o&&e.jsxs("div",{className:"group relative",children:[e.jsxs("button",{type:"button",className:"inline-flex items-center gap-1 transition-colors hover:text-foreground","aria-haspopup":"true",children:["Features",e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e.jsx("path",{d:"m6 9 6 6 6-6"})})]}),e.jsx("div",{className:"invisible absolute left-0 top-full z-50 pt-3 opacity-0 transition-all duration-150 group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100",children:e.jsx("div",{className:"w-72 rounded-xl border border-border bg-background p-2 shadow-xl",children:a.map(r=>e.jsxs(t,{to:`/${r.slug}`,className:"block rounded-lg px-3 py-2 transition-colors hover:bg-secondary hover:text-foreground",children:[e.jsx("div",{className:"text-sm font-medium text-foreground",children:r.label}),e.jsx("div",{className:"text-xs text-muted-foreground",children:r.title})]},r.slug))})})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(i,{}),e.jsx(t,{to:"/editor",className:"rounded-lg bg-primary px-4 py-2 text-xs font-semibold text-primary-foreground transition-colors hover:bg-primary/90",children:"Open Editor"})]})]})})}export{c as P};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.