{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marketing-about-sections-timeline","type":"registry:block","title":"Timeline","files":[{"path":"components/blocks/marketing/about-sections/timeline.tsx","content":"import { Card, CardContent } from \"@/components/ui/card\";\nimport { BadgeCheck } from \"lucide-react\";\n\nconst timelineEvents = [\n  {\n    year: \"2010\",\n    title: \"Company Founded\",\n    description: \"Started with a team of 3 in a small office in San Francisco.\",\n  },\n  {\n    year: \"2013\",\n    title: \"First Major Product Launch\",\n    description: \"Released our flagship product that changed the industry.\",\n  },\n  {\n    year: \"2015\",\n    title: \"International Expansion\",\n    description: \"Opened our first international offices in London and Tokyo.\",\n  },\n  {\n    year: \"2018\",\n    title: \"100,000 Customers\",\n    description: \"Reached a milestone of 100,000 active customers worldwide.\",\n  },\n  {\n    year: \"2020\",\n    title: \"Major Acquisition\",\n    description: \"Acquired our biggest competitor to expand our market reach.\",\n  },\n  {\n    year: \"2023\",\n    title: \"Sustainability Initiative\",\n    description: \"Launched our commitment to be carbon neutral by 2025.\",\n  },\n];\n\nexport default function AboutSectionTimeline() {\n  return (\n    <section className=\"container mx-auto space-y-8 px-4 py-24 md:px-6 2xl:max-w-[1400px]\">\n      <div className=\"mx-auto max-w-3xl space-y-4 text-center\">\n        <h2 className=\"text-3xl font-bold\">Our Journey</h2>\n        <p className=\"text-muted-foreground\">\n          From humble beginnings to industry leader — explore the milestones\n          that have shaped our company&apos;s growth and success over the years.\n        </p>\n      </div>\n\n      {/* Desktop Timeline (hidden on mobile) */}\n      <div className=\"relative mx-auto hidden max-w-4xl pt-10 md:block\">\n        {/* Timeline line */}\n        <div className=\"bg-border absolute left-1/2 h-full w-0.5 -translate-x-1/2 transform\" />\n\n        {/* Timeline events */}\n        <div className=\"space-y-12\">\n          {timelineEvents.map((event, index) => (\n            <div\n              key={event.year}\n              className={`relative flex items-center ${\n                index % 2 === 0 ? \"flex-row-reverse\" : \"\"\n              } gap-8`}\n            >\n              {/* Year marker */}\n              <div className=\"absolute left-1/2 z-10 -translate-x-1/2 transform\">\n                <div className=\"bg-primary text-primary-foreground flex h-12 w-12 items-center justify-center rounded-full font-bold\">\n                  {event.year}\n                </div>\n              </div>\n\n              {/* Content */}\n              <div\n                className={`w-1/2 ${\n                  index % 2 === 0 ? \"pr-16 text-right\" : \"pl-16\"\n                }`}\n              >\n                <Card className=\"p-0\">\n                  <CardContent className=\"space-y-2 p-5\">\n                    <div\n                      className={`flex items-center gap-2 ${\n                        index % 2 === 0 ? \"justify-end\" : \"\"\n                      }`}\n                    >\n                      <BadgeCheck className=\"text-primary h-5 w-5\" />\n                      <h3 className=\"font-bold\">{event.title}</h3>\n                    </div>\n                    <p className=\"text-muted-foreground text-sm\">\n                      {event.description}\n                    </p>\n                  </CardContent>\n                </Card>\n              </div>\n\n              {/* Empty space for the other side */}\n              <div className=\"w-1/2\" />\n            </div>\n          ))}\n        </div>\n      </div>\n\n      {/* Mobile Timeline (shown only on mobile) */}\n      <div className=\"relative mx-auto max-w-md pt-4 md:hidden\">\n        {/* Timeline line */}\n        <div className=\"bg-border absolute top-0 bottom-0 left-6 w-0.5\" />\n\n        {/* Timeline events */}\n        <div className=\"space-y-8\">\n          {timelineEvents.map((event) => (\n            <div key={event.year} className=\"relative pl-16\">\n              {/* Year marker */}\n              <div className=\"absolute left-0 z-10\">\n                <div className=\"bg-primary text-primary-foreground flex h-12 w-12 items-center justify-center rounded-full font-bold\">\n                  {event.year}\n                </div>\n              </div>\n\n              {/* Content */}\n              <Card className=\"p-0\">\n                <CardContent className=\"space-y-2 p-4\">\n                  <div className=\"flex items-center gap-2\">\n                    <BadgeCheck className=\"text-primary h-5 w-5\" />\n                    <h3 className=\"font-bold\">{event.title}</h3>\n                  </div>\n                  <p className=\"text-muted-foreground text-sm\">\n                    {event.description}\n                  </p>\n                </CardContent>\n              </Card>\n            </div>\n          ))}\n        </div>\n      </div>\n    </section>\n  );\n}\n","type":"registry:component","target":"components/blocks/marketing/about-sections/timeline.tsx"},{"path":"components/ui/card.tsx","content":"import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Card({\n  className,\n  size = \"default\",\n  ...props\n}: React.ComponentProps<\"div\"> & { size?: \"default\" | \"sm\" }) {\n  return (\n    <div\n      data-slot=\"card\"\n      data-size={size}\n      className={cn(\n        \"group/card flex flex-col gap-6 overflow-hidden rounded-xl bg-card py-6 text-sm text-card-foreground shadow-xs ring-1 ring-foreground/10 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-header\"\n      className={cn(\n        \"group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-title\"\n      className={cn(\n        \"font-heading text-base leading-normal font-medium group-data-[size=sm]/card:text-sm\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-description\"\n      className={cn(\"text-sm text-muted-foreground\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-action\"\n      className={cn(\n        \"col-start-2 row-span-2 row-start-1 self-start justify-self-end\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-content\"\n      className={cn(\"px-6 group-data-[size=sm]/card:px-4\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"card-footer\"\n      className={cn(\n        \"flex items-center rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport {\n  Card,\n  CardHeader,\n  CardFooter,\n  CardTitle,\n  CardAction,\n  CardDescription,\n  CardContent,\n}\n","type":"registry:ui","target":"components/ui/card.tsx"}],"description":"A vertical list of dated milestones marking how the company grew. Use it on an about page to walk visitors through your story, year by year.","dependencies":["lucide-react"]}