{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-project-details-project-brief-1",
  "type": "registry:block",
  "title": "Project brief",
  "description": "Projects card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "projects"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/project-details-project-brief-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/project-details-project-brief-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/records.tsx:261.\nimport { useSearchParams } from \"react-router-dom\";\nimport { useWorkData } from \"./runtime/components/overtrue/workspace/work-data\";\nimport { SceneCard } from \"./runtime/components/overtrue/scenes/shared\";\nconst projectBriefs: Record<string, string> = {\n  \"PRJ-241\":\n    \"Help visitors feel welcome from the moment they arrive. Connect physical wayfinding with clear digital guidance, and make the next step obvious at every touchpoint.\",\n  \"PRJ-242\":\n    \"Give members one reliable place to manage their profile, discover resources, and participate in their community. Keep permissions clear for members, editors, and reviewers.\",\n  \"PRJ-243\":\n    \"Create a consistent identity for the studio’s next chapter. Deliver a flexible logo system, a concise brand guide, and production-ready print and digital assets.\",\n  \"PRJ-244\":\n    \"Understand where new customers need help. Test an onboarding journey that gets each customer to their first useful outcome with fewer hand-offs.\",\n  \"PRJ-245\":\n    \"Give the editorial team reusable templates for a consistent publication. Document the system so editors can publish without waiting for a designer.\",\n  \"PRJ-246\":\n    \"Introduce the community with a clear story and a focused launch campaign. Align the landing page, invitation, and first member experience.\",\n};\nfunction CardExample() {\n  const [params] = useSearchParams();\n  const { projects } = useWorkData();\n  const project =\n    projects.find((item) => item.id === params.get(\"project\")) ?? projects[0];\n\n  return (\n    <>\n      <div className=\"overtrue-block-content\" data-workspace-page=\"datagrid\">\n        <SceneCard title=\"Project brief\">\n          <p className=\"scene-project-brief\">\n            {project.brief ||\n              projectBriefs[project.id] ||\n              \"The project has been created. Agree the scope with the team before starting delivery.\"}\n          </p>\n          <div className=\"scene-project-milestones\">\n            <div>\n              <small>Current phase</small>\n              <strong>\n                {project.status === \"Complete\"\n                  ? \"Delivered\"\n                  : project.status === \"In review\"\n                    ? \"Client review\"\n                    : \"Design & delivery\"}\n              </strong>\n            </div>\n            <div>\n              <small>Next milestone</small>\n              <strong>\n                {project.due} ·{\" \"}\n                {project.status === \"Complete\"\n                  ? \"Final handover\"\n                  : \"Project review\"}\n              </strong>\n            </div>\n          </div>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/project-details-project-brief-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
