diff --git a/src/components/testimonials/TestimonialCard.tsx b/src/components/testimonials/TestimonialCard.tsx index d6536b85..98b67460 100644 --- a/src/components/testimonials/TestimonialCard.tsx +++ b/src/components/testimonials/TestimonialCard.tsx @@ -36,38 +36,41 @@ const TestimonialCard: React.FC = ({ return ( {/* Header with Avatar and Name */} -
- +
+ - CN + CN -
-

+
+

{name}

-

+

@{username}

{/* Content */} -

+

{content}

{/* Footer with Hashtags and Date */}
{/* Hashtags */} @@ -75,7 +78,11 @@ const TestimonialCard: React.FC = ({ {content.match(/#\w+/g)?.map((hashtag, index) => ( {hashtag} @@ -83,22 +90,22 @@ const TestimonialCard: React.FC = ({
{/* Link and Date Row */} -
); }; -export default TestimonialCard; \ No newline at end of file +export default TestimonialCard; diff --git a/src/components/testimonials/TestimonialCarousel.tsx b/src/components/testimonials/TestimonialCarousel.tsx index b8cddf1a..bf3f09fd 100644 --- a/src/components/testimonials/TestimonialCarousel.tsx +++ b/src/components/testimonials/TestimonialCarousel.tsx @@ -58,15 +58,15 @@ export function TestimonialCarousel() { }, [api]); return ( -
-
-

Loved by Many Users

-
+
+
+

Loved by Many Users

+
- + {testimonials.map((testimonial, index) => ( - - + +
+ +
))}
-
- -
+
+ +
{Array.from({ length: count }).map((_, index) => ( -
- +
); -} \ No newline at end of file +} diff --git a/src/components/topmate/TopMateCard.tsx b/src/components/topmate/TopMateCard.tsx index 772c1aca..03e4e470 100644 --- a/src/components/topmate/TopMateCard.tsx +++ b/src/components/topmate/TopMateCard.tsx @@ -28,61 +28,49 @@ const TopMateCard: React.FC = ({ initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.5 }} - className={`relative w-full max-w-md mx-auto rounded-3xl shadow-2xl overflow-hidden hover:shadow-3xl transition-all duration-300 transform hover:-translate-y-1 ${ + className={`group relative w-full mx-auto rounded-2xl sm:rounded-3xl shadow-xl hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-1 min-h-[365px] flex flex-col overflow-hidden ${ isDark ? "bg-[#1a1a1a] text-white" : "bg-white text-black" }`} > - {/* Decorative Arrows */} -
- {[...Array(3)].map((_, i) => ( - - - - ))} -
+ {/* Gradient Overlay - Shows on Hover */} +
{/* Card Content */} -
- {/* Header */} -
-
- - 1:1 CALL - +
+ {/* Header - Badge and Close Button */} +
+
- - {duration} + + + {duration} +
{/* Title */}

@@ -90,60 +78,43 @@ const TopMateCard: React.FC = ({

{/* Description */} -

+

{description}

{/* Profile Section */} -
-
+
+
Profile -
- - Book a slot at - +
-
- {/* Show only the circular icon part of the Topmate logo */} -
- Topmate icon -
- {/* Theme-aware text to ensure readability on dark backgrounds */} - - topmate - -
- - {/* Gradient Border Effect */} -
); }; diff --git a/src/components/topmate/TopMateSection.tsx b/src/components/topmate/TopMateSection.tsx index 8a42e1ba..96097808 100644 --- a/src/components/topmate/TopMateSection.tsx +++ b/src/components/topmate/TopMateSection.tsx @@ -14,18 +14,18 @@ const TopMateSection = ({ setShowTopmate }) => { }; return ( -
-
-
+
+
+

Book a Session

@@ -33,7 +33,7 @@ const TopMateSection = ({ setShowTopmate }) => {

-
+