Skip to content

Conversation

Condition00
Copy link
Contributor

Description

Enhanced and changed the ui of topmate section, made the ui of carousel and pagination better.

Fixes #704

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)

Changes Made

Remodeled entire topmate section, fixed the pagination with better styling and removed inconsistencies.

Dependencies

No new dependencies used.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.
image
Screen.Recording.2025-10-03.222002.mp4

@Copilot Copilot AI review requested due to automatic review settings October 3, 2025 16:59
Copy link

vercel bot commented Oct 3, 2025

@Condition00 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

github-actions bot commented Oct 3, 2025

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@github-actions github-actions bot added the recode this is label for leaderboard label Oct 3, 2025
Copy link

github-actions bot commented Oct 3, 2025

Synced data from Linked Issues

Labels:

  • full-test-needed
  • level 1
  • recode
  • hacktoberfest-accepted

Assignees:

  • Condition00

Milestones:

  • recode:launch 3.0

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the TopMate section UI and fixes inconsistencies in the testimonials carousel. The changes focus on improving responsive design, modernizing visual styling, and creating a more cohesive user experience across components.

  • Redesigned TopMate card with improved responsive layout and modern styling
  • Enhanced testimonial carousel with better pagination controls and consistent spacing
  • Updated typography and color schemes to use purple/pink gradient themes

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/components/topmate/TopMateSection.tsx Added responsive padding and max-width constraints for better layout
src/components/topmate/TopMateCard.tsx Complete redesign with modern card styling, improved close button, and enhanced responsive behavior
src/components/testimonials/TestimonialCarousel.tsx Updated pagination dots with gradient styling and improved navigation controls
src/components/testimonials/TestimonialCard.tsx Enhanced card design with consistent purple theme and improved responsive layout

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

))}
</div>
{/* Gradient Overlay - Shows on Hover */}
<div className="absolute inset-0 bg-gradient-to-br from-purple-500/0 via-pink-500/0 to-purple-500/0 group-hover:from-purple-500/10 group-hover:via-pink-500/10 group-hover:to-purple-500/10 transition-all duration-500 pointer-events-none hover:cursor-pointer" />
Copy link
Preview

Copilot AI Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hover:cursor-pointer class is redundant with pointer-events-none. Since pointer events are disabled, the cursor style won't be applied. Remove hover:cursor-pointer or reconsider the pointer-events strategy.

Suggested change
<div className="absolute inset-0 bg-gradient-to-br from-purple-500/0 via-pink-500/0 to-purple-500/0 group-hover:from-purple-500/10 group-hover:via-pink-500/10 group-hover:to-purple-500/10 transition-all duration-500 pointer-events-none hover:cursor-pointer" />
<div className="absolute inset-0 bg-gradient-to-br from-purple-500/0 via-pink-500/0 to-purple-500/0 group-hover:from-purple-500/10 group-hover:via-pink-500/10 group-hover:to-purple-500/10 transition-all duration-500 pointer-events-none" />

Copilot uses AI. Check for mistakes.

<CarouselPrevious className="static translate-y-0" />
<div className="flex gap-2">
<div className="flex items-center justify-center gap-4 mt-8">
<CarouselPrevious className="static translate-y-0 cursor-pointer" />
Copy link
Preview

Copilot AI Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Adding cursor-pointer class to navigation buttons is redundant since buttons already have pointer cursor by default. Consider removing this class for cleaner code.

Copilot uses AI. Check for mistakes.

))}
</div>
<CarouselNext className="static translate-y-0" />
<CarouselNext className="static translate-y-0 cursor-pointer" />
Copy link
Preview

Copilot AI Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Adding cursor-pointer class to navigation buttons is redundant since buttons already have pointer cursor by default. Consider removing this class for cleaner code.

Copilot uses AI. Check for mistakes.

@sanjay-kv sanjay-kv added this to the recode:launch 3.0 milestone Oct 3, 2025
Copy link

vercel bot commented Oct 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
recode-website Ready Ready Preview Comment Oct 3, 2025 11:52pm

@sanjay-kv
Copy link
Member

@Condition00

I will put this under review as this a major design change and in size. i have to get the teams opinion . will merge it soon or request some changes based on the feedback.

@sanjay-kv sanjay-kv added the under review Review under the maintainers or the admins label Oct 4, 2025
Copy link
Member

@iitzIrFan iitzIrFan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ! @Condition00
@sanjay-kv This design is descriptive for the reviews or else we have to make it clickable.

@Condition00
Copy link
Contributor Author

yup yup its fine. I can make any changes if you want. @sanjay-kv

@iitzIrFan iitzIrFan added Ready for Merge PR has passed reviews and checks, and is ready to be merged into the main branch. and removed under review Review under the maintainers or the admins labels Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted level 1 10 points Ready for Merge PR has passed reviews and checks, and is ready to be merged into the main branch. recode this is label for leaderboard
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

🐞[Bug]: Enhancement of the topmate section
3 participants