diff --git a/src/app/globals.css b/src/app/globals.css index efbed57..450f687 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -77,6 +77,8 @@ --sidebar-accent-foreground: oklch(0.208 0.042 265.755); --sidebar-border: oklch(0.929 0.013 255.508); --sidebar-ring: oklch(0.704 0.04 256.788); + + --gradient-shadow: linear-gradient(45deg, #fb00929c, #6f00ff80); } .dark { @@ -136,3 +138,43 @@ html::-webkit-scrollbar { body { overflow-x: hidden; } + +/* Outer glow wrapper */ +.glow-wrapper { + position: relative; + display: inline-block; + z-index: 0; +} + +/* Before and after for glow border */ +.glow-wrapper::before, +.glow-wrapper::after { + content: ""; + position: absolute; + top: -2px; + left: -2px; + width: calc(100% + 4px); + height: calc(100% + 4px); + border-radius: 9999px; + background: var(--gradient-shadow); + background-size: 200%; + z-index: -1; + animation: glow-animate 10s linear infinite; +} + +.glow-wrapper::after { + filter: blur(8px); + z-index: -2; +} + +@keyframes glow-animate { + 0% { + background-position: 0 0; + } + 50% { + background-position: 300% 0; + } + 100% { + background-position: 0 0; + } +} diff --git a/src/components/home/hero.tsx b/src/components/home/hero.tsx index 82fb23a..c7db968 100644 --- a/src/components/home/hero.tsx +++ b/src/components/home/hero.tsx @@ -24,7 +24,7 @@ export default function Hero({ theme }: HeroProps) {
{/* Badge */} -
+
+ {/* Ping indicator */}
+ + {/* Content */} 5+ New Patterns @@ -56,18 +61,20 @@ export default function Hero({ theme }: HeroProps) {

Craft Beautiful

Patterns Backgrounds @@ -76,8 +83,9 @@ export default function Hero({ theme }: HeroProps) { {/* Description */}

Professional-grade background patterns and gradients. Easily copy the code and seamlessly integrate it into your projects. @@ -87,60 +95,70 @@ export default function Hero({ theme }: HeroProps) { {/* Feature highlights */}

One-Click Copy

Ready-to-use CSS code

Live Preview

See patterns in action

@@ -152,10 +170,11 @@ export default function Hero({ theme }: HeroProps) {
- {/* Sponsors Attribution */}
{/* Vercel Sponsor */} @@ -188,15 +207,21 @@ export default function Hero({ theme }: HeroProps) { className="inline-flex items-center justify-center gap-2 group transition-all duration-300 hover:scale-105" >

Backed by Vercel

@@ -205,8 +230,9 @@ export default function Hero({ theme }: HeroProps) { {/* Dot Separator */}
@@ -224,8 +250,11 @@ export default function Hero({ theme }: HeroProps) { width="20" height="23" viewBox="0 0 78 90" - className={`transition-all duration-300 ${isPatternDark ? "fill-white group-hover:fill-gray-100" : "fill-black group-hover:fill-gray-800" - }`} + className={`transition-all duration-300 ${ + isPatternDark + ? "fill-white group-hover:fill-gray-100" + : "fill-black group-hover:fill-gray-800" + }`} xmlns="http://www.w3.org/2000/svg" > @@ -236,8 +265,11 @@ export default function Hero({ theme }: HeroProps) {

shadcnblocks.com ShadcnBlocks @@ -245,8 +277,11 @@ export default function Hero({ theme }: HeroProps) {

{/* Description */}

hundreds of extra blocks for shadcn/ui

@@ -255,49 +290,56 @@ export default function Hero({ theme }: HeroProps) { {/* Stats */}
200+
Patterns
100%
Free
CSS
& Tailwind
diff --git a/src/data/patterns.ts b/src/data/patterns.ts index aed5088..712366e 100644 --- a/src/data/patterns.ts +++ b/src/data/patterns.ts @@ -444,7 +444,7 @@ export const gridPatterns: Pattern[] = [
`, }, { - id: "orchid -depths", + id: "orchid-depths", name: "Orchid Depths", badge: "New", category: "decorative", @@ -2679,9 +2679,126 @@ export const gridPatterns: Pattern[] = [ {/* Your Content/Components */}
`, }, + { + id: "bubble-cluster", + name: "Bubble Cluster", + category: "effects", + badge: "New", + style: { + background: "#f0f9ff", + backgroundImage: ` + radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.2) 0%, transparent 25%), + radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.2) 0%, transparent 25%), + radial-gradient(circle at 40% 60%, rgba(125, 211, 252, 0.2) 0%, transparent 25%), + radial-gradient(circle at 60% 40%, rgba(186, 230, 253, 0.2) 0%, transparent 25%) + `, + }, + code: `
+ {/* Bubble Cluster Background */} +
+ {/* Your Content/Components */} +
`, + }, + { + id: "water-ripples", + name: "Water Ripples", + category: "effects", + badge: "New", + style: { + background: "#e0f2fe", + backgroundImage: ` + radial-gradient(circle, rgba(14, 165, 233, 0.1) 1px, transparent 1px), + radial-gradient(circle, rgba(14, 165, 233, 0.1) 2px, transparent 2px), + radial-gradient(circle, rgba(14, 165, 233, 0.1) 3px, transparent 3px) + `, + backgroundSize: "50px 50px, 100px 100px, 150px 150px", + }, + code: `
+ {/* Water Ripples Background */} +
+ {/* Your Content/Components */} +
`, + }, // Line Patterns - + { + id: "honeycomb-mesh", + name: "Honeycomb Mesh", + category: "geometric", + badge: "New", + style: { + background: "#ffffff", + backgroundImage: ` + linear-gradient(120deg, #e5e7eb 1px, transparent 1px), + linear-gradient(60deg, #e5e7eb 1px, transparent 1px), + linear-gradient(0deg, #e5e7eb 1px, transparent 1px) + `, + backgroundSize: "34.64px 60px", + backgroundPosition: "0 0, 17.32px 30px, 17.32px 0", + }, + code: `
+ {/* Honeycomb Mesh Background */} +
+ {/* Your Content/Components */} +
`, + }, + { + id: "light-dot-grid", + name: "Light Dot Grid", + category: "geometric", + badge: "New", + style: { + background: "#ffffff", + backgroundImage: ` + radial-gradient(circle, rgba(0,0,0,0.1) 1px, transparent 1px) + `, + backgroundSize: "20px 20px", + }, + code: `
+ {/* Light Dot Grid Background */} +
+ {/* Your Content/Components */} +
`, + }, { id: "paper-texture", name: "Paper Texture", @@ -4863,35 +4980,6 @@ export const gridPatterns: Pattern[] = [ }} /> {/* Your Content/Components */} -
`, - }, - { - id: "volcanic-ember", - name: "Volcanic Ember", - category: "effects", - badge: "New", - style: { - background: ` - radial-gradient(ellipse 120% 70% at 70% 80%, rgba(87, 24, 69, 0.20), transparent 52%), - radial-gradient(ellipse 160% 45% at 30% 30%, rgba(153, 27, 27, 0.16), transparent 58%), - radial-gradient(ellipse 85% 100% at 10% 60%, rgba(69, 26, 3, 0.22), transparent 46%), - #1c1917 - `, - }, - code: `
- {/* Volcanic Ember */} -
- {/* Your Content/Components */}
`, }, {