{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "blog-section-1", "title": "Blog Section 1", "description": "Blog posts grid with featured articles and metadata", "registryDependencies": [ "aspect-ratio", "https://shadcndesign-free.vercel.app/r/styles.json", "https://shadcndesign-free.vercel.app/r/tagline.json" ], "files": [ { "path": "components/pro-blocks/landing-page/blog-sections/blog-section-1.tsx", "content": "\"use client\";\n\nimport { AspectRatio } from \"@/components/ui/aspect-ratio\";\nimport Image from \"next/image\";\nimport Link from \"next/link\";\nimport { Tagline } from \"@/components/pro-blocks/landing-page/tagline\";\n\ninterface BlogPost {\n id: number;\n title: string;\n description: string;\n date: string;\n category: string;\n image: string;\n}\n\nconst BLOG_POSTS: BlogPost[] = [\n {\n id: 1,\n title: \"Getting Started with shadcn/ui: A Complete Guide\",\n description:\n \"Learn how to set up and maximize your development workflow with shadcn/ui's powerful component library.\",\n date: \"Mar 15, 2024\",\n category: \"Tutorial\",\n image: \"https://ui.shadcn.com/placeholder.svg\",\n },\n {\n id: 2,\n title: \"Building Dark Mode with Next.js and Tailwind CSS\",\n description:\n \"Implement a seamless dark mode toggle in your Next.js application using Tailwind CSS and shadcn/ui.\",\n date: \"Mar 12, 2024\",\n category: \"Development\",\n image: \"https://ui.shadcn.com/placeholder.svg\",\n },\n {\n id: 3,\n title: \"Mastering React Server Components\",\n description:\n \"Deep dive into React Server Components and learn how they can improve your application's performance.\",\n date: \"Mar 8, 2024\",\n category: \"Advanced\",\n image: \"https://ui.shadcn.com/placeholder.svg\",\n },\n {\n id: 4,\n title: \"The Future of Web Development in 2024\",\n description:\n \"Explore the latest trends and technologies shaping the future of web development this year.\",\n date: \"Mar 5, 2024\",\n category: \"Insights\",\n image: \"https://ui.shadcn.com/placeholder.svg\",\n },\n];\n\nexport function BlogSection1() {\n return (\n \n
\n
\n
\n Blog Section\n

\n Learn what's new\n

\n

\n Add a concise value statement that captures your reader's interest\n and previews your content value.\n

\n
\n \n {BLOG_POSTS.map((post) => (\n \n
\n \n \n \n
\n
\n \n {post.date}\n \n ยท\n \n {post.category}\n \n
\n

\n {post.title}\n

\n

\n {post.description}\n

\n
\n
\n \n ))}\n
\n
\n \n \n );\n}\n", "type": "registry:component", "target": "components/pro-blocks/landing-page/blog-sections/blog-section-1.tsx" } ], "type": "registry:component" }