{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"portfolio-portfolio-core-services-overview-accordion-services","type":"registry:block","title":"Accordion Services","files":[{"path":"components/blocks/portfolio/portfolio-core-services-overview/accordion-services.tsx","content":"import { ArrowRight } from 'lucide-react';\nimport { Button } from '@/components/ui/button';\nimport {\n  Accordion,\n  AccordionContent,\n  AccordionItem,\n  AccordionTrigger,\n} from '@/components/ui/accordion';\n\n// Sample services data\nconst services = [\n  {\n    id: 'service-1',\n    title: 'Web Development',\n    shortDescription: 'Custom websites and web applications',\n    fullDescription:\n      'I build high-performance websites and applications that look great and work flawlessly across all devices. Using modern technologies like React, Next.js, and Tailwind CSS, I create digital experiences that help your business grow.',\n    benefits: [\n      'Responsive design that works on all devices',\n      'Fast loading speeds and optimized performance',\n      'SEO-friendly code structure',\n      'Custom features tailored to your business needs',\n      'Ongoing maintenance and support available',\n    ],\n    link: '#',\n  },\n  {\n    id: 'service-2',\n    title: 'UI/UX Design',\n    shortDescription: 'User-centered design solutions',\n    fullDescription:\n      \"Good design is about more than just aesthetics—it's about creating intuitive, enjoyable experiences for your users. I combine visual design with usability principles to create interfaces that delight your users and achieve your business goals.\",\n    benefits: [\n      'User research and persona development',\n      'Wireframing and prototyping',\n      'Visual design with attention to brand consistency',\n      'Usability testing and iteration',\n      'Design systems that scale with your business',\n    ],\n    link: '#',\n  },\n  {\n    id: 'service-3',\n    title: 'E-commerce Solutions',\n    shortDescription: 'Online stores that drive sales',\n    fullDescription:\n      'Turn your products into profit with a custom e-commerce solution that makes selling online simple. I create online stores that are easy to manage, secure for your customers, and optimized for conversions.',\n    benefits: [\n      'Seamless checkout experiences',\n      'Product catalog management',\n      'Secure payment processing',\n      'Inventory management integrations',\n      'Mobile-optimized shopping experience',\n    ],\n    link: '#',\n  },\n  {\n    id: 'service-4',\n    title: 'Digital Marketing & SEO',\n    shortDescription: 'Strategies to increase visibility',\n    fullDescription:\n      \"The best website in the world won't help your business if no one can find it. I develop comprehensive digital marketing and SEO strategies that drive qualified traffic to your site and convert visitors into customers.\",\n    benefits: [\n      'Technical SEO optimization',\n      'Keyword research and content strategy',\n      'Local SEO for brick-and-mortar businesses',\n      'Analytics setup and performance tracking',\n      'Conversion rate optimization',\n    ],\n    link: '#',\n  },\n  {\n    id: 'service-5',\n    title: 'Website Maintenance',\n    shortDescription: 'Keeping your site secure and updated',\n    fullDescription:\n      \"A website is never truly 'finished.' I offer ongoing maintenance services to ensure your site remains secure, up-to-date, and performing at its best. From security updates to content changes, I'll keep your digital presence running smoothly.\",\n    benefits: [\n      'Regular security updates and monitoring',\n      'Performance optimization',\n      'Content updates and additions',\n      'Backup and recovery solutions',\n      '24/7 support for critical issues',\n    ],\n    link: '#',\n  },\n];\n\nexport default function AccordionServices() {\n  return (\n    <section className=\"bg-background py-16 md:py-24\">\n      <div className=\"container mx-auto px-4 2xl:max-w-[1400px]\">\n        {/* Section header */}\n        <div className=\"mb-12 text-center md:mb-16\">\n          <h2 className=\"text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl\">\n            My Services\n          </h2>\n          <p className=\"text-muted-foreground mx-auto mt-4 max-w-2xl text-lg\">\n            Click on any service to learn more about how I can help your\n            business succeed online\n          </p>\n        </div>\n\n        <div className=\"mx-auto max-w-3xl\">\n          <Accordion type=\"single\" collapsible className=\"w-full\">\n            {services.map((service) => (\n              <AccordionItem\n                key={service.id}\n                value={service.id}\n                className=\"border-primary/10 border-b px-0\"\n              >\n                <AccordionTrigger className=\"py-6 hover:no-underline\">\n                  <div className=\"flex flex-1 items-center text-left\">\n                    <div>\n                      <h3 className=\"text-xl font-medium\">{service.title}</h3>\n                      <p className=\"text-muted-foreground text-sm\">\n                        {service.shortDescription}\n                      </p>\n                    </div>\n                  </div>\n                </AccordionTrigger>\n                <AccordionContent className=\"pb-6\">\n                  <div className=\"space-y-4\">\n                    <p>{service.fullDescription}</p>\n                    <div>\n                      <h4 className=\"text-muted-foreground mb-2 text-sm font-medium\">\n                        Key Benefits:\n                      </h4>\n                      <ul className=\"grid gap-2 sm:grid-cols-2\">\n                        {service.benefits.map((benefit, index) => (\n                          <li\n                            key={index}\n                            className=\"flex items-start gap-2 text-sm\"\n                          >\n                            <span className=\"text-primary text-xl leading-tight\">\n                              •\n                            </span>\n                            <span>{benefit}</span>\n                          </li>\n                        ))}\n                      </ul>\n                    </div>\n                    <div className=\"pt-2\">\n                      <Button variant=\"outline\" size=\"sm\" asChild>\n                        <a\n                          href={service.link}\n                          className=\"inline-flex items-center gap-2\"\n                        >\n                          <span>Learn more</span>\n                          <ArrowRight className=\"h-3.5 w-3.5\" />\n                        </a>\n                      </Button>\n                    </div>\n                  </div>\n                </AccordionContent>\n              </AccordionItem>\n            ))}\n          </Accordion>\n          <div className=\"mt-12 text-center\">\n            <Button asChild>\n              <a href=\"#\" className=\"inline-flex items-center gap-2\">\n                <span>Get a custom quote</span>\n                <ArrowRight className=\"h-4 w-4\" />\n              </a>\n            </Button>\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n}\n","type":"registry:component","target":"components/blocks/portfolio/portfolio-core-services-overview/accordion-services.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"},{"path":"components/ui/accordion.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Accordion as AccordionPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\nimport { ChevronDownIcon, ChevronUpIcon } from \"lucide-react\"\n\nfunction Accordion({\n  className,\n  ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Root>) {\n  return (\n    <AccordionPrimitive.Root\n      data-slot=\"accordion\"\n      className={cn(\"flex w-full flex-col\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction AccordionItem({\n  className,\n  ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Item>) {\n  return (\n    <AccordionPrimitive.Item\n      data-slot=\"accordion-item\"\n      className={cn(\"not-last:border-b\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction AccordionTrigger({\n  className,\n  children,\n  ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Trigger>) {\n  return (\n    <AccordionPrimitive.Header className=\"flex\">\n      <AccordionPrimitive.Trigger\n        data-slot=\"accordion-trigger\"\n        className={cn(\n          \"group/accordion-trigger relative flex flex-1 items-start justify-between rounded-md border border-transparent py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground\",\n          className\n        )}\n        {...props}\n      >\n        {children}\n        <ChevronDownIcon data-slot=\"accordion-trigger-icon\" className=\"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden\" />\n        <ChevronUpIcon data-slot=\"accordion-trigger-icon\" className=\"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline\" />\n      </AccordionPrimitive.Trigger>\n    </AccordionPrimitive.Header>\n  )\n}\n\nfunction AccordionContent({\n  className,\n  children,\n  ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Content>) {\n  return (\n    <AccordionPrimitive.Content\n      data-slot=\"accordion-content\"\n      className=\"overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up\"\n      {...props}\n    >\n      <div\n        className={cn(\n          \"pt-0 pb-4 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4\",\n          className\n        )}\n      >\n        {children}\n      </div>\n    </AccordionPrimitive.Content>\n  )\n}\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\n","type":"registry:ui","target":"components/ui/accordion.tsx"}],"description":"An accordion that lists each service as an expandable row with a short summary and details inside. Keeps a long offering compact and easy to scan.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}