Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions src/components/topmate/TopMateCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ const TopMateCard: React.FC<TopMateCardProps> = ({
: "border-gray-200/50 bg-white/80 shadow-lg"
}`}
>
{/* Gradient Background */}
<div className="absolute inset-0 bg-gradient-to-br from-blue-500/5 via-purple-500/5 to-pink-500/5" />

{/* Floating Elements */}
<div className="absolute -top-2 -right-2 h-20 w-20 rounded-full bg-gradient-to-br from-blue-400/20 to-purple-600/20 blur-xl" />
<div className="absolute -bottom-2 -left-2 h-16 w-16 rounded-full bg-gradient-to-tr from-green-400/20 to-blue-600/20 blur-xl" />
{/* Gradient Background (hidden in dark mode) */}
{!isDark && (
<>
<div className="absolute inset-0 bg-gradient-to-br from-blue-500/5 via-purple-500/5 to-pink-500/5" />
{/* Floating Elements */}
<div className="absolute -top-2 -right-2 h-20 w-20 rounded-full bg-gradient-to-br from-blue-400/20 to-purple-600/20 blur-xl" />
<div className="absolute -bottom-2 -left-2 h-16 w-16 rounded-full bg-gradient-to-tr from-green-400/20 to-blue-600/20 blur-xl" />
</>
)}

<div className="relative p-8">
{/* Header Badge */}
Expand Down
22 changes: 13 additions & 9 deletions src/pages/courses/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function CoursesContent() {
>
Transform Your Career
<br className="hidden md:block" />
<span className="block md:inline">in Data Engineering</span>
<span className="block md:inline">in Engineering</span>
</motion.h1>
<div className="flex w-full justify-center">
Comment thread
steam-bell-92 marked this conversation as resolved.
<motion.p
Expand Down Expand Up @@ -503,12 +503,14 @@ function CoursesContent() {
</svg>
</span>
</a>
<button
<a
href="https://www.youtube.com/watch?v=O1ahDsq8DU0&list=PLrLTYhoDFx-k62rLLajSB-jeqKwLkDrkF"
target="_blank"
rel="noopener noreferrer"
className="courses-button-secondary group relative overflow-hidden rounded-2xl px-8 py-3 text-base font-bold shadow-2xl transition-all duration-300 hover:scale-105 md:px-10 md:py-4 md:text-lg"
onClick={() => handleAction("curriculum")}
>
<span className="relative z-10 flex items-center justify-center gap-2">
View Curriculum
Postman Certification
<svg
className="h-4 w-4 transition-transform group-hover:translate-x-1 md:h-5 md:w-5"
fill="none"
Expand All @@ -523,7 +525,7 @@ function CoursesContent() {
/>
</svg>
</span>
</button>
</a>
</motion.div>
</div>

Expand Down Expand Up @@ -785,18 +787,20 @@ function CoursesContent() {
</motion.div>
</React.Fragment>
))}
<motion.button
<motion.a
href="https://www.youtube.com/watch?v=GrTV59Y84S8&list=PLrLTYhoDFx-kiuFiGQqVpYYZ56pIhUW63"
target="_blank"
rel="noopener noreferrer"
className="courses-button-primary relative z-10 mt-8 transform rounded-2xl px-8 py-3 shadow-2xl transition-all duration-300 hover:scale-110 xl:mt-12 xl:px-10 xl:py-4"
Comment thread
steam-bell-92 marked this conversation as resolved.
onClick={() => handleAction("enroll")}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: 0.8 }}
whileHover={{ y: -5 }}
whileTap={{ y: 0 }}
>
Enroll now
</motion.button>
Learn now
</motion.a>
</div>
{/* Right column */}
<div className="flex flex-1 flex-col gap-6 lg:gap-8">
Expand Down
Loading