{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"portfolio-portfolio-quote-and-feedback-quote-with-project-context","type":"registry:block","title":"Quote With Project Context","files":[{"path":"components/blocks/portfolio/portfolio-quote-and-feedback/quote-with-project-context.tsx","content":"import { Badge } from '@/components/ui/badge';\n\nexport default function QuoteWithProjectContext() {\n  const testimonials = [\n    {\n      quote:\n        'The rebrand completely transformed how our customers perceive us. The strategic insights combined with outstanding design execution delivered results beyond our expectations.',\n      name: 'Jessica Rivera',\n      title: 'Marketing VP, GreenTech Solutions',\n      projectName: 'GreenTech Brand Transformation',\n      projectType: 'Brand Identity',\n      projectImage:\n        'https://images.unsplash.com/photo-1618761714954-0b8cd0026356?q=80&w=1000&auto=format&fit=crop',\n      clientImage:\n        'https://images.unsplash.com/photo-1508214751196-bcfd4ca60f91?q=80&w=1000&auto=format&fit=crop',\n    },\n    {\n      quote:\n        'The website redesign resulted in a 65% increase in user engagement and a 40% reduction in bounce rate. Their focus on user experience and conversion optimization was exactly what we needed.',\n      name: 'Thomas Grant',\n      title: 'CEO, Elevate Finance',\n      projectName: 'Elevate Finance Platform',\n      projectType: 'Web Design & Development',\n      projectImage:\n        'https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1000&auto=format&fit=crop',\n      clientImage:\n        'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=1000&auto=format&fit=crop',\n    },\n  ];\n\n  return (\n    <section className=\"w-full py-12 md:py-24 lg:py-32\">\n      <div className=\"container mx-auto px-4 md:px-6\">\n        <div className=\"flex flex-col items-center space-y-4 text-center\">\n          <div className=\"space-y-2\">\n            <h2 className=\"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl\">\n              Client Success <span className=\"text-primary\">Stories</span>\n            </h2>\n            <p className=\"text-muted-foreground mx-auto max-w-[700px] md:text-xl/relaxed\">\n              Real feedback from real clients on real projects\n            </p>\n          </div>\n        </div>\n\n        <div className=\"mt-16 space-y-16\">\n          {testimonials.map((testimonial, index) => (\n            <div\n              key={index}\n              className=\"grid grid-cols-1 items-center gap-8 lg:grid-cols-2\"\n            >\n              <div\n                className={`order-2 ${index % 2 !== 0 ? 'lg:order-1' : 'lg:order-2'}`}\n              >\n                <blockquote className=\"border-primary relative border-l-4 py-2 pl-6\">\n                  <p className=\"mb-6 text-xl leading-relaxed italic\">\n                    &ldquo;{testimonial.quote}&rdquo;\n                  </p>\n                  <div className=\"flex items-center gap-4\">\n                    <div className=\"relative h-12 w-12 overflow-hidden rounded-full\">\n                      <img\n                        src={testimonial.clientImage}\n                        alt={testimonial.name}\n                        className=\"object-cover\"\n                      />\n                    </div>\n                    <div>\n                      <p className=\"font-semibold\">{testimonial.name}</p>\n                      <p className=\"text-muted-foreground text-sm\">\n                        {testimonial.title}\n                      </p>\n                    </div>\n                  </div>\n                </blockquote>\n              </div>\n\n              <div\n                className={`order-1 ${index % 2 !== 0 ? 'lg:order-2' : 'lg:order-1'}`}\n              >\n                <a\n                  href=\"#\"\n                  className=\"group block overflow-hidden rounded-xl shadow-lg transition-all hover:shadow-xl\"\n                >\n                  <div className=\"relative aspect-video w-full overflow-hidden\">\n                    <img\n                      src={testimonial.projectImage}\n                      alt={testimonial.projectName}\n                      className=\"object-cover transition-transform duration-300 group-hover:scale-105\"\n                    />\n                    <div className=\"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent opacity-90\"></div>\n                    <div className=\"absolute bottom-0 left-0 z-10 p-6 text-white\">\n                      <Badge variant=\"secondary\" className=\"mb-2\">\n                        {testimonial.projectType}\n                      </Badge>\n                      <h3 className=\"text-2xl font-bold\">\n                        {testimonial.projectName}\n                      </h3>\n                      <p className=\"mt-2 font-medium text-white/80\">\n                        View Project &rarr;\n                      </p>\n                    </div>\n                  </div>\n                </a>\n              </div>\n            </div>\n          ))}\n        </div>\n      </div>\n    </section>\n  );\n}\n","type":"registry:component","target":"components/blocks/portfolio/portfolio-quote-and-feedback/quote-with-project-context.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"}],"description":"A testimonial paired with the project it refers to, including a thumbnail and link. Use it to tie praise directly to the work that earned it on a case study.","dependencies":["class-variance-authority","radix-ui"]}