{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "agency",
  "title": "Agency",
  "description": "A site for an independent design studio: its name across the page, a reel of client sites, the work, services, clients, news and contact, plus case studies, services, studio, careers, journal, contact, legal and not-found pages.",
  "registryDependencies": [
    "https://eased.dev/r/eased-tokens.json",
    "https://eased.dev/r/eased-motion.json",
    "https://eased.dev/r/agency-header.json",
    "https://eased.dev/r/agency-reel.json",
    "https://eased.dev/r/agency-intro.json",
    "https://eased.dev/r/agency-work.json",
    "https://eased.dev/r/agency-services.json",
    "https://eased.dev/r/agency-clients.json",
    "https://eased.dev/r/agency-latest.json",
    "https://eased.dev/r/agency-contact.json",
    "https://eased.dev/r/agency-footer.json",
    "https://eased.dev/r/agency-work-page.json",
    "https://eased.dev/r/agency-case-study.json",
    "https://eased.dev/r/agency-services-page.json",
    "https://eased.dev/r/agency-studio.json",
    "https://eased.dev/r/agency-careers.json",
    "https://eased.dev/r/agency-journal.json",
    "https://eased.dev/r/agency-enquiry.json",
    "https://eased.dev/r/agency-legal.json",
    "https://eased.dev/r/agency-not-found.json"
  ],
  "files": [
    {
      "path": "src/registry/eased/templates/agency/site.tsx",
      "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { CareersIndex, JobPost } from \"./careers\";\nimport { CaseStudy } from \"./case-study\";\nimport { Clients } from \"./clients\";\nimport { Contact } from \"./contact\";\nimport type { Project, RoleSlug, ServiceId } from \"./content\";\nimport { ContactPage } from \"./enquiry\";\nimport { Footer } from \"./footer\";\nimport { Header } from \"./header\";\nimport { Intro } from \"./intro\";\nimport { JournalIndex, JournalPost } from \"./journal\";\nimport { BaseProvider, PALETTE } from \"./kit\";\nimport { Latest } from \"./latest\";\nimport { LegalPage } from \"./legal\";\nimport { NotFound } from \"./not-found\";\nimport { Reel } from \"./reel\";\nimport { Services } from \"./services\";\nimport { ServicePage, ServicesIndex } from \"./services-page\";\nimport { Studio, StudioCareers } from \"./studio\";\nimport { Work } from \"./work\";\nimport { WorkPage } from \"./work-page\";\n\n/**\n * The agency template's pages, one export per route. Render `Agency` from app/page.tsx,\n * `AgencyWork` from app/work/page.tsx, `AgencyWorkKite` from app/work/kite/page.tsx, and so on\n * (the starter writes every route for you); `AgencyNotFound` is app/not-found.tsx. `base` is\n * where the site is mounted, for links between its pages; leave it out at the root of your app.\n */\ntype PageProps = { base?: string };\n\nexport function Agency({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base} home>\n      <Reel />\n      <Intro />\n      <Work />\n      <Services />\n      <Clients />\n      <Latest />\n      <Contact />\n    </Page>\n  );\n}\n\nexport function AgencyWork({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <WorkPage />\n      <Contact />\n    </Page>\n  );\n}\n\n/* ---------- Case studies: /work/<id>, one per project in content.ts ---------------------- */\n\nconst caseStudy = (id: Project[\"id\"]) =>\n  function AgencyCaseStudy({ base = \"\" }: PageProps) {\n    return (\n      <Page base={base}>\n        <CaseStudy id={id} />\n      </Page>\n    );\n  };\n\nexport const AgencyWorkKite = caseStudy(\"kite\");\nexport const AgencyWorkHalden = caseStudy(\"halden\");\nexport const AgencyWorkAtlas = caseStudy(\"atlas\");\nexport const AgencyWorkMono = caseStudy(\"mono\");\nexport const AgencyWorkFenna = caseStudy(\"fenna\");\nexport const AgencyWorkOstra = caseStudy(\"ostra\");\n\n/* ---------- Services: /services and /services/<slug> ------------------------------------ */\n\nexport function AgencyServices({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <ServicesIndex />\n      <Contact />\n    </Page>\n  );\n}\n\nconst service = (id: ServiceId) =>\n  function AgencyService({ base = \"\" }: PageProps) {\n    return (\n      <Page base={base}>\n        <ServicePage id={id} />\n        <Contact />\n      </Page>\n    );\n  };\n\nexport const AgencyServiceBrand = service(\"brand\");\nexport const AgencyServiceProduct = service(\"product\");\nexport const AgencyServiceWebsites = service(\"websites\");\nexport const AgencyServiceCampaigns = service(\"campaigns\");\n\n/* ---------- Studio, careers and the journal --------------------------------------------- */\n\nexport function AgencyStudio({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <Studio />\n      <Clients />\n      <StudioCareers />\n    </Page>\n  );\n}\n\nexport function AgencyCareers({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <CareersIndex />\n    </Page>\n  );\n}\n\nconst jobPost = (slug: RoleSlug) =>\n  function AgencyJobPost({ base = \"\" }: PageProps) {\n    return (\n      <Page base={base}>\n        <JobPost slug={slug} />\n      </Page>\n    );\n  };\n\nexport const AgencyCareersSeniorProductDesigner = jobPost(\"senior-product-designer\");\nexport const AgencyCareersDesignEngineer = jobPost(\"design-engineer\");\nexport const AgencyCareersProducer = jobPost(\"producer\");\n\nexport function AgencyJournal({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <JournalIndex />\n    </Page>\n  );\n}\n\nconst journalPost = (slug: string) =>\n  function AgencyJournalPost({ base = \"\" }: PageProps) {\n    return (\n      <Page base={base}>\n        <JournalPost slug={slug} />\n      </Page>\n    );\n  };\n\nexport const AgencyJournalStudioOfTheYear = journalPost(\"studio-of-the-year\");\nexport const AgencyJournalMotionBeforeScreens = journalPost(\"motion-before-screens\");\nexport const AgencyJournalKiteOneYearOn = journalPost(\"kite-one-year-on\");\nexport const AgencyJournalMonoSleeveSystem = journalPost(\"mono-sleeve-system\");\n\n/* ---------- Contact, legal and not found ------------------------------------------------ */\n\nexport function AgencyContact({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <ContactPage />\n    </Page>\n  );\n}\n\nexport function AgencyPrivacy({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <LegalPage doc=\"privacy\" />\n    </Page>\n  );\n}\n\nexport function AgencyImprint({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <LegalPage doc=\"imprint\" />\n    </Page>\n  );\n}\n\nexport function AgencyNotFound({ base = \"\" }: PageProps) {\n  return (\n    <Page base={base}>\n      <NotFound />\n    </Page>\n  );\n}\n\n/** The canvas in the studio's palette, the masthead (full on the home page, compact elsewhere) and the footer around a page's sections. */\nfunction Page({ base, home = false, children }: { base: string; home?: boolean; children: ReactNode }) {\n  return (\n    <BaseProvider base={base}>\n      <div id=\"top\" className={`min-h-dvh pb-pad-xs font-sans text-ui text-text ${PALETTE}`}>\n        <Header compact={!home} />\n        <main className=\"mt-in sm:mt-pad-md\">{children}</main>\n        <Footer />\n      </div>\n    </BaseProvider>\n  );\n}\n",
      "type": "registry:component",
      "target": "@components/eased/templates/agency/site.tsx"
    }
  ],
  "meta": {
    "template": "agency",
    "kind": "template",
    "industries": [
      "media"
    ]
  },
  "type": "registry:block"
}