Skip to content

Commit e749b80

Browse files
committed
added the changes to testimonials
1 parent 6b8b7b0 commit e749b80

3 files changed

Lines changed: 31 additions & 59 deletions

File tree

src/components/blogCarousel/blogCarousel.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
/* ── Hover: lift + purple glow ── */
1919
.article-card:hover {
2020
transform: translateY(-8px);
21-
box-shadow: 0 20px 48px rgba(147, 51, 234, 0.22),
22-
0 4px 12px rgba(147, 51, 234, 0.15);
23-
border-color: rgba(147, 51, 234, 0.8);
21+
box-shadow: 0 20px 48px rgba(22, 163, 74, 0.22),
22+
0 4px 12px rgba(22, 163, 74, 0.15);
23+
border-color: rgba(22, 163, 74, 0.8);
2424
}
2525

2626
/* ── Dark mode base ── */
@@ -32,9 +32,9 @@
3232

3333
[data-theme="dark"] .article-card:hover {
3434
transform: translateY(-8px);
35-
box-shadow: 0 20px 48px rgba(192, 132, 252, 0.28),
36-
0 4px 12px rgba(192, 132, 252, 0.18);
37-
border-color: rgba(192, 132, 252, 0.8);
35+
box-shadow: 0 20px 48px rgba(74, 222, 128, 0.28),
36+
0 4px 12px rgba(74, 222, 128, 0.18);
37+
border-color: rgba(74, 222, 128, 0.8);
3838
}
3939

4040
/* ── Subtle overlay on hover ── */
@@ -43,8 +43,8 @@
4343
position: absolute;
4444
inset: 0;
4545
background: linear-gradient(135deg,
46-
rgba(147, 51, 234, 0.04) 0%,
47-
rgba(217, 70, 239, 0.04) 100%);
46+
rgba(22, 163, 74, 0.04) 0%,
47+
rgba(74, 222, 128, 0.04) 100%);
4848
opacity: 0;
4949
transition: opacity 0.3s ease;
5050
pointer-events: none;
@@ -171,15 +171,15 @@
171171
}
172172

173173
.article-card:hover .card-title {
174-
color: #9333ea;
174+
color: #16a34a;
175175
}
176176

177177
[data-theme="dark"] .card-title {
178178
color: #f1f5f9;
179179
}
180180

181181
[data-theme="dark"] .article-card:hover .card-title {
182-
color: #a78bfa;
182+
color: #4ade80;
183183
}
184184

185185
.card-title-link {
@@ -238,7 +238,7 @@
238238
left: 0;
239239
width: 0;
240240
height: 2px;
241-
background: linear-gradient(90deg, #9333ea 0%, #c084fc 100%);
241+
background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%);
242242
border-radius: 2px;
243243
transition: width 0.35s ease;
244244
}
@@ -248,7 +248,7 @@
248248
}
249249

250250
[data-theme="dark"] .card-meta::after {
251-
background: linear-gradient(90deg, #c084fc 0%, #d946ef 100%);
251+
background: linear-gradient(90deg, #4ade80 0%, #86efac 100%);
252252
}
253253

254254
/* ── Author ── */

src/components/testimonials/TestimonialCarousel.tsx

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -201,16 +201,11 @@ export function TestimonialCarousel() {
201201
>
202202
<motion.div custom={0} variants={revealVariants} className="mb-2.5">
203203
<span
204-
className="inline-flex items-center gap-2 rounded-full px-4 py-1.5 text-xs font-semibold tracking-widest uppercase"
204+
className="inline-flex items-center gap-2 text-xs font-semibold tracking-widest uppercase"
205205
style={{
206-
background: isDark
207-
? "rgba(99,102,241,0.08)"
208-
: "rgba(99,102,241,0.06)",
209-
border: isDark
210-
? "1px solid rgba(99,102,241,0.15)"
211-
: "1px solid rgba(99,102,241,0.12)",
212-
color: isDark ? "#a5b4fc" : "#4338ca",
213-
fontFamily: "'Outfit', 'Inter', -apple-system, sans-serif",
206+
color: isDark ? "#4ade80" : "#16a34a",
207+
fontFamily:
208+
"'Space Grotesk', 'Inter', -apple-system, sans-serif",
214209
}}
215210
>
216211
✦ Testimonials
@@ -219,23 +214,13 @@ export function TestimonialCarousel() {
219214
<motion.h2
220215
custom={1}
221216
variants={revealVariants}
222-
className="mb-2 text-2xl sm:text-3xl font-extrabold leading-tight tracking-tighter"
217+
className="mb-2 text-2xl sm:text-3xl font-bold leading-tight tracking-tight"
223218
style={{
224-
color: isDark ? "#f1f5f9" : "#0f172a",
225-
fontFamily: "'Outfit', 'Inter', -apple-system, sans-serif",
219+
color: isDark ? "#ffffff" : "#0f172a",
220+
fontFamily: "'Space Grotesk', 'Inter', -apple-system, sans-serif",
226221
}}
227222
>
228-
Builders ❤️{" "}
229-
<span
230-
style={{
231-
background: "linear-gradient(135deg, #6366f1, #a855f7)",
232-
WebkitBackgroundClip: "text",
233-
WebkitTextFillColor: "transparent",
234-
backgroundClip: "text",
235-
}}
236-
>
237-
Recode Hive
238-
</span>
223+
Builders <span aria-label="love">&hearts;</span> Recode Hive
239224
</motion.h2>
240225
<motion.p
241226
custom={2}
@@ -246,7 +231,8 @@ export function TestimonialCarousel() {
246231
fontFamily: "'Inter', -apple-system, sans-serif",
247232
}}
248233
>
249-
Our builders go on to do incredible things from OpenAI to becoming AI engineers and founders.
234+
Our builders go on to do incredible things — from OpenAI to becoming
235+
AI engineers and founders.
250236
</motion.p>
251237
</motion.div>
252238

src/components/topmate/TopMateSection.tsx

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,11 @@ const TopMateSection = ({ setShowTopmate }) => {
4141
>
4242
<motion.div custom={0} variants={revealVariants} className="mb-2.5">
4343
<span
44-
className="inline-flex items-center gap-2 rounded-full px-4 py-1.5 text-xs font-semibold tracking-widest uppercase"
44+
className="inline-flex items-center gap-2 text-xs font-semibold tracking-widest uppercase"
4545
style={{
46-
background: isDark
47-
? "rgba(99,102,241,0.08)"
48-
: "rgba(99,102,241,0.06)",
49-
border: isDark
50-
? "1px solid rgba(99,102,241,0.15)"
51-
: "1px solid rgba(99,102,241,0.12)",
52-
color: isDark ? "#a5b4fc" : "#4338ca",
53-
fontFamily: "'Outfit', 'Inter', -apple-system, sans-serif",
46+
color: isDark ? "#4ade80" : "#16a34a",
47+
fontFamily:
48+
"'Space Grotesk', 'Inter', -apple-system, sans-serif",
5449
}}
5550
>
5651
✦ Mentorship
@@ -60,23 +55,14 @@ const TopMateSection = ({ setShowTopmate }) => {
6055
<motion.h2
6156
custom={1}
6257
variants={revealVariants}
63-
className="mb-2 text-2xl leading-tight font-extrabold tracking-tighter sm:text-3xl"
58+
className="mb-2 text-2xl leading-tight font-bold tracking-tight sm:text-3xl"
6459
style={{
65-
color: isDark ? "#f1f5f9" : "#0f172a",
66-
fontFamily: "'Outfit', 'Inter', -apple-system, sans-serif",
60+
color: isDark ? "#ffffff" : "#0f172a",
61+
fontFamily:
62+
"'Space Grotesk', 'Inter', -apple-system, sans-serif",
6763
}}
6864
>
69-
Book a{" "}
70-
<span
71-
style={{
72-
background: "linear-gradient(135deg, #6366f1, #a855f7)",
73-
WebkitBackgroundClip: "text",
74-
WebkitTextFillColor: "transparent",
75-
backgroundClip: "text",
76-
}}
77-
>
78-
Session
79-
</span>
65+
Book a Session
8066
</motion.h2>
8167

8268
<motion.p

0 commit comments

Comments
 (0)