Skip to content

Commit be880df

Browse files
committed
fix(blog): enhance newsletter signup section with improved styling and content
1 parent 2ef7314 commit be880df

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

frontend/src/pages/BlogPage.tsx

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -348,32 +348,39 @@ const BlogPage = () => {
348348
</button>
349349
</div>
350350
)}
351+
</div>
352+
</div>
351353

352-
{/* Newsletter Signup */}
353-
<div className="mt-16 bg-primary/5 rounded-lg p-8 text-center">
354-
<h2 className="heading-1 mb-4">Stay Updated with Our Newsletter</h2>
355-
<p className="body-1-medium text-secondary mb-6 max-w-2xl mx-auto">
354+
{/* Newsletter Signup Section */}
355+
<section className="py-16 md:py-24 bg-primary">
356+
<div className="container mx-auto px-4 text-center">
357+
<div className="max-w-5xl mx-auto text-white">
358+
<h2 className="font-comfortaa display-2 mb-6">
359+
Stay Updated with Our Newsletter
360+
</h2>
361+
<p className="body-1-medium mb-8 opacity-90">
356362
Subscribe to receive the latest insights, articles, and resources
357-
directly to your inbox.
363+
directly to your inbox. Join our community of developers and
364+
technology enthusiasts.
358365
</p>
359366
<div className="max-w-md mx-auto">
360-
<div className="flex flex-col sm:flex-row gap-3">
367+
<div className="flex flex-col sm:flex-row gap-4">
361368
<input
362369
type="email"
363370
placeholder="Your email address"
364-
className="flex-grow px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent"
371+
className="flex-grow px-4 py-3 border-2 border-white/20 bg-white/10 rounded-lg text-white placeholder-white/70 focus:outline-none focus:ring-2 focus:ring-white focus:border-white/50 backdrop-blur-sm"
365372
/>
366-
<button className="btn btn-primary whitespace-nowrap">
373+
<button className="btn bg-white text-primary hover:bg-white/90 px-6 py-3 body-1-semibold whitespace-nowrap">
367374
Subscribe
368375
</button>
369376
</div>
370-
<p className="text-xs text-secondary/70 mt-3">
377+
<p className="text-sm text-white/70 mt-4">
371378
We respect your privacy. Unsubscribe at any time.
372379
</p>
373380
</div>
374381
</div>
375382
</div>
376-
</div>
383+
</section>
377384
</div>
378385
);
379386
};

0 commit comments

Comments
 (0)