{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-not-found",
  "type": "registry:block",
  "title": "Not found",
  "description": "A missing page before or outside the app: what happened and the ways back.",
  "registryDependencies": [
    "https://wideset.co/r/block-styles.json",
    "https://wideset.co/r/button.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/not-found/address.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/not-found/address.tsx",
      "content": "'use client';\n\n// TODO(custom): an address shown as data on a quiet fill; Wideset has no code or snippet component.\n\n/** The address that led nowhere, as typed: on its own line, wrapping anywhere, never cut short. */\nexport function Address({ url }: { url: string }) {\n  return (\n    <p className=\"bg-ws-static-alpha-subtle rounded-ws-control-lg px-ws-7 py-ws-5 typography-body-md text-ws-static-base w-full break-all\">\n      {url}\n    </p>\n  );\n}\n"
    },
    {
      "path": "src/blocks/not-found/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/not-found/brand-mark.tsx",
      "content": "'use client';\n\nimport { cn } from '@/lib/wideset/utils';\n\nconst TILE =\n  'M0 16C0 8.45753 0 4.68629 2.34315 2.34315C4.68629 0 8.45753 0 16 0C23.5425 0 27.3137 0 29.6569 2.34315C32 4.68629 32 8.45753 32 16C32 23.5425 32 27.3137 29.6569 29.6569C27.3137 32 23.5425 32 16 32C8.45753 32 4.68629 32 2.34315 29.6569C0 27.3137 0 23.5425 0 16Z';\n\n/**\n * Orbit's mark: a planet and its ring on the inverse tile, so it inverts in dark mode. It takes\n * the size of its place (32px in a sidebar, 36px in a larger switcher). Decorative beside the\n * product's name; give it a `label` when it stands alone.\n */\nexport function BrandMark({ className, label }: { className?: string; label?: string }) {\n  return (\n    <svg\n      viewBox=\"0 0 32 32\"\n      role={label ? 'img' : undefined}\n      aria-label={label}\n      aria-hidden={label ? undefined : true}\n      className={cn('size-ws-14 shrink-0', className)}\n    >\n      <path d={TILE} className=\"fill-(--ws-static-fill-inverse-background)\" />\n      <ellipse\n        cx=\"16\"\n        cy=\"16\"\n        rx=\"10.5\"\n        ry=\"4\"\n        transform=\"rotate(-28 16 16)\"\n        strokeWidth=\"1.75\"\n        className=\"fill-none stroke-(--ws-static-text-inverse-strong)\"\n      />\n      <circle cx=\"16\" cy=\"16\" r=\"4.75\" className=\"fill-(--ws-static-text-inverse-strong)\" />\n    </svg>\n  );\n}\n"
    },
    {
      "path": "src/blocks/not-found/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/not-found/data.ts",
      "content": "/*\n  Orbit, a customer and revenue platform. Someone followed an old link to a report in the Lumen\n  Studio workspace that has since been deleted.\n*/\n\n/** The address that was not found. A real screen shows `window.location.href`. */\nexport const missingUrl = 'https://app.orbit.so/lumen-studio/reports/q3-board-pack';\n\nexport const supportEmail = 'support@orbit.so';\n\n/** Where the ways back lead: replace with your routes. */\nexport const ROUTES = {\n  dashboard: '#dashboard',\n  // The missing address goes along in the subject, so support knows what was opened.\n  support: `mailto:${supportEmail}?subject=${encodeURIComponent(`Page not found: ${missingUrl}`)}`,\n};\n"
    },
    {
      "path": "src/blocks/not-found/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/not-found/index.tsx",
      "content": "'use client';\n\nimport '@/styles/wideset-blocks.css';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\n\nimport { Address } from './address';\nimport { BrandMark } from './brand-mark';\nimport { missingUrl, ROUTES } from './data';\n\n/**\n * Not found (Inset direction, no navigation): a missing page outside the app, in a raised card on\n * the grey ground. One plain sentence on what happened, the address that was not found, and the\n * two ways back.\n */\nexport default function NotFound() {\n  return (\n    <main className=\"ws-block-utility bg-ws-static-background p-ws-12 flex min-h-dvh items-center justify-center\">\n      <div className=\"bg-ws-static-foreground rounded-ws-container-xl shadow-ws-low gap-ws-16 p-ws-12 sm:p-ws-18 flex w-full max-w-[32rem] flex-col items-start\">\n        <BrandMark label=\"Orbit\" className=\"size-ws-16\" />\n\n        <div className=\"gap-ws-12 flex w-full flex-col\">\n          <div className=\"gap-ws-3 flex flex-col\">\n            <p className=\"typography-label-sm text-ws-static-subtle\">Error 404</p>\n            <h1 className=\"typography-title-md text-ws-static-strong\">Page not found</h1>\n            <p className=\"typography-body-md text-ws-static-base\">\n              There’s no page at this address: it was moved or deleted, or the link has a typo.\n            </p>\n          </div>\n          <Address url={missingUrl} />\n        </div>\n\n        <div className=\"gap-ws-5 flex flex-wrap\">\n          <Button asChild size=\"sm\">\n            <a href={ROUTES.dashboard}>Go to dashboard</a>\n          </Button>\n          <Button asChild size=\"sm\" variant=\"secondary\" preset=\"border\">\n            <a href={ROUTES.support}>Contact support</a>\n          </Button>\n        </div>\n      </div>\n    </main>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
