PageSourceSearch

https://dancingchicken.com/assets/SiteLayout-DxkgtpJj.js

js dancingchicken.com collected 2026-10-07 17:11:03 UTC 10,699 bytes, 1 lines download raw bytes

1import{d as b,j as e,r as c,q as w}from"./index-D4xjVX0O.js";import{u as v,a as u,L as l}from"./Logo-Dib54Qmq.js";import{N as j}from"./brand-DsZ8L-0l.js";import{X as y}from"./x-BkmBww4v.js";import{A as N}from"./arrow-right-ILOQwr5H.js";const k=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],g=b("arrow-up-right",k);const M=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],S=b("menu",M);function E({open:t,onClose:r}){const[o,d]=v(),[m,x]=c.useState(!1);if(c.useEffect(()=>x(!0),[]),c.useEffect(()=>{if(!t)return;const s=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=s}},[t]),c.useEffect(()=>{if(!t)return;const s=a=>{a.key==="Escape"&&r()};return window.addEventListener("keydown",s),()=>window.removeEventListener("keydown",s)},[t,r]),!m)return null;const f=e.jsxs("div",{className:`fixed inset-0 z-[100] lg:hidden transition-opacity duration-200 ${t?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"}`,"aria-hidden":!t,role:"dialog","aria-modal":"true",children:[e.jsx("div",{className:"absolute inset-0 bg-white"}),e.jsxs("div",{className:"relative h-full flex flex-col",children:[e.jsx("div",{className:"border-b border-[var(--dc-hairline)] bg-white",children:e.jsxs("div",{className:"container flex items-center justify-between h-16",children:[e.jsx(u,{size:"sm",href:"/"}),e.jsx("button",{type:"button","aria-label":"Close menu",onClick:r,className:"p-3 -mr-3 inline-flex items-center justify-center",children:e.jsx(y,{className:"h-6 w-6 text-[var(--dc-ink)]"})})]})}),e.jsxs("nav",{className:"container flex-1 flex flex-col",children:[e.jsx("ul",{className:"flex flex-col mt-2",children:j.map(s=>{const a=o===s.href;return e.jsx("li",{className:"border-b border-[var(--dc-hairline)]",children:e.jsxs("button",{type:"button",onClick:()=>{d(s.href),r()},className:"flex items-center justify-between w-full text-left py-5",children:[e.jsx("span",{className:"font-semibold tracking-tight",style:{fontFamily:"Figtree, sans-serif",fontSize:30,lineHeight:1.1,letterSpacing:"-0.02em",color:a?"var(--dc-base)":"var(--dc-ink)"},children:s.label}),e.jsx(N,{className:"h-5 w-5 text-[var(--dc-base)]"})]})},s.href)})}),e.jsx("div",{className:"mt-auto pb-8",children:e.jsxs("button",{type:"button",onClick:()=>{d("/contact"),r()},className:"btn-primary w-full",children:["Book a funnel audit",e.jsx(g,{className:"h-4 w-4"})]})})]})]})]});return w.createPortal(f,document.body)}function z(){const[t]=v(),[r,o]=c.useState(!1),[d,m]=c.useState(!1),[x,f]=c.useState(!1);return c.useEffect(()=>{let s=window.scrollY,a=!1;const h=()=>{a||(a=!0,requestAnimationFrame(()=>{const i=window.scrollY;m(i>8),i<=120?(f(!1),s=i):Math.abs(i-s)>6&&(f(i>s),s=i),a=!1}))};return h(),window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),e.jsxs("header",{style:{transition:x?"transform 500ms cubic-bezier(0.32, 0, 0.67, 0), opacity 500ms cubic-bezier(0.32, 0, 0.67, 0), box-shadow 300ms ease":"transform 700ms cubic-bezier(0.16, 1, 0.3, 1), opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease",transform:x?"translate3d(0,-100%,0)":"translate3d(0,0,0)",opacity:x?.6:1,willChange:"transform, opacity"},className:`fixed top-0 left-0 right-0 z-40 bg-white/95 backdrop-blur-sm ${d?"border-b border-[var(--dc-hairline)] shadow-[0_1px_8px_rgba(0,0,0,0.05)]":"border-b border-transparent"}`,children:[e.jsxs("div",{className:"container",children:[e.jsxs("div",{className:"flex lg:hidden items-center justify-between h-16",children:[e.jsx(u,{size:"sm"}),e.jsx("button",{type:"button","aria-label":"Open menu",className:"p-3 -mr-3 inline-flex items-center justify-center",onClick:()=>o(!0),children:e.jsx(S,{className:"h-6 w-6 text-[var(--dc-ink)]"})})]}),e.jsxs("div",{className:"hidden lg:grid grid-cols-[auto_1fr_auto] items-center h-[88px] gap-8",children:[e.jsx("div",{className:"justify-self-start",children:e.jsx(u,{size:"md"})}),e.jsx("nav",{className:"justify-self-center flex items-center gap-10 xl:gap-14","aria-label":"Primary",children:j.map((s,a)=>{const h=t===s.href;return e.jsxs(l,{href:s.href,className:"relative t-body font-semibold tracking-tight group",style:{fontFamily:"Figtree, sans-serif",color:h?"var(--dc-ink)":"var(--dc-ink-soft)",transition:"color 220ms ease"},onMouseEnter:i=>{i.currentTarget.style.color="var(--dc-ink)"},onMouseLeave:i=>{i.currentTarget.style.color=h?"var(--dc-ink)":"var(--dc-ink-soft)"},children:[e.jsx("span",{children:s.label}),e.jsx("span",{"aria-hidden":"true",className:`absolute left-0 -bottom-1.5 h-[2px] bg-[var(--dc-base)] w-full origin-left transition-transform duration-300 ease-in-out ${h?"scale-x-100":"scale-x-0"}`})]},s.href)})}),e.jsx("div",{className:"justify-self-end",children:e.jsxs(l,{href:"/contact",className:"inline-flex items-center gap-3 px-5 py-3 t-body font-semibold text-white",style:{fontFamily:"Figtree, sans-serif",background:"var(--dc-cta)",transition:"background-color 280ms cubic-bezier(0.16,1,0.3,1), transform 280ms cubic-bezier(0.16,1,0.3,1), box-shadow 280ms cubic-bezier(0.16,1,0.3,1)"},onMouseEnter:s=>{const a=s.currentTarget;a.style.background="var(--dc-cta-hover)",a.style.transform="translateY(-1px)",a.style.boxShadow="0 4px 16px rgba(255,103,26,0.28)"},onMouseLeave:s=>{const a=s.currentTarget;a.style.background="var(--dc-cta)",a.style.transform="translateY(0)",a.style.boxShadow="none"},onMouseDown:s=>{s.currentTarget.style.transform="translateY(0) scale(0.97)"},onMouseUp:s=>{s.currentTarget.style.transform="translateY(-1px) scale(1)"},children:["Book a funnel audit",e.jsx(g,{className:"h-4 w-4 transition-transform duration-180 group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]})})]})]}),e.jsx(E,{open:r,onClose:()=>o(!1)})]})}function L(){return e.jsx("footer",{className:"bg-[var(--dc-ink)] text-white",children:e.jsxs("div",{className:"container py-14 lg:py-24",children:[e.jsxs("div",{className:"grid grid-cols-12 gap-y-10 gap-x-4 sm:gap-x-8 pb-12 lg:pb-24 border-b border-white/15",children:[e.jsxs("div",{className:"col-span-12 lg:col-span-8",children:[e.jsxs("h3",{className:"v-reveal h-display-2 text-white",children:["Engineer the system before",e.jsx("br",{className:"hidden sm:inline"})," you scale the spend."]}),e.jsx("p",{className:"v-reveal mt-6 lede text-white/70 max-w-xl",style:{transitionDelay:"100ms"},children:"We diagnose the acquisition system, engineer the weak links, launch it, and operate it on a weekly cadence with senior strategists. Start with a free strategy call."})]}),e.jsx("div",{className:"col-span-12 lg:col-span-4 flex lg:justify-end items-end",children:e.jsxs(l,{href:"/contact",className:"hover-
1arrow inline-flex items-center justify-between gap-6 lg:gap-16 px-5 lg:px-6 py-5 t-body font-semibold w-full lg:w-auto",style:{background:"var(--dc-base)",color:"#fff",transition:"background-color 180ms cubic-bezier(0.23, 1, 0.32, 1)"},onMouseEnter:t=>t.currentTarget.style.background="var(--dc-base-hover)",onMouseLeave:t=>t.currentTarget.style.background="var(--dc-base)",children:[e.jsx("span",{children:"Book a funnel audit"}),e.jsx(g,{"data-arrow":!0,className:"h-5 w-5 shrink-0"})]})})]}),e.jsxs("div",{className:"grid grid-cols-12 gap-y-10 gap-x-4 sm:gap-x-6 lg:gap-x-8 pt-12 lg:pt-16",children:[e.jsxs("div",{className:"col-span-12 lg:col-span-4",children:[e.jsx(u,{size:"md",variant:"white"}),e.jsx("p",{className:"mt-6 max-w-md t-meta text-white/70",children:"A senior-led lead generation and funnel engineering agency for multimillion-dollar businesses. We design and operate the acquisition systems behind paid media, today across Facebook and Instagram, tomorrow across more channels."})]}),e.jsxs(p,{title:"Site",children:[e.jsx(n,{href:"/",children:"Home"}),e.jsx(n,{href:"/method",children:"Method"}),e.jsx(n,{href:"/services",children:"Services"}),e.jsx(n,{href:"/verticals",children:"Industries"}),e.jsx(n,{href:"/case-studies",children:"Case Studies"}),e.jsx(n,{href:"/post",children:"Blog"}),e.jsx(n,{href:"/about",children:"About"})]}),e.jsxs(p,{title:"Connect",children:[e.jsx(n,{href:"/contact",children:"Contact"}),e.jsx(n,{href:"mailto:[email protected]",external:!0,children:"Email us"}),e.jsx(n,{href:"https://www.instagram.com/dancingchickenmedia/",external:!0,children:"Instagram"}),e.jsx(n,{href:"https://www.facebook.com/DancingChickenMedia/",external:!0,children:"Facebook"}),e.jsx(n,{href:"https://www.linkedin.com/company/dancingchicken/",external:!0,children:"LinkedIn"})]}),e.jsxs(p,{title:"Diagnostic",wide:!0,children:[e.jsx("p",{className:"t-meta text-white/70 mb-5",children:"30 minutes. Senior strategist walkthrough. Honest read."}),e.jsxs(l,{href:"/contact",className:"hover-arrow inline-flex items-center gap-2 t-body font-semibold text-white border-b border-[var(--dc-base)] pb-1",children:["Book a funnel audit",e.jsx(g,{"data-arrow":!0,className:"h-4 w-4"})]})]})]}),e.jsxs("div",{className:"mt-12 lg:mt-16 pt-8 border-t border-white/15 flex flex-col-reverse lg:flex-row lg:items-center lg:justify-between gap-5 lg:gap-6",children:[e.jsxs("p",{className:"t-meta text-white/60",children:["© ",new Date().getFullYear()," Dancing Chicken Media. All rights reserved."]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-2 t-meta text-white/60",children:[e.jsx(l,{href:"/legal/privacy",className:"hover:text-white",children:"Privacy Policy"}),e.jsx(l,{href:"/legal/terms",className:"hover:text-white",children:"Terms of Service"}),e.jsx(l,{href:"/legal/cookies",className:"hover:text-white",children:"Cookie Policy"}),e.jsx(l,{href:"/legal/consent",className:"hover:text-white",children:"Communications Consent"})]})]})]})})}function p({title:t,children:r,wide:o}){return e.jsxs("div",{className:o?"col-span-12 sm:col-span-6 lg:col-span-3":"col-span-6 sm:col-span-3 lg:col-span-2",children:[e.jsx("h4",{className:"t-meta text-white/50 mb-5",style:{fontWeight:500,letterSpacing:"0.04em",textTransform:"uppercase"},children:t}),e.jsx("div",{className:"flex flex-col gap-3 min-w-0",children:r})]})}function n({href:t,children:r,external:o}){const d="text-white/85 hover:text-white transition-colors t-body break-words",m={fontFamily:"Geist, sans-serif",overflowWrap:"anywhere"};return o?e.jsx("a",{href:t,target:t.startsWith("http")?"_blank":void 0,rel:"noreferrer",className:d,style:m,children:r}):e.jsx(l,{href:t,className:d,style:m,children:r})}function Y({children:t}){return e.jsxs("div",{className:"min-h-screen flex flex-col bg-white text-[var(--dc-ink)]",children:[e.jsx(z,{}),e.jsx("main",{className:"flex-1 pt-16 lg:pt-[88px]",children:t}),e.jsx(L,{})]})}export{g as A,Y as S};

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.