{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marketing-blog-sections-featured-list","type":"registry:block","title":"Featured List","files":[{"path":"components/blocks/marketing/blog-sections/featured-list.tsx","content":"import { Button } from '@/components/ui/button';\nimport { Badge } from '@/components/ui/badge';\nimport { Separator } from '@/components/ui/separator';\nimport {\n  CalendarIcon,\n  Clock3Icon,\n  ArrowRightIcon,\n  TrendingUpIcon,\n  StarIcon,\n  BookmarkIcon,\n} from 'lucide-react';\n\n// Define blog post types\ninterface Author {\n  name: string;\n  avatar: string;\n}\n\ninterface BlogPost {\n  id: number;\n  title: string;\n  excerpt: string;\n  category: string;\n  date: string;\n  readTime: string;\n  imageUrl: string;\n  author: Author;\n}\n\nconst featuredPost: BlogPost = {\n  id: 1,\n  title: 'The Future of Digital Marketing: Trends to Watch in 2023',\n  excerpt:\n    'Explore the emerging technologies and strategies that will shape the digital marketing landscape in the coming year.',\n  category: 'Strategy',\n  date: 'April 15, 2023',\n  readTime: '14 min read',\n  imageUrl:\n    'https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2070&q=80',\n  author: {\n    name: 'Jessica Morgan',\n    avatar:\n      'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',\n  },\n};\n\nconst popularPosts: BlogPost[] = [\n  {\n    id: 2,\n    title: 'Why Personalization is the Key to Customer Engagement',\n    excerpt:\n      'Learn how data-driven personalization can dramatically improve your marketing results and customer loyalty.',\n    category: 'Personalization',\n    date: 'April 12, 2023',\n    readTime: '9 min read',\n    imageUrl:\n      'https://images.unsplash.com/photo-1557426272-fc759fdf7a8d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80',\n    author: {\n      name: 'David Chen',\n      avatar:\n        'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',\n    },\n  },\n  {\n    id: 3,\n    title:\n      'Voice Search Optimization: Preparing Your Content for the Voice Revolution',\n    excerpt:\n      'Discover strategies to optimize your content for voice search and stay ahead of this rapidly growing trend.',\n    category: 'SEO',\n    date: 'April 8, 2023',\n    readTime: '11 min read',\n    imageUrl:\n      'https://images.unsplash.com/photo-1562577309-4932fdd64cd1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80',\n    author: {\n      name: 'Sarah Johnson',\n      avatar:\n        'https://images.unsplash.com/photo-1534751516642-a1af1ef26a56?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',\n    },\n  },\n];\n\nconst latestPosts: BlogPost[] = [\n  {\n    id: 4,\n    title: 'Social Media Algorithms: Understanding the Changes in 2023',\n    excerpt:\n      'Stay updated on the latest algorithm changes across major social platforms and how to adapt your strategy.',\n    category: 'Social Media',\n    date: 'April 10, 2023',\n    readTime: '8 min read',\n    imageUrl:\n      'https://images.unsplash.com/photo-1611162616305-c69b3fa7fbe0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80',\n    author: {\n      name: 'Michael Thomas',\n      avatar:\n        'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',\n    },\n  },\n  {\n    id: 5,\n    title: 'Interactive Content: Boosting Engagement with Quizzes and Polls',\n    excerpt:\n      'Learn how to create interactive content that captivates your audience and increases time spent on your site.',\n    category: 'Content',\n    date: 'April 5, 2023',\n    readTime: '10 min read',\n    imageUrl:\n      'https://images.unsplash.com/photo-1434030216411-0b793f4b4173?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80',\n    author: {\n      name: 'Emily Wilson',\n      avatar:\n        'https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',\n    },\n  },\n  {\n    id: 6,\n    title: 'Email Deliverability: Ensuring Your Messages Reach the Inbox',\n    excerpt:\n      'Discover best practices and techniques to improve your email deliverability rates and avoid the spam folder.',\n    category: 'Email',\n    date: 'April 2, 2023',\n    readTime: '7 min read',\n    imageUrl:\n      'https://images.unsplash.com/photo-1596526131083-e8c633c948d2?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80',\n    author: {\n      name: 'Alex Rivera',\n      avatar:\n        'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',\n    },\n  },\n  {\n    id: 7,\n    title: 'Video Marketing: Creating Content That Converts',\n    excerpt:\n      'Explore strategies for developing video content that not only engages viewers but drives them to take action.',\n    category: 'Video',\n    date: 'March 28, 2023',\n    readTime: '12 min read',\n    imageUrl:\n      'https://images.unsplash.com/photo-1590856029826-c7a73142bbf1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80',\n    author: {\n      name: 'Jason Park',\n      avatar:\n        'https://images.unsplash.com/photo-1522075469751-3a6694fb2f61?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=256&q=80',\n    },\n  },\n];\n\nexport default function BlogSectionFeaturedList() {\n  return (\n    <section className=\"container mx-auto px-4 py-24 md:px-6 2xl:max-w-[1400px]\">\n      <div className=\"mb-12 space-y-4 text-center\">\n        <h2 className=\"text-3xl font-bold tracking-tight\">\n          Marketing Insights\n        </h2>\n        <p className=\"text-muted-foreground mx-auto max-w-2xl\">\n          Expert advice, analysis, and strategies to elevate your marketing\n          game.\n        </p>\n      </div>\n\n      {/* Featured Article */}\n      <div className=\"mb-16\">\n        <div className=\"mb-6 flex items-center gap-3\">\n          <StarIcon className=\"text-primary h-5 w-5\" />\n          <h3 className=\"text-xl font-semibold\">Featured Article</h3>\n        </div>\n\n        <div className=\"grid gap-8 lg:grid-cols-5\">\n          <div className=\"relative aspect-[16/9] overflow-hidden rounded-xl lg:col-span-3 lg:aspect-auto\">\n            <img\n              src={featuredPost.imageUrl}\n              alt={featuredPost.title}\n              className=\"object-cover\"\n            />\n            <div className=\"absolute inset-0 bg-gradient-to-t from-black/70 via-transparent to-transparent\"></div>\n            <div className=\"absolute right-0 bottom-0 left-0 p-6 text-white\">\n              <Badge className=\"mb-3\">{featuredPost.category}</Badge>\n              <h4 className=\"mb-2 text-2xl font-bold lg:text-3xl\">\n                {featuredPost.title}\n              </h4>\n            </div>\n          </div>\n\n          <div className=\"flex flex-col justify-between lg:col-span-2\">\n            <div className=\"space-y-4\">\n              <p className=\"text-muted-foreground\">{featuredPost.excerpt}</p>\n\n              <div className=\"flex items-center gap-4\">\n                <div className=\"relative h-10 w-10 overflow-hidden rounded-full\">\n                  <img\n                    src={featuredPost.author.avatar}\n                    alt={featuredPost.author.name}\n                    className=\"object-cover\"\n                  />\n                </div>\n                <div>\n                  <p className=\"font-medium\">{featuredPost.author.name}</p>\n                  <div className=\"text-muted-foreground flex items-center text-sm\">\n                    <CalendarIcon className=\"mr-1 h-3 w-3\" />\n                    <span>{featuredPost.date}</span>\n                    <span className=\"mx-2\">•</span>\n                    <Clock3Icon className=\"mr-1 h-3 w-3\" />\n                    <span>{featuredPost.readTime}</span>\n                  </div>\n                </div>\n              </div>\n            </div>\n\n            <div className=\"mt-6\">\n              <Button size=\"lg\" asChild>\n                <a href=\"#\">Read Full Article</a>\n              </Button>\n            </div>\n          </div>\n        </div>\n      </div>\n\n      <Separator className=\"my-12\" />\n\n      {/* Popular Articles Section */}\n      <div className=\"mb-16\">\n        <div className=\"mb-6 flex items-center gap-3\">\n          <TrendingUpIcon className=\"text-primary h-5 w-5\" />\n          <h3 className=\"text-xl font-semibold\">Popular Articles</h3>\n        </div>\n\n        <div className=\"grid gap-8 md:grid-cols-2\">\n          {popularPosts.map((post) => (\n            <div key={post.id} className=\"flex flex-col gap-6 md:flex-row\">\n              <div className=\"relative aspect-video flex-shrink-0 overflow-hidden rounded-md md:w-1/3\">\n                <img\n                  src={post.imageUrl}\n                  alt={post.title}\n                  className=\"object-cover\"\n                />\n                <Button\n                  variant=\"ghost\"\n                  size=\"icon\"\n                  className=\"bg-background/50 hover:bg-background/70 absolute top-2 right-2\"\n                >\n                  <BookmarkIcon className=\"h-4 w-4\" />\n                </Button>\n              </div>\n\n              <div className=\"space-y-3 md:w-2/3\">\n                <Badge variant=\"outline\">{post.category}</Badge>\n                <h4 className=\"text-lg font-semibold\">{post.title}</h4>\n                <p className=\"text-muted-foreground line-clamp-2 text-sm\">\n                  {post.excerpt}\n                </p>\n\n                <div className=\"flex items-center gap-2\">\n                  <div className=\"relative h-8 w-8 overflow-hidden rounded-full\">\n                    <img\n                      src={post.author.avatar}\n                      alt={post.author.name}\n                      className=\"object-cover\"\n                    />\n                  </div>\n                  <span className=\"text-sm font-medium\">\n                    {post.author.name}\n                  </span>\n                  <span className=\"text-muted-foreground mx-2\">•</span>\n                  <div className=\"text-muted-foreground flex items-center text-sm\">\n                    <CalendarIcon className=\"mr-1 h-3 w-3\" />\n                    <span>{post.date}</span>\n                  </div>\n                </div>\n\n                <Button variant=\"link\" className=\"px-0\" asChild>\n                  <a href=\"#\">\n                    Read Article <ArrowRightIcon className=\"ml-1 h-4 w-4\" />\n                  </a>\n                </Button>\n              </div>\n            </div>\n          ))}\n        </div>\n      </div>\n\n      <Separator className=\"my-12\" />\n\n      {/* Latest Articles Section */}\n      <div>\n        <div className=\"mb-6 flex items-center justify-between\">\n          <div className=\"flex items-center gap-3\">\n            <CalendarIcon className=\"text-primary h-5 w-5\" />\n            <h3 className=\"text-xl font-semibold\">Latest Articles</h3>\n          </div>\n          <Button variant=\"outline\" size=\"sm\" asChild>\n            <a href=\"#\">View All</a>\n          </Button>\n        </div>\n\n        <div className=\"space-y-6\">\n          {latestPosts.map((post, index) => (\n            <div key={post.id}>\n              <div className=\"flex flex-col items-start gap-4 sm:flex-row\">\n                <div className=\"relative aspect-video w-full flex-shrink-0 overflow-hidden rounded-md sm:hidden md:block md:w-48\">\n                  <img\n                    src={post.imageUrl}\n                    alt={post.title}\n                    className=\"object-cover\"\n                  />\n                </div>\n\n                <div className=\"flex-grow space-y-2\">\n                  <div className=\"flex items-center gap-2\">\n                    <Badge variant=\"secondary\" className=\"text-xs\">\n                      {post.category}\n                    </Badge>\n                    <span className=\"text-muted-foreground text-sm\">\n                      {post.date}\n                    </span>\n                  </div>\n\n                  <h4 className=\"font-semibold\">{post.title}</h4>\n\n                  <div className=\"flex flex-wrap items-center gap-4\">\n                    <div className=\"flex items-center gap-2\">\n                      <div className=\"relative h-6 w-6 overflow-hidden rounded-full\">\n                        <img\n                          src={post.author.avatar}\n                          alt={post.author.name}\n                          className=\"object-cover\"\n                        />\n                      </div>\n                      <span className=\"text-sm\">{post.author.name}</span>\n                    </div>\n\n                    <div className=\"text-muted-foreground flex items-center text-sm\">\n                      <Clock3Icon className=\"mr-1 h-3 w-3\" />\n                      <span>{post.readTime}</span>\n                    </div>\n\n                    <Button variant=\"link\" className=\"h-auto p-0\" asChild>\n                      <a href=\"#\">Read More</a>\n                    </Button>\n                  </div>\n                </div>\n              </div>\n\n              {index < latestPosts.length - 1 && <Separator className=\"my-6\" />}\n            </div>\n          ))}\n        </div>\n      </div>\n\n      <div className=\"mt-12 flex justify-center\">\n        <Button size=\"lg\" className=\"gap-2\">\n          <a href=\"#\">Explore All Articles</a>\n          <ArrowRightIcon className=\"h-4 w-4\" />\n        </Button>\n      </div>\n    </section>\n  );\n}\n","type":"registry:component","target":"components/blocks/marketing/blog-sections/featured-list.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/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/separator.tsx","content":"\"use client\";\n\nimport * as React from \"react\";\nimport { Separator as SeparatorPrimitive } from \"radix-ui\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction Separator({\n  className,\n  orientation = \"horizontal\",\n  decorative = true,\n  ...props\n}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {\n  return (\n    <SeparatorPrimitive.Root\n      data-slot=\"separator\"\n      decorative={decorative}\n      orientation={orientation}\n      className={cn(\n        \"shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px \",\n        className\n      )}\n      {...props}\n    />\n  );\n}\n\nexport { Separator };\n","type":"registry:ui","target":"components/ui/separator.tsx"}],"description":"A list led by one large featured article above smaller stacked posts. Use it to spotlight your top story while listing the rest of the feed.","dependencies":["class-variance-authority","lucide-react","radix-ui"]}