{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "biography",
  "title": "Biography Section",
  "description": "A section showcasing government official profile and official biography layout.",
  "registryDependencies": [
    "card",
    "button"
  ],
  "files": [
    {
      "path": "src/lib/demo/blocks/sections/biography/index.tsx",
      "content": "import React from 'react';\nimport { Card, CardHeader, CardContent } from '@kapwa/card';\nimport { OfficialBiography, BiographyProfile } from '@kapwa/official-biography';\n\ntype BiographySectionProps = {\n  headerTitle: string;\n  headerSubtitle?: string;\n};\n\nconst biographyProfile: BiographyProfile = {\n  name: 'Ferdinand Marcos Jr.',\n  position: '17th President of the Republic of the Philippines',\n  servingSince: 'Serving since June 30, 2022',\n  profileImage:\n    'https://images.pexels.com/photos/2379005/pexels-photo-2379005.jpeg',\n  bannerImage:\n    'https://images.pexels.com/photos/1714455/pexels-photo-1714455.jpeg',\n  contactInfo: {\n    office: 'Malacañang Palace, Manila',\n    phone: '+63 (2) 8736 8645',\n    email: 'op@president.gov.ph',\n    website: 'www.president.gov.ph',\n  },\n  education: [\n    {\n      degree: 'Bachelor of Arts in Political Science',\n      institution: 'University of Oxford',\n      year: '1975',\n    },\n    {\n      degree: 'Master in Business Administration',\n      institution: 'Wharton School of Business',\n      year: '1979',\n    },\n  ],\n  biography: [\n    'Ferdinand \"Bongbong\" Romualdez Marcos Jr. serves as the 17th President of the Philippines, assuming office on June 30, 2022. As the country\\'s chief executive, he leads the implementation of laws and policies aimed at national development and public welfare.',\n    'Prior to his presidency, he served in various government positions including as a Senator of the Philippines from 2010 to 2016, and as Governor of Ilocos Norte. His administration focuses on economic recovery, infrastructure development, and digital transformation of government services.',\n  ],\n  achievements: [\n    'Led the implementation of digital transformation initiatives across government agencies',\n    'Established international partnerships for economic cooperation',\n    'Launched nationwide infrastructure development programs',\n    'Reformed tax collection systems for improved efficiency',\n  ],\n};\n\nconst BiographySection: React.FC<BiographySectionProps> = ({\n  headerTitle,\n  headerSubtitle,\n}: BiographySectionProps) => {\n  return (\n    <Card className='mb-2'>\n      <CardHeader>\n        <h2 className='text-2xl font-semibold'>{headerTitle}</h2>\n        {headerSubtitle && <p className='text-gray-800'>{headerSubtitle}</p>}\n      </CardHeader>\n      <CardContent>\n        <OfficialBiography\n          profile={biographyProfile}\n          contactCta={{\n            text: 'Contact Office',\n            onClick: () => {\n              alert('Contact button clicked!');\n            },\n          }}\n          websiteCta={{\n            text: 'Visit Website',\n            onClick: () => {\n              window.open(biographyProfile.contactInfo.website, '_blank');\n            },\n          }}\n        />\n      </CardContent>\n    </Card>\n  );\n};\n\nexport { BiographySection };\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}