Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: updated sidebar CTA

Arghya Dasfa69346a4944
diff --git a/apps/www/components/sidebar-cta.tsx b/apps/www/components/sidebar-cta.tsx
index 54b19c8d..7e4a79ae 100644
--- a/apps/www/components/sidebar-cta.tsx
+++ b/apps/www/components/sidebar-cta.tsx
@@ -14,10 +14,10 @@ import { TextAnimate } from "@/registry/magicui/text-animate"
export function ProCTA() {
return (
- <div className="border-border my-6 flex w-full flex-col gap-4 rounded-xl border p-6">
+ <div className="border-border bg-card my-6 flex w-full flex-col gap-4 rounded-xl border p-6">
<div className="flex items-center gap-2">
<PingDot />
- <span className="text-xs font-semibold tracking-wider text-emerald-600 uppercase">
+ <span className="text-xs font-semibold tracking-tight text-emerald-500 uppercase">
Limited Time Offer
</span>
</div>
@@ -28,9 +28,9 @@ export function ProCTA() {
<LineShadowText className="font-bold tracking-tighter italic">
Faster
</LineShadowText>{" "}
- with <AuroraText>Magic UI Pro</AuroraText>
+ with <AuroraText colors={["#FF66CC", "#FFDC18", "#41FFD7", "#38bdf8", "#8338EC", "#F72585", "#3A86FF"]}>Magic UI Pro</AuroraText>
</p>
- <p className="text-muted-foreground text-sm leading-relaxed">
+ <p className="text-muted-foreground text-sm leading-relaxed font-medium">
Stop building from scratch. <br /> Get{" "}
<span className="text-foreground font-semibold">
8 production-ready templates
@@ -43,22 +43,22 @@ export function ProCTA() {
</p>
</div>
- <div className="space-y-2.5">
- <div className="text-muted-foreground flex items-center gap-3 text-sm">
- <div className="flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100">
- <CheckIcon className="h-3 w-3 text-emerald-600" />
+ <div className="space-y-2.5 font-medium">
+ <div className="text-muted-foreground flex items-start gap-3 text-sm">
+ <div className="flex size-4 items-center justify-center rounded-full border border-border bg-foreground shrink-0 mt-0.5">
+ <CheckIcon className="size-2.5 text-primary-foreground stroke-4" />
</div>
<span>Next.js 15 + TypeScript ready</span>
</div>
- <div className="text-muted-foreground flex items-center gap-3 text-sm">
- <div className="flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100">
- <CheckIcon className="h-3 w-3 text-emerald-600" />
+ <div className="text-muted-foreground flex items-start gap-3 text-sm">
+ <div className="flex size-4 items-center justify-center rounded-full border border-border bg-foreground shrink-0 mt-0.5">
+ <CheckIcon className="size-2.5 text-primary-foreground stroke-4" />
</div>
<span>Copy, paste, customize in minutes</span>
</div>
- <div className="text-muted-foreground flex items-center gap-3 text-sm">
- <div className="flex h-5 w-5 items-center justify-center rounded-full bg-emerald-100">
- <CheckIcon className="h-3 w-3 text-emerald-600" />
+ <div className="text-muted-foreground flex items-start gap-3 text-sm">
+ <div className="flex size-4 items-center justify-center rounded-full border border-border bg-foreground shrink-0 mt-0.5">
+ <CheckIcon className="size-2.5 text-primary-foreground stroke-4" />
</div>
<span>Save 100+ hours of development</span>
</div>
diff --git a/apps/www/public/llms-full.txt b/apps/www/public/llms-full.txt
index df815d33..5e40618e 100644
--- a/apps/www/public/llms-full.txt
+++ b/apps/www/public/llms-full.txt
@@ -2918,7 +2918,7 @@ export const AuroraText = memo(
<span className={`relative inline-block ${className}`}>
<span className="sr-only">{children}</span>
<span
- className="animate-aurora relative bg-[length:200%_auto] bg-clip-text text-transparent"
+ className="animate-aurora relative bg-size-[200%_auto] bg-clip-text text-transparent"
style={gradientStyle}
aria-hidden="true"
>
diff --git a/apps/www/public/r/aurora-text.json b/apps/www/public/r/aurora-text.json
index cf775202..c9085418 100644
--- a/apps/www/public/r/aurora-text.json
+++ b/apps/www/public/r/aurora-text.json
@@ -7,7 +7,7 @@
"files": [
{
"path": "registry/magicui/aurora-text.tsx",
- "content": "\"use client\"\n\nimport React, { memo } from \"react\"\n\ninterface AuroraTextProps {\n children: React.ReactNode\n className?: string\n colors?: string[]\n speed?: number\n}\n\nexport const AuroraText = memo(\n ({\n children,\n className = \"\",\n colors = [\"#FF0080\", \"#7928CA\", \"#0070F3\", \"#38bdf8\"],\n speed = 1,\n }: AuroraTextProps) => {\n const gradientStyle = {\n backgroundImage: `linear-gradient(135deg, ${colors.join(\", \")}, ${\n colors[0]\n })`,\n WebkitBackgroundClip: \"text\",\n WebkitTextFillColor: \"transparent\",\n animationDuration: `${10 / speed}s`,\n }\n\n return (\n <span className={`relative inline-block ${className}`}>\n <span className=\"sr-only\">{children}</span>\n <span\n className=\"animate-aurora relative bg-[length:200%_auto] bg-clip-text text-transparent\"\n style={gradientStyle}\n aria-hidden=\"true\"\n >\n {children}\n </span>\n </span>\n )\n }\n)\n\nAuroraText.displayName = \"AuroraText\"\n",
+ "content": "\"use client\"\n\nimport React, { memo } from \"react\"\n\ninterface AuroraTextProps {\n children: React.ReactNode\n className?: string\n colors?: string[]\n speed?: number\n}\n\nexport const AuroraText = memo(\n ({\n children,\n className = \"\",\n colors = [\"#FF0080\", \"#7928CA\", \"#0070F3\", \"#38bdf8\"],\n speed = 1,\n }: AuroraTextProps) => {\n const gradientStyle = {\n backgroundImage: `linear-gradient(135deg, ${colors.join(\", \")}, ${\n colors[0]\n })`,\n WebkitBackgroundClip: \"text\",\n WebkitTextFillColor: \"transparent\",\n animationDuration: `${10 / speed}s`,\n }\n\n return (\n <span className={`relative inline-block ${className}`}>\n <span className=\"sr-only\">{children}</span>\n <span\n className=\"animate-aurora relative bg-size-[200%_auto] bg-clip-text text-transparent\"\n style={gradientStyle}\n aria-hidden=\"true\"\n >\n {children}\n </span>\n </span>\n )\n }\n)\n\nAuroraText.displayName = \"AuroraText\"\n",
"type": "registry:ui"
}
],
diff --git a/apps/www/registry/magicui/aurora-text.tsx b/apps/www/registry/magicui/aurora-text.tsx
index af4f0f28..85857c1a 100644
--- a/apps/www/registry/magicui/aurora-text.tsx
+++ b/apps/www/registry/magicui/aurora-text.tsx
@@ -29,7 +29,7 @@ export const AuroraText = memo(
<span className={`relative inline-block ${className}`}>
<span className="sr-only">{children}</span>
<span
- className="animate-aurora relative bg-[length:200%_auto] bg-clip-text text-transparent"
+ className="animate-aurora relative bg-size-[200%_auto] bg-clip-text text-transparent"
style={gradientStyle}
aria-hidden="true"
>