Skip to content

Commit e67902b

Browse files
committed
Update Codebuff strong screen
1 parent aedb14c commit e67902b

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

web/src/app/strong/strong-client.tsx

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function SubscribeButton({
7272
onClick={handleSubscribe}
7373
disabled={isLoading}
7474
className={cn(
75-
'inline-flex items-center justify-center gap-2 rounded-lg px-10 py-3.5 text-base font-semibold transition-all duration-200',
75+
'inline-flex items-center justify-center gap-2 rounded-lg px-3 py-2 sm:px-10 sm:py-3.5 text-xs sm:text-base font-semibold transition-all duration-200',
7676
'bg-acid-green text-black hover:bg-acid-green/90 shadow-[0_0_30px_rgba(0,255,149,0.2)] hover:shadow-[0_0_50px_rgba(0,255,149,0.3)]',
7777
'disabled:opacity-60 disabled:cursor-not-allowed',
7878
className,
@@ -156,7 +156,7 @@ export default function StrongClient() {
156156

157157
{/* Foreground content */}
158158
<div className="relative z-10 flex flex-col items-center text-center max-w-4xl">
159-
<div className="max-w-lg">
159+
<div className="max-w-2xl">
160160
<motion.p
161161
className="font-mono text-xs sm:text-sm tracking-[0.3em] text-acid-green/50 uppercase mb-8"
162162
initial={{ opacity: 0 }}
@@ -167,7 +167,7 @@ export default function StrongClient() {
167167
</motion.p>
168168

169169
<motion.h1
170-
className="text-3xl sm:text-4xl md:text-5xl font-bold text-white mb-3 tracking-tight"
170+
className="text-4xl sm:text-5xl md:text-5xl font-bold text-white mb-3 tracking-tight"
171171
initial={{ opacity: 0, y: 20 }}
172172
animate={{ opacity: 1, y: 0 }}
173173
transition={{ duration: 0.7, delay: 0.7 }}
@@ -187,7 +187,7 @@ export default function StrongClient() {
187187

188188
{/* Pricing cards grid */}
189189
<motion.div
190-
className="grid grid-cols-1 md:grid-cols-3 gap-4 mb-10 w-full"
190+
className="grid grid-cols-3 gap-2 sm:gap-5 mb-10 w-full"
191191
initial={{ opacity: 0, y: 20 }}
192192
animate={{ opacity: 1, y: 0 }}
193193
transition={{ duration: 0.7, delay: 1.1 }}
@@ -200,20 +200,21 @@ export default function StrongClient() {
200200
<div
201201
key={price}
202202
className={cn(
203-
'rounded-xl p-6 backdrop-blur-sm border flex flex-col items-center',
203+
'rounded-xl p-3 sm:p-8 backdrop-blur-sm border flex flex-col items-center transition-all duration-300',
204+
'hover:scale-[1.02]',
204205
isHighlighted
205-
? 'border-acid-green/30 bg-acid-green/[0.04] shadow-[0_0_40px_rgba(0,255,149,0.08)]'
206-
: 'border-white/10 bg-white/[0.02]',
206+
? 'border-acid-green/30 bg-acid-green/[0.04] shadow-[0_0_40px_rgba(0,255,149,0.08)] hover:shadow-[0_0_60px_rgba(0,255,149,0.15)]'
207+
: 'border-white/10 bg-white/[0.02] hover:border-white/20 hover:bg-white/[0.04]',
207208
)}
208209
>
209210
<div className="flex items-baseline justify-center gap-1 mb-1">
210-
<span className="text-4xl sm:text-5xl font-bold text-white tracking-tight">
211+
<span className="text-xl sm:text-5xl font-bold text-white tracking-tight">
211212
${tier.monthlyPrice}
212213
</span>
213-
<span className="text-sm text-white/30">/mo</span>
214+
<span className="text-xs sm:text-sm text-white/30">/mo</span>
214215
</div>
215216

216-
<p className="text-sm text-white/40 mb-6">
217+
<p className="text-xs sm:text-sm text-white/40 mb-3 sm:mb-6">
217218
{USAGE_MULTIPLIER[price]} usage
218219
</p>
219220

@@ -236,7 +237,7 @@ export default function StrongClient() {
236237
animate={{ opacity: 1 }}
237238
transition={{ duration: 0.8, delay: 1.6 }}
238239
>
239-
Cancel anytime
240+
Cancel anytime · Tax not included · Usage amounts subject to change
240241
</motion.p>
241242
</div>
242243
</div>

0 commit comments

Comments
 (0)