{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"portfolio-portfolio-email-signup-and-newsletter-split-section-signup","type":"registry:block","title":"Split Section Signup","files":[{"path":"components/blocks/portfolio/portfolio-email-signup-and-newsletter/split-section-signup.tsx","content":"import { Button } from '@/components/ui/button';\nimport { Input } from '@/components/ui/input';\nimport { Label } from '@/components/ui/label';\nimport { Checkbox } from '@/components/ui/checkbox';\nimport { ArrowRight, Mail } from 'lucide-react';\n\nexport default function PortfolioSplitSectionSignup() {\n  return (\n    <div className=\"w-full py-12 md:py-16 lg:py-20\">\n      <div className=\"container mx-auto px-4\">\n        <div className=\"bg-muted/20 border-border overflow-hidden rounded-xl border shadow-sm\">\n          <div className=\"grid grid-cols-1 md:grid-cols-2\">\n            {/* Left column - Benefits */}\n            <div className=\"bg-muted/30 relative p-6 md:p-8 lg:p-10\">\n              <div className=\"relative z-10\">\n                <div className=\"flex items-center\">\n                  <div className=\"bg-primary/10 text-primary mr-3 flex h-10 w-10 items-center justify-center rounded-full\">\n                    <Mail className=\"h-5 w-5\" />\n                  </div>\n                  <h3 className=\"text-primary text-sm font-semibold tracking-wider uppercase\">\n                    Designer&apos;s Digest\n                  </h3>\n                </div>\n\n                <h2 className=\"mt-4 text-2xl font-bold md:text-3xl\">\n                  Subscribe for free tips, case studies, and templates\n                </h2>\n\n                <p className=\"text-muted-foreground mt-3\">\n                  Join my newsletter and get exclusive insights into my design\n                  process, along with resources to help you improve your own\n                  creative work.\n                </p>\n\n                <div className=\"mt-8 space-y-4\">\n                  <div className=\"flex items-start\">\n                    <div className=\"bg-primary/10 text-primary mt-0.5 mr-3 flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full\">\n                      <span className=\"text-sm font-medium\">1</span>\n                    </div>\n                    <div>\n                      <h4 className=\"font-medium\">Weekly Design Insights</h4>\n                      <p className=\"text-muted-foreground text-sm\">\n                        Learn about the latest design trends and techniques\n                        I&apos;m exploring\n                      </p>\n                    </div>\n                  </div>\n\n                  <div className=\"flex items-start\">\n                    <div className=\"bg-primary/10 text-primary mt-0.5 mr-3 flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full\">\n                      <span className=\"text-sm font-medium\">2</span>\n                    </div>\n                    <div>\n                      <h4 className=\"font-medium\">Exclusive Resources</h4>\n                      <p className=\"text-muted-foreground text-sm\">\n                        Get access to templates, checklists, and guides not\n                        available anywhere else\n                      </p>\n                    </div>\n                  </div>\n\n                  <div className=\"flex items-start\">\n                    <div className=\"bg-primary/10 text-primary mt-0.5 mr-3 flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full\">\n                      <span className=\"text-sm font-medium\">3</span>\n                    </div>\n                    <div>\n                      <h4 className=\"font-medium\">Project Breakdowns</h4>\n                      <p className=\"text-muted-foreground text-sm\">\n                        Behind-the-scenes looks at my process for real client\n                        projects\n                      </p>\n                    </div>\n                  </div>\n                </div>\n\n                <div className=\"mt-8 hidden md:block\">\n                  <div className=\"flex h-32 gap-3\">\n                    <div>\n                      <img\n                        src=\"https://images.unsplash.com/photo-1557053910-d9eadeed1c58?q=80&w=987&auto=format&fit=crop&ixlib=rb-4.0.3\"\n                        alt=\"Newsletter preview\"\n                        width={500}\n                        height={120}\n                        className=\"h-32 rounded-md object-cover\"\n                      />\n                    </div>\n                    <div>\n                      <img\n                        src=\"https://images.unsplash.com/photo-1593642532744-d377ab507dc8?q=80&w=987&auto=format&fit=crop&ixlib=rb-4.0.3\"\n                        alt=\"Newsletter preview\"\n                        width={500}\n                        height={120}\n                        className=\"h-32 rounded-md object-cover\"\n                      />\n                    </div>\n                  </div>\n                </div>\n              </div>\n\n              {/* Decorative background element */}\n              <div className=\"bg-primary/5 absolute -top-24 -right-24 h-64 w-64 rounded-full blur-3xl\"></div>\n            </div>\n\n            {/* Right column - Form */}\n            <div className=\"bg-background p-6 md:p-8 lg:p-10\">\n              <form className=\"mx-auto max-w-md\">\n                <h3 className=\"text-xl font-semibold\">Join the newsletter</h3>\n                <p className=\"text-muted-foreground mt-2 text-sm\">\n                  Sign up to receive my newsletter with design insights and\n                  resources.\n                </p>\n\n                <div className=\"mt-6 space-y-4\">\n                  <div className=\"space-y-2\">\n                    <Label htmlFor=\"full-name\">Full Name</Label>\n                    <Input id=\"full-name\" placeholder=\"Your name\" />\n                  </div>\n\n                  <div className=\"space-y-2\">\n                    <Label htmlFor=\"email-address\">Email Address</Label>\n                    <Input\n                      id=\"email-address\"\n                      type=\"email\"\n                      placeholder=\"your@email.com\"\n                    />\n                  </div>\n\n                  <div className=\"space-y-2\">\n                    <Label>I&apos;m interested in</Label>\n                    <div className=\"grid grid-cols-2 gap-2 md:grid-cols-1 lg:grid-cols-2\">\n                      <div className=\"flex items-center space-x-2\">\n                        <Checkbox id=\"ui-design\" />\n                        <label\n                          htmlFor=\"ui-design\"\n                          className=\"cursor-pointer text-sm\"\n                        >\n                          UI Design\n                        </label>\n                      </div>\n                      <div className=\"flex items-center space-x-2\">\n                        <Checkbox id=\"ux-research\" />\n                        <label\n                          htmlFor=\"ux-research\"\n                          className=\"cursor-pointer text-sm\"\n                        >\n                          UX Research\n                        </label>\n                      </div>\n                      <div className=\"flex items-center space-x-2\">\n                        <Checkbox id=\"web-development\" />\n                        <label\n                          htmlFor=\"web-development\"\n                          className=\"cursor-pointer text-sm\"\n                        >\n                          Web Development\n                        </label>\n                      </div>\n                      <div className=\"flex items-center space-x-2\">\n                        <Checkbox id=\"case-studies\" />\n                        <label\n                          htmlFor=\"case-studies\"\n                          className=\"cursor-pointer text-sm\"\n                        >\n                          Case Studies\n                        </label>\n                      </div>\n                    </div>\n                  </div>\n\n                  <Button type=\"submit\" className=\"group w-full\">\n                    Subscribe to Newsletter\n                    <ArrowRight className=\"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1\" />\n                  </Button>\n\n                  <p className=\"text-muted-foreground text-center text-xs\">\n                    I respect your privacy. Unsubscribe at any time. No spam,\n                    ever.\n                  </p>\n                </div>\n              </form>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  );\n}\n","type":"registry:component","target":"components/blocks/portfolio/portfolio-email-signup-and-newsletter/split-section-signup.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/input.tsx","content":"import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Input({ className, type, ...props }: React.ComponentProps<\"input\">) {\n  return (\n    <input\n      type={type}\n      data-slot=\"input\"\n      className={cn(\n        \"h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport { Input }\n","type":"registry:ui","target":"components/ui/input.tsx"},{"path":"components/ui/label.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Label as LabelPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Label({\n  className,\n  ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n  return (\n    <LabelPrimitive.Root\n      data-slot=\"label\"\n      className={cn(\n        \"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport { Label }\n","type":"registry:ui","target":"components/ui/label.tsx"},{"path":"components/ui/checkbox.tsx","content":"\"use client\"\n\nimport * as React from \"react\"\nimport { Checkbox as CheckboxPrimitive } from \"radix-ui\"\n\nimport { cn } from \"@/lib/utils\"\nimport { CheckIcon } from \"lucide-react\"\n\nfunction Checkbox({\n  className,\n  ...props\n}: React.ComponentProps<typeof CheckboxPrimitive.Root>) {\n  return (\n    <CheckboxPrimitive.Root\n      data-slot=\"checkbox\"\n      className={cn(\n        \"peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input shadow-xs transition-shadow outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n        className\n      )}\n      {...props}\n    >\n      <CheckboxPrimitive.Indicator\n        data-slot=\"checkbox-indicator\"\n        className=\"grid place-content-center text-current transition-none [&>svg]:size-3.5\"\n      >\n        <CheckIcon\n        />\n      </CheckboxPrimitive.Indicator>\n    </CheckboxPrimitive.Root>\n  )\n}\n\nexport { Checkbox }\n","type":"registry:ui","target":"components/ui/checkbox.tsx"}],"description":"A two column section with descriptive copy beside the signup form. Explains what subscribers get while keeping the email field clearly in view.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}