Skip to content

Improve case study cards UI#1691

Closed
Sachin-Rajakaruna wants to merge 101 commits intoChameleon-company:masterfrom
Sachin-Rajakaruna:Improve_Case_Study_Cards_UI
Closed

Improve case study cards UI#1691
Sachin-Rajakaruna wants to merge 101 commits intoChameleon-company:masterfrom
Sachin-Rajakaruna:Improve_Case_Study_Cards_UI

Conversation

@Sachin-Rajakaruna
Copy link
Copy Markdown

### Overview
This pull request enhances the Use Cases card grid on the homepage by updating Insights.tsx. The changes focus on improving visual engagement, consistent layout, and user interaction across the card components.

### Changes Implemented

  1. Colour-Coded Category Badges
    Introduced a categoryStyles mapping object that assigns a unique colour scheme to each use case category. Each card now displays a styled badge below the image, making categories instantly identifiable at a glance.
  2. Hover Animations
    Applied a full card lift on hover (hover:-translate-y-1) and a smooth image zoom effect (group-hover:scale-105) using Tailwind's group utility, creating a polished and responsive feel across all cards.
  3. Improved Shadow Depth
    Enhanced shadow behaviour from a static shadow-md to a dynamic shadow-2xl on hover, creating a strong depth effect that draws user attention to the active card.
  4. Consistent Card Height
    Applied flex-grow to the description element so all cards maintain equal height regardless of content length, resolving the uneven card sizing present in the original layout.
  5. Dynamic Border Highlight
    Each card now displays a category-matched coloured border on hover, visually reinforcing the category identity already established by the badge.
  6. Improved Button Styling
    The View Details button darkens on hover with an added shadow, and the arrow icon animates with a rightward slide (group-hover:translate-x-1), providing clear visual feedback to the user.
  7. Light and Dark Mode Hover Backgrounds
    Added background colour transitions for both modes — a subtle grey tint (hover:bg-gray-100) in light mode and a slightly lighter dark shade (dark:hover:bg-[#455A64]) in dark mode — improving the hover experience across both themes.

Outcome

These improvements result in a more visually consistent and interactive Use Cases section. The addition of category badges, hover animations, and responsive styling significantly improves the user experience and visual presentation across both light and dark modes.

Improve.Case.Study.Cards.UI.mp4

AbhiWiz-gif and others added 30 commits July 22, 2025 19:42
…rrows, pagination dots, and optimized image sizing
…al_#dbConnection

Database connection achieved  in PostgreSql
…ationPlan

Add MongoDB to PostgreSQL Migration Plan to the next_webapp folder
…ocations. Added function to display message when search is not found.
s223973381 and others added 29 commits September 17, 2025 05:40
…secase_IshikaMandal

Implemention Coworking_spaces.html for use case implementation
…g-usecase_IshikaMandal

Wd community wellbeing usecase ishika mandal
…ecase_IshikaMandal

Childcare facility usecase implementation ishika mandal
…secase_IshikaMandal

Implementing urban tree planning use case
…ellbeing-Through-Public-Transport-usecase_IshikaMandal

Implementing Enhancing_Community_Wellbeing_Through_Public_Transport
…case_IshikaMandal

Implementing  Night time safety index usecase into the web
…tions-usecase_IshikaMandal

Implementing optimizing event location use case
…-Activity-usecase_IshikaMandal

Population growth and activity usecase ishika mandal
…cessibility_Near_Healthcare_and_Education-usecase_IshikaMandal

implementing optimizing parking accesibility use case
…diversity_Corridors_And_Heat_Vulnerability_SubUseCases Merged by Pratik

WD_Frontend_Pratik#Linked_Biodiversity_Corridors_And_Heat_Vulnerability_SubUseCases
Completed Environmental Sustainability Page, updated data.ts, and added images/dummypages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants