Skip to content

Commit 84e2280

Browse files
committed
feat: adjust opacity in Cohort component and remove unused Bottom CTA section
1 parent fe4d874 commit 84e2280

File tree

1 file changed

+2
-28
lines changed

1 file changed

+2
-28
lines changed

src/components/landingPage/Cohort.jsx

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const LeagueCard = ({ league }) => {
3636

3737
return (
3838
<MotionDiv
39-
className="group relative rounded-2xl p-6 md:p-8 h-full bg-white border-2 border-gray-100 shadow-sm hover:shadow-lg transition-all duration-300"
39+
className="group relative rounded-2xl p-6 md:p-8 h-full bg-white border-2 border-gray-100 shadow-sm transition-all duration-300"
4040
initial={{ opacity: 0, y: 50 }}
4141
whileInView={{ opacity: 1, y: 0 }}
4242
viewport={{ once: true, amount: 0.3 }}
@@ -309,7 +309,7 @@ const Cohort = () => {
309309
}}
310310
>
311311
{/* Background Pattern */}
312-
<div className="absolute inset-0 opacity-[0.02]">
312+
<div className="absolute inset-0 opacity-[0.05]">
313313
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
314314
<pattern id="grid" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse">
315315
<path d="M 40 0 L 0 0 0 40" fill="none" stroke="#000000" strokeWidth="1"/>
@@ -398,32 +398,6 @@ const Cohort = () => {
398398
})}
399399
</MotionDiv>
400400
</MotionDiv>
401-
402-
{/* Bottom CTA Section */}
403-
<MotionDiv
404-
className="text-center mt-16 md:mt-20"
405-
initial={{ opacity: 0, y: 30 }}
406-
whileInView={{ opacity: 1, y: 0 }}
407-
viewport={{ once: true }}
408-
transition={{ duration: 0.6, delay: 0.5 }}
409-
>
410-
<div className="bg-gray-50 rounded-2xl p-8 md:p-12 border border-gray-200 max-w-4xl mx-auto">
411-
<h3 className="text-2xl md:text-3xl font-bold text-gray-900 mb-4">
412-
Ready to Start Your Learning Journey?
413-
</h3>
414-
<p className="text-gray-600 mb-6 text-lg">
415-
Join thousands of learners and start building skills that matter.
416-
</p>
417-
<button
418-
className="bg-[#FFDE59] hover:bg-yellow-400 text-black font-bold py-4 px-8 rounded-xl transition-all duration-300 transform hover:scale-105"
419-
onClick={() => {
420-
navigate('/signin');
421-
}}
422-
>
423-
Get Started Today
424-
</button>
425-
</div>
426-
</MotionDiv>
427401
</div>
428402
</MotionSection>
429403
);

0 commit comments

Comments
 (0)