From 7afe4583929bcda4f387506036f386b47201c209 Mon Sep 17 00:00:00 2001 From: Jordan Date: Thu, 20 Jun 2024 17:57:31 -0400 Subject: [PATCH] feat: fix image cards --- apps/www/components/landing/plug-grid.tsx | 24 +++++++++---------- .../registry/styles/default/minimal-card.json | 2 +- apps/www/registry/default/ui/minimal-card.tsx | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/www/components/landing/plug-grid.tsx b/apps/www/components/landing/plug-grid.tsx index ddda850..79b52a9 100644 --- a/apps/www/components/landing/plug-grid.tsx +++ b/apps/www/components/landing/plug-grid.tsx @@ -12,25 +12,25 @@ import { Badge } from "../ui/badge" export function PlugCardGrid() { const cards = [ { - title: "Full Stack Shadcn Templates", + title: "Free SEO Improvement Tool", description: - "Comprehensive Next.js + Supabase templates built with Tailwind CSS, Cult components, and shadcn.", - href: "https://www.newcult.co/templates/cult-offline-travel-stash", - img: "/newcult-landing.png", + "Quickly evaluate your website's SEO performance for free. AI improvements + Open graph preview.", + href: "https://cleanmyseo.com", + img: "https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExd2FoNGR5OXpvMnZ2a3NpNWpqYnlnOG82aWYzMnJhY256ajVuOWhpMSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/w1LYqDDIpDaLKj6N5t/giphy.gif", }, { - title: "Free SEO Improvement Tool", + title: "Full Stack Shadcn Templates", description: - "Quickly evaluate your website's SEO performance for free. AI improvements + Open graph preview.", - href: "https://www.newcult.co/templates/cult-seo", - img: "/seo.webp", + "Comprehensive Next.js + Supabase templates built with Tailwind CSS, Cult components, and shadcn.", + href: "https://www.newcult.co", + img: "https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExc3p0Nm1xcnE2eDNkOTJ6NndxaTJlejFodGozZ3RpcXc4MW80OHkwYSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/AdRaGoL5xT1SdI6J5v/giphy.gif", }, { - title: "Design Engineering Directory", + title: "Open Source Directory Template", description: "Curated bookmarks for design engineers: design tools, JavaScript resources, React.js libraries, and more.", - href: "https://www.newcult.co/templates/cult-directory-template", - img: "/dir.png", + href: "https://github.com/nolly-studio/cult-directory-template", + img: "https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExMXFpaG1vaG83YTgxdTdxc2ZreHNtaGphYjF4aXd6c3JvbXNodW9ubSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/7bzrBMHEsgPb20T3C5/giphy.gif", }, ] @@ -41,7 +41,7 @@ export function PlugCardGrid() { className="absolute left-4 top-4 rounded-[14px] border border-black/10 text-base md:left-6" > {" "} - Additional tools + Additional goods
diff --git a/apps/www/public/registry/styles/default/minimal-card.json b/apps/www/public/registry/styles/default/minimal-card.json index b6331f6..af47276 100644 --- a/apps/www/public/registry/styles/default/minimal-card.json +++ b/apps/www/public/registry/styles/default/minimal-card.json @@ -6,7 +6,7 @@ "files": [ { "name": "minimal-card.tsx", - "content": "import * as React from \"react\"\nimport Image from \"next/image\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst MinimalCard = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes & { children?: React.ReactNode }\n>(({ className, children, ...props }, ref) => (\n \n {children}\n
\n))\nMinimalCard.displayName = \"MinimalCard\"\n\nconst MinimalCardImage = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes & { src: string; alt: string }\n>(({ className, alt, src, ...props }, ref) => (\n \n \n
\n \n \n
\n
\n))\nMinimalCardImage.displayName = \"MinimalCardImage\"\n\nconst MinimalCardTitle = React.forwardRef<\n HTMLHeadingElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nMinimalCardTitle.displayName = \"MinimalCardTitle\"\n\nconst MinimalCardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nMinimalCardDescription.displayName = \"MinimalCardDescription\"\n\nconst MinimalCardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n
\n))\nMinimalCardContent.displayName = \"MinimalCardContent\"\n\nconst MinimalCardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nMinimalCardFooter.displayName = \"MinimalCardFooter\"\n\nexport {\n MinimalCard,\n MinimalCardImage,\n MinimalCardTitle,\n MinimalCardDescription,\n MinimalCardContent,\n MinimalCardFooter,\n}\n\nexport default MinimalCard\n" + "content": "import * as React from \"react\"\nimport Image from \"next/image\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst MinimalCard = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes & { children?: React.ReactNode }\n>(({ className, children, ...props }, ref) => (\n \n {children}\n
\n))\nMinimalCard.displayName = \"MinimalCard\"\n\nconst MinimalCardImage = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes & { src: string; alt: string }\n>(({ className, alt, src, ...props }, ref) => (\n \n \n
\n \n \n
\n \n))\nMinimalCardImage.displayName = \"MinimalCardImage\"\n\nconst MinimalCardTitle = React.forwardRef<\n HTMLHeadingElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nMinimalCardTitle.displayName = \"MinimalCardTitle\"\n\nconst MinimalCardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nMinimalCardDescription.displayName = \"MinimalCardDescription\"\n\nconst MinimalCardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n
\n))\nMinimalCardContent.displayName = \"MinimalCardContent\"\n\nconst MinimalCardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes\n>(({ className, ...props }, ref) => (\n \n))\nMinimalCardFooter.displayName = \"MinimalCardFooter\"\n\nexport {\n MinimalCard,\n MinimalCardImage,\n MinimalCardTitle,\n MinimalCardDescription,\n MinimalCardContent,\n MinimalCardFooter,\n}\n\nexport default MinimalCard\n" } ], "type": "components:ui" diff --git a/apps/www/registry/default/ui/minimal-card.tsx b/apps/www/registry/default/ui/minimal-card.tsx index 0257b6d..3a42c79 100644 --- a/apps/www/registry/default/ui/minimal-card.tsx +++ b/apps/www/registry/default/ui/minimal-card.tsx @@ -37,7 +37,7 @@ const MinimalCardImage = React.forwardRef< )} {...props} > -