{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"portfolio-portfolio-about-and-skills-education-certifications","type":"registry:block","title":"Education Certifications","files":[{"path":"components/blocks/portfolio/portfolio-about-and-skills/education-certifications.tsx","content":"import { Badge } from '@/components/ui/badge';\nimport { Button } from '@/components/ui/button';\n\nimport { Sparkles } from 'lucide-react';\n\n// Sample education data\nconst education = [\n  {\n    id: 1,\n    degree: 'Master of Science in Computer Science',\n    institution: 'Stanford University',\n    logo: 'https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=1171&auto=format&fit=crop',\n    years: '2012 - 2014',\n    description:\n      \"Specialized in Machine Learning and Distributed Systems. Thesis on 'Optimizing Resource Allocation in Cloud Computing Environments'.\",\n    achievements: [\n      'GPA: 3.92/4.0',\n      'Graduate Teaching Assistant for Advanced Algorithms',\n      'Stanford AI Lab Research Assistant',\n    ],\n  },\n  {\n    id: 2,\n    degree: 'Bachelor of Science in Software Engineering',\n    institution: 'University of California, Berkeley',\n    logo: 'https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=1171&auto=format&fit=crop',\n    years: '2008 - 2012',\n    description:\n      'Strong focus on software architecture and development methodologies. Minor in Business Administration.',\n    achievements: [\n      \"Dean's List (8 semesters)\",\n      'Capstone Project: Real-time Collaborative Code Editor',\n      'ACM Programming Team Captain',\n    ],\n  },\n];\n\n// Sample certification data\nconst certifications = [\n  {\n    id: 1,\n    name: 'AWS Certified Solutions Architect - Professional',\n    issuer: 'Amazon Web Services',\n    logo: 'https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1172&auto=format&fit=crop',\n    year: '2023',\n    credentialId: 'AWS-PSA-00123456',\n    skills: [\n      'Cloud Architecture',\n      'Serverless',\n      'AWS Services',\n      'Cloud Security',\n    ],\n  },\n  {\n    id: 2,\n    name: 'Certified Kubernetes Administrator (CKA)',\n    issuer: 'Cloud Native Computing Foundation',\n    logo: 'https://images.unsplash.com/photo-1558494949-ef010cbdcc31?q=80&w=1034&auto=format&fit=crop',\n    year: '2022',\n    credentialId: 'CKA-1234-5678-9012',\n    skills: ['Kubernetes', 'Container Orchestration', 'DevOps', 'Cloud Native'],\n  },\n  {\n    id: 3,\n    name: 'Machine Learning Engineering Certification',\n    issuer: 'Google Cloud',\n    logo: 'https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?q=80&w=1170&auto=format&fit=crop',\n    year: '2021',\n    credentialId: 'GCP-ML-ENG-12345',\n    skills: ['Machine Learning', 'TensorFlow', 'Data Analysis', 'AI Systems'],\n  },\n  {\n    id: 4,\n    name: 'Certified Scrum Master (CSM)',\n    issuer: 'Scrum Alliance',\n    logo: 'https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=1170&auto=format&fit=crop',\n    year: '2020',\n    credentialId: 'CSM-123456',\n    skills: [\n      'Agile Methodologies',\n      'Team Leadership',\n      'Project Management',\n      'Sprint Planning',\n    ],\n  },\n];\n\nexport default function EducationCertifications() {\n  return (\n    <div className=\"bg-background py-16 md:py-24\">\n      <div className=\"container mx-auto px-4 2xl:max-w-[1400px]\">\n        <div className=\"mb-16 text-center\">\n          <Badge\n            variant=\"outline\"\n            className=\"border-primary/30 text-primary mx-auto px-3 py-1 text-xs font-medium tracking-wide uppercase\"\n          >\n            Credentials\n          </Badge>\n          <h2 className=\"mt-2 text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl\">\n            Education & Certifications\n          </h2>\n          <p className=\"text-muted-foreground mx-auto mt-4 max-w-2xl\">\n            My academic background and professional credentials that have shaped\n            my expertise and technical knowledge in the field.\n          </p>\n        </div>\n\n        {/* Education Section */}\n        <div className=\"mb-20\">\n          <h3 className=\"mb-8 flex items-center justify-center gap-2 text-2xl font-bold\">\n            <Sparkles className=\"text-primary h-5 w-5\" />\n            <span>Academic Background</span>\n          </h3>\n\n          <div className=\"grid grid-cols-1 gap-8 md:grid-cols-2\">\n            {education.map((item) => (\n              <div\n                key={item.id}\n                className=\"bg-card overflow-hidden rounded-xl border shadow-sm transition-all hover:shadow-md\"\n              >\n                <div className=\"relative h-40 w-full overflow-hidden\">\n                  <div className=\"absolute inset-0 z-10 bg-gradient-to-t from-black/60 to-black/10\"></div>\n                  <img\n                    src={item.logo}\n                    alt={item.institution}\n                    className=\"object-cover\"\n                  />\n                  <div className=\"absolute bottom-0 left-0 z-20 p-4 text-white\">\n                    <div className=\"text-sm font-medium\">{item.years}</div>\n                    <h4 className=\"text-xl font-bold\">{item.degree}</h4>\n                    <p className=\"text-sm text-white/80\">{item.institution}</p>\n                  </div>\n                </div>\n\n                <div className=\"p-5\">\n                  <p className=\"text-muted-foreground mb-4\">\n                    {item.description}\n                  </p>\n\n                  <h5 className=\"text-primary mb-2 text-sm font-medium uppercase\">\n                    Highlights\n                  </h5>\n                  <ul className=\"space-y-1 text-sm\">\n                    {item.achievements.map((achievement, i) => (\n                      <li key={i} className=\"flex items-start\">\n                        <span className=\"text-primary mr-2\">•</span>\n                        {achievement}\n                      </li>\n                    ))}\n                  </ul>\n                </div>\n              </div>\n            ))}\n          </div>\n        </div>\n\n        {/* Certifications Section */}\n        <div>\n          <h3 className=\"mb-8 flex flex-col items-center justify-center gap-2 text-2xl font-bold\">\n            <Badge className=\"mb-1 h-5 px-2 py-0.5 sm:mb-0\">Professional</Badge>\n            <span>Certifications & Training</span>\n          </h3>\n\n          <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4\">\n            {certifications.map((cert) => (\n              <div\n                key={cert.id}\n                className=\"group bg-card relative overflow-hidden rounded-lg border p-4 transition-all hover:shadow-md\"\n              >\n                <div className=\"xs:flex-row flex flex-col items-start gap-3\">\n                  <div className=\"bg-muted xs:mb-0 relative mb-2 h-20 w-full shrink-0 overflow-hidden rounded-md\">\n                    <img\n                      src={cert.logo}\n                      alt={cert.issuer}\n                      className=\"object-cover\"\n                    />\n                  </div>\n                  <div className=\"\">\n                    <h4 className=\"leading-tight font-semibold\">{cert.name}</h4>\n                    <p className=\"text-muted-foreground text-sm\">\n                      {cert.issuer}\n                    </p>\n                    <div className=\"mt-2 flex flex-wrap items-center gap-y-1 text-xs\">\n                      <Badge variant=\"secondary\" className=\"mr-2\">\n                        {cert.year}\n                      </Badge>\n                      <span className=\"text-muted-foreground\">\n                        ID: {cert.credentialId}\n                      </span>\n                    </div>\n                  </div>\n                </div>\n\n                <div className=\"mt-3\">\n                  <div className=\"flex flex-wrap gap-2\">\n                    {cert.skills.map((skill) => (\n                      <Badge key={skill} variant=\"outline\" className=\"text-xs\">\n                        {skill}\n                      </Badge>\n                    ))}\n                  </div>\n                </div>\n              </div>\n            ))}\n          </div>\n        </div>\n\n        {/* Continuing Education Banner */}\n        <div className=\"bg-muted mt-16 rounded-xl p-6 text-center\">\n          <h4 className=\"text-xl font-semibold\">Continuous Learner</h4>\n          <p className=\"text-muted-foreground mx-auto mt-2 max-w-2xl text-sm\">\n            I regularly participate in workshops, conferences, and online\n            courses to stay current with emerging technologies and best\n            practices in software development.\n          </p>\n          <Button variant=\"outline\" className=\"mt-4\" asChild>\n            <a href=\"#contact\">Let&apos;s Connect and Learn Together</a>\n          </Button>\n        </div>\n      </div>\n    </div>\n  );\n}\n","type":"registry:component","target":"components/blocks/portfolio/portfolio-about-and-skills/education-certifications.tsx"},{"path":"components/ui/badge.tsx","content":"import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { Slot } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst badgeVariants = cva(\n  \"group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!\",\n  {\n    variants: {\n      variant: {\n        default: \"bg-primary text-primary-foreground [a]:hover:bg-primary/80\",\n        secondary:\n          \"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80\",\n        destructive:\n          \"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20\",\n        outline:\n          \"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground\",\n        ghost:\n          \"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50\",\n        link: \"text-primary underline-offset-4 hover:underline\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n    },\n  }\n)\n\nfunction Badge({\n  className,\n  variant = \"default\",\n  asChild = false,\n  ...props\n}: React.ComponentProps<\"span\"> &\n  VariantProps<typeof badgeVariants> & { asChild?: boolean }) {\n  const Comp = asChild ? Slot.Root : \"span\"\n\n  return (\n    <Comp\n      data-slot=\"badge\"\n      data-variant={variant}\n      className={cn(badgeVariants({ variant }), className)}\n      {...props}\n    />\n  )\n}\n\nexport { Badge, badgeVariants }\n","type":"registry:ui","target":"components/ui/badge.tsx"},{"path":"components/ui/button.tsx","content":"import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { Slot } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst buttonVariants = cva(\n  \"group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n  {\n    variants: {\n      variant: {\n        default: \"bg-primary text-primary-foreground hover:bg-primary/80\",\n        outline:\n          \"border-border bg-background shadow-xs hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50\",\n        secondary:\n          \"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground\",\n        ghost:\n          \"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50\",\n        destructive:\n          \"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40\",\n        link: \"text-primary underline-offset-4 hover:underline\",\n      },\n      size: {\n        default:\n          \"h-9 gap-1.5 px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2\",\n        xs: \"h-6 gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3\",\n        sm: \"h-8 gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5\",\n        lg: \"h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2\",\n        icon: \"size-9\",\n        \"icon-xs\":\n          \"size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3\",\n        \"icon-sm\":\n          \"size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md\",\n        \"icon-lg\": \"size-10\",\n      },\n    },\n    defaultVariants: {\n      variant: \"default\",\n      size: \"default\",\n    },\n  }\n)\n\nfunction Button({\n  className,\n  variant = \"default\",\n  size = \"default\",\n  asChild = false,\n  ...props\n}: React.ComponentProps<\"button\"> &\n  VariantProps<typeof buttonVariants> & {\n    asChild?: boolean\n  }) {\n  const Comp = asChild ? Slot.Root : \"button\"\n\n  return (\n    <Comp\n      data-slot=\"button\"\n      data-variant={variant}\n      data-size={size}\n      className={cn(buttonVariants({ variant, size, className }))}\n      {...props}\n    />\n  )\n}\n\nexport { Button, buttonVariants }\n","type":"registry:ui","target":"components/ui/button.tsx"}],"description":"A list of degrees, courses, and certifications with issuer, date, and credential. Shows formal training and qualifications on a portfolio or resume page.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}