{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-privacy-preferences-about-this-preview-2",
  "type": "registry:block",
  "title": "About this preview",
  "description": "Workspace card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "workspace"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/privacy-preferences-about-this-preview-2.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/privacy-preferences-about-this-preview-2.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/state-patterns.tsx:134.\nimport { useState } from \"react\";\nimport { DetailList } from \"./runtime/registry/overtrue/detail-list\";\nimport { SceneCard, Go } from \"./runtime/components/overtrue/scenes/shared\";\n\nfunction CardExample() {\n  const [values] = useState({ analytics: false, preferences: true });\n  const [saved] = useState(values);\n\n  return (\n    <>\n      <div\n        className=\"overtrue-block-content\"\n        data-workspace-page=\"cookie-banner\"\n      >\n        <SceneCard title=\"About this preview\">\n          <p>\n            This page stores your consent choice locally. It does not connect an\n            analytics service or load advertising trackers.\n          </p>\n          <DetailList\n            items={[\n              { id: \"essential\", label: \"Essential\", value: \"Enabled\" },\n              {\n                id: \"preferences\",\n                label: \"Preferences\",\n                value: saved.preferences ? \"Allowed\" : \"Disabled\",\n              },\n              {\n                id: \"analytics\",\n                label: \"Analytics\",\n                value: saved.analytics ? \"Allowed\" : \"Disabled\",\n              },\n            ]}\n          />\n          <Go to=\"/terms-of-service\">Workspace terms</Go>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/privacy-preferences-about-this-preview-2. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
