Skip to content

Commit 3a67108

Browse files
author
iitzIrFan
committed
Add button hover effect for enhanced user interaction
1 parent 158ff72 commit 3a67108

File tree

2 files changed

+27
-32
lines changed

2 files changed

+27
-32
lines changed

src/pages/get-started/index.tsx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -564,38 +564,6 @@ export default function GetStarted() {
564564
</div>
565565
</section>
566566
</AnimatedSection>
567-
568-
{/* Final CTA */}
569-
<AnimatedSection delay={3}>
570-
<div className={styles.ctaSection}>
571-
<h2>Ready to Transform Your Career?</h2>
572-
<p>Join our community of passionate developers and start building your future today</p>
573-
<div className={styles.buttons}>
574-
<Link
575-
className={`${styles.button} ${styles.buttonPrimary} ${styles.buttonLarge}`}
576-
to="/courses/"
577-
>
578-
Get Started for Free
579-
</Link>
580-
<Link
581-
className={`${styles.button} ${styles.buttonOutline} ${styles.buttonLarge}`}
582-
to="/pricing/"
583-
>
584-
View Pricing
585-
</Link>
586-
</div>
587-
588-
<div className={styles.trustedBy}>
589-
<span>Trusted by developers at</span>
590-
<div className={styles.companies}>
591-
<span>Google</span>
592-
<span>Microsoft</span>
593-
<span>Amazon</span>
594-
<span>Netflix</span>
595-
</div>
596-
</div>
597-
</div>
598-
</AnimatedSection>
599567
</div>
600568
</section>
601569
</main>

src/pages/get-started/styles.module.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,33 @@
651651
}
652652

653653
/* Button Ripple Effect */
654+
/* Button hover effect */
655+
.button-hover-effect {
656+
position: relative;
657+
overflow: hidden;
658+
transition: all 0.3s ease;
659+
}
660+
661+
.button-hover-effect::after {
662+
content: '';
663+
position: absolute;
664+
top: 50%;
665+
left: 50%;
666+
width: 0;
667+
height: 0;
668+
background: rgba(255, 255, 255, 0.1);
669+
border-radius: 50%;
670+
transform: translate(-50%, -50%);
671+
transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
672+
opacity: 0;
673+
}
674+
675+
.button-hover-effect:hover::after {
676+
width: 300px;
677+
height: 300px;
678+
opacity: 1;
679+
}
680+
654681
.button::after {
655682
content: '';
656683
position: absolute;

0 commit comments

Comments
 (0)