Skip to content

Commit 53cfa7f

Browse files
authored
Merge pull request #55 from codeunia-dev/change
Change
2 parents 2d61a84 + 19a0b47 commit 53cfa7f

File tree

3 files changed

+78
-35
lines changed

3 files changed

+78
-35
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
- 🧠 Latest News in Artificial Intelligence & Machine Learning
99
- ✍ Developer-Focused Blog Posts
1010
- 📅 Event Calendar and Reminders
11-
- 🧰 Curated Tools and Resources for Developers
12-
- 📬 Newsletter Subscription
11+
- 🧰 Curated Tools and Resources for Developers (Coming Soon)
12+
- 📬 Newsletter Subscription (Coming Soon)
1313
- 📊 Community Polls and Discussions (Coming Soon)

app/blog/page.tsx

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export default function BlogPage() {
240240
<div className="container px-4 mx-auto relative z-10">
241241
<div className="flex flex-col lg:flex-row gap-6 items-center justify-between">
242242
<div className="relative w-full lg:w-96 group">
243-
<Search className="absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground group-focus-within:text-primary transition-colors" />
243+
<Search className="absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-white z-10 group-focus-within:text-primary transition-colors" />
244244
<Input
245245
placeholder="Search articles..."
246246
value={searchTerm}
@@ -293,9 +293,29 @@ export default function BlogPage() {
293293
animate={{ opacity: 1, y: 0 }}
294294
transition={{ duration: 0.5 }}
295295
>
296-
<Badge variant="outline" className="px-4 py-2 bg-gradient-to-r from-yellow-500/10 to-orange-500/10 border-yellow-500/20">
296+
{/* <Badge variant="outline" className="px-4 py-2 bg-gradient-to-r from-yellow-500/10 to-orange-500/10 border-yellow-500/20">
297297
⭐ Featured Articles
298-
</Badge>
298+
</Badge> */}
299+
<div className="flex flex-col items-center justify-center gap-4">
300+
<button className="bg-slate-800 no-underline group relative shadow-2xl shadow-zinc-900 rounded-full p-px text-sm font-semibold leading-6 text-white inline-block cursor-default">
301+
{/* Glow on hover */}
302+
<span className="absolute inset-0 overflow-hidden rounded-full">
303+
<span className="absolute inset-0 rounded-full bg-[image:radial-gradient(75%_100%_at_50%_0%,rgba(56,189,248,0.6)_0%,rgba(56,189,248,0)_75%)] opacity-0 transition-opacity duration-500 group-hover:opacity-100" />
304+
</span>
305+
306+
{/* Inner content */}
307+
<div className="relative flex space-x-2 items-center z-10 rounded-full bg-zinc-950 py-0.5 px-4 ring-1 ring-white/10">
308+
<span>Featured Articles</span>
309+
<span>
310+
<Sparkles className="w-3 h-3 text-cyan-300" />
311+
</span>
312+
</div>
313+
314+
{/* Underline glow */}
315+
<span className="absolute -bottom-0 left-[1.125rem] h-px w-[calc(100%-2.25rem)] bg-gradient-to-r from-emerald-400/0 via-emerald-400/90 to-emerald-400/0 transition-opacity duration-500 group-hover:opacity-40" />
316+
</button>
317+
</div>
318+
299319
<h2 className="text-4xl md:text-5xl font-bold">
300320
Editor&apos;s <span className="gradient-text">Picks</span>
301321
</h2>
@@ -394,9 +414,29 @@ export default function BlogPage() {
394414
transition={{ duration: 0.5 }}
395415
>
396416
<div className="space-y-2">
397-
<Badge variant="outline" className="px-3 py-1 bg-gradient-to-r from-primary/10 to-purple-500/10 border-primary/20">
417+
{/* <Badge variant="outline" className="px-3 py-1 bg-gradient-to-r from-primary/10 to-purple-500/10 border-primary/20">
398418
📖 All Articles
399-
</Badge>
419+
</Badge> */}
420+
<div className="flex flex-col items-start gap-4"> {/* Changed from items-center to items-start */}
421+
<button className="bg-slate-800 no-underline group relative shadow-2xl shadow-zinc-900 rounded-full p-px text-sm font-semibold leading-6 text-white inline-block">
422+
{/* Glow on hover */}
423+
<span className="absolute inset-0 overflow-hidden rounded-full">
424+
<span className="absolute inset-0 rounded-full bg-[image:radial-gradient(75%_100%_at_50%_0%,rgba(56,189,248,0.6)_0%,rgba(56,189,248,0)_75%)] opacity-0 transition-opacity duration-500 group-hover:opacity-100" />
425+
</span>
426+
427+
{/* Inner content */}
428+
<div className="relative flex space-x-2 items-center z-10 rounded-full bg-zinc-950 py-0.5 px-4 ring-1 ring-white/10">
429+
<span>All Articles</span>
430+
<span>
431+
<Sparkles className="w-3 h-3 text-cyan-300" />
432+
</span>
433+
</div>
434+
435+
{/* Underline glow */}
436+
<span className="absolute -bottom-0 left-[1.125rem] h-px w-[calc(100%-2.25rem)] bg-gradient-to-r from-emerald-400/0 via-emerald-400/90 to-emerald-400/0 transition-opacity duration-500 group-hover:opacity-40" />
437+
</button>
438+
</div>
439+
400440
<h2 className="text-4xl md:text-5xl font-bold">
401441
Latest <span className="gradient-text">Stories</span>
402442
</h2>

app/join/page.tsx

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -293,34 +293,37 @@ export default function JoinPage() {
293293

294294
{/* cta section */}
295295
<section className="py-20 bg-gradient-to-br from-primary/5 via-background to-purple-500/5">
296-
<div className="container px-4 mx-auto text-center">
297-
<motion.div
298-
initial={{ opacity: 0, y: 20 }}
299-
whileInView={{ opacity: 1, y: 0 }}
300-
viewport={{ once: true }}
301-
transition={{ duration: 0.5 }}
302-
className="max-w-3xl mx-auto space-y-8"
303-
>
304-
<h2 className="text-3xl md:text-4xl font-bold">
305-
Ready to Make a Difference?
306-
</h2>
307-
<p className="text-xl text-muted-foreground">
308-
Join our community of passionate individuals who are shaping the future of developer education and community building.
309-
</p>
310-
<div className="flex flex-col sm:flex-row gap-4 justify-center">
311-
<Button size="lg" className="glow-effect">
312-
<Mail className="mr-2 h-5 w-5" />
313-
Contact Us
314-
</Button>
315-
<Button size="lg" variant="outline">
316-
<Users className="mr-2 h-5 w-5" />
317-
Learn More
318-
</Button>
319-
</div>
320-
</motion.div>
321-
</div>
322-
</section>
323-
296+
<div className="container px-4 mx-auto text-center">
297+
<motion.div
298+
initial={{ opacity: 0, y: 20 }}
299+
whileInView={{ opacity: 1, y: 0 }}
300+
viewport={{ once: true }}
301+
transition={{ duration: 0.5 }}
302+
className="max-w-3xl mx-auto space-y-8"
303+
>
304+
<h2 className="text-3xl md:text-4xl font-bold">
305+
Have Questions or Want to Explore More?
306+
</h2>
307+
<p className="text-xl text-muted-foreground">
308+
Whether you&apos;re looking to get in touch or learn more about our mission, we&apos;re here to help you get started.
309+
</p>
310+
<div className="flex flex-col sm:flex-row gap-4 justify-center">
311+
<Button size="lg" className="glow-effect" asChild>
312+
<a href="/contact" className="flex items-center justify-center">
313+
<Mail className="mr-2 h-5 w-5" />
314+
Contact Us
315+
</a>
316+
</Button>
317+
<Button size="lg" variant="outline" asChild>
318+
<a href="/about" className="flex items-center justify-center">
319+
<Users className="mr-2 h-5 w-5" />
320+
Learn More
321+
</a>
322+
</Button>
323+
</div>
324+
</motion.div>
325+
</div>
326+
</section>
324327
<Footer />
325328
</div>
326329
);

0 commit comments

Comments
 (0)