diff --git a/src/app/globals.css b/src/app/globals.css index 8cf0a09..2109cb9 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -671,4 +671,55 @@ scroll-snap-align: center; height: fit-content; } +} + +@keyframes gradient-x { + + 0%, + 100% { + background-position: 0% 50%; + } + + 50% { + background-position: 100% 50%; + } +} + +.animate-gradient-x { + background-size: 200% 200%; + animation: gradient-x 15s ease infinite; +} + +@keyframes pulse-subtle { + + 0%, + 100% { + opacity: 0.5; + transform: translate(-50%, -50%) scale(1); + } + + 50% { + opacity: 0.8; + transform: translate(-50%, -50%) scale(1.05); + } +} + +.animate-pulse-subtle { + animation: pulse-subtle 10s ease-in-out infinite; +} + +@keyframes float { + + 0%, + 100% { + transform: translateY(0); + } + + 50% { + transform: translateY(-10px); + } +} + +.animate-float { + animation: float 6s ease-in-out infinite; } \ No newline at end of file diff --git a/src/components/SmokingAidsContent.tsx b/src/components/SmokingAidsContent.tsx index 3c50a88..6f3570a 100644 --- a/src/components/SmokingAidsContent.tsx +++ b/src/components/SmokingAidsContent.tsx @@ -19,9 +19,9 @@ const smokingAids = [ url: 'https://amzn.to/3Z2BuCk', icon: Wind, color: 'text-sky-400', - bgColor: 'bg-sky-500/10', - borderColor: 'border-sky-500/20', - buttonColor: 'bg-sky-500 hover:bg-sky-600', + themeColor: 'sky', + gradient: 'from-sky-500/20 to-indigo-500/20', + borderColor: 'border-sky-500/30', }, { id: 'nicotine-lozenge', @@ -33,10 +33,10 @@ const smokingAids = [ image: 'https://m.media-amazon.com/images/I/61h+Z88Ev9S._AC_SX679_.jpg', url: 'https://amzn.to/4rfQl8s', icon: Pill, - color: 'text-red-400', - bgColor: 'bg-red-500/10', - borderColor: 'border-red-500/20', - buttonColor: 'bg-red-500 hover:bg-red-600', + color: 'text-rose-400', + themeColor: 'rose', + gradient: 'from-rose-500/20 to-pink-500/20', + borderColor: 'border-rose-500/30', }, { id: 'recovery-complex', @@ -48,10 +48,10 @@ const smokingAids = [ image: 'https://m.media-amazon.com/images/I/51HWgmCW1-L._AC_SX679_.jpg', url: 'https://amzn.to/3NFU1Sx', icon: Sparkles, - color: 'text-purple-400', - bgColor: 'bg-purple-500/10', - borderColor: 'border-purple-500/20', - buttonColor: 'bg-purple-500 hover:bg-purple-600', + color: 'text-amber-400', + themeColor: 'amber', + gradient: 'from-amber-500/20 to-orange-500/20', + borderColor: 'border-amber-500/30', }, { id: 'mullein-tea', @@ -63,10 +63,10 @@ const smokingAids = [ image: 'https://m.media-amazon.com/images/I/81NU8bv72uL._SX679_PIbundle-20,TopRight,0,0_SX679SY693SH20_.jpg', url: 'https://amzn.to/3LzNpEM', icon: Coffee, - color: 'text-green-400', - bgColor: 'bg-green-500/10', - borderColor: 'border-green-500/20', - buttonColor: 'bg-green-500 hover:bg-green-600', + color: 'text-emerald-400', + themeColor: 'emerald', + gradient: 'from-emerald-500/20 to-teal-500/20', + borderColor: 'border-emerald-500/30', }, ]; @@ -74,99 +74,131 @@ export function SmokingAidsContent() { const { theme } = useTheme(); return ( -
- Transform your journey with tools designed to support your physical recovery and mental resilience. You don't have to do this alone. +
+ Transform your journey with tools designed to support your physical recovery and mental resilience. You don't have to do this alone.
- {item.description} -
- --
- {item.benefit} -
+ {/* Content Section */} ++ {item.description} +
+ ++
+ {item.benefit} +
+