Skip to content

Revert blog cards to simpler design - #19

Merged
Adez017 merged 3 commits into
Adez017-patch-1from
copilot/update-card-design-to-right
Nov 11, 2025
Merged

Revert blog cards to simpler design#19
Adez017 merged 3 commits into
Adez017-patch-1from
copilot/update-card-design-to-right

Conversation

Copilot AI commented Nov 11, 2025

Copy link
Copy Markdown

Description

Reverts blog cards from enhanced animated design back to original minimalist style as requested. Removes complex hover effects, animations, and framer-motion wrapper while preserving all functionality.

Fixes # (issue)

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Changes Made

Reverted blogCard.tsx:

  • Removed framer-motion wrapper and animations
  • Removed useState hook for hover state
  • Removed whileHover, initial, animate animation props
  • Replaced motion.div with simple div
  • Simplified component to original clean structure

Reverted blogCarousel.css (removed 240+ lines):

  • Card hover animations (translateY, scale, shadow transitions)
  • Image zoom effects on hover (transform: scale(1.08))
  • Category badge hover animations and transforms
  • Enhanced gradient backgrounds and overlays
  • Tag hover animations with shine effect
  • Enhanced "Read More" button with slide-in gradient effect
  • Complex shadow and border transitions
  • Card meta underline animation effects

Preserved:

  • All links and navigation
  • Author information and read time
  • Category badges
  • Dark mode support
  • Responsive layout
  • Carousel navigation

Dependencies

No new dependencies required.

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.

Screenshot

Blog Cards - Simplified Design

Cards now display with cleaner, simpler design without complex animations or overlays.

Original prompt

https://private-user-images.githubusercontent.com/30715153/511874967-704dbe7e-a1eb-41ee-a88c-84f26dfd6c9b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjI4Njg4MTYsIm5iZiI6MTc2Mjg2ODUxNiwicGF0aCI6Ii8zMDcxNTE1My81MTE4NzQ5NjctNzA0ZGJlN2UtYTFlYi00MWVlLWE4OGMtODRmMjZkZmQ2YzliLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTExMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMTExVDEzNDE1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA1MGJkOGMxNDY3MjRjYjRiZDJhNTJkMTg2YTI5MGM5NzQwODA5OWZmOGE3NGMwOWM1MDFkNTVkNDE2M2UyMGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nS9R5e_XNeEopCO1zXAnrqpE0KB-r7LgnQZQdl0ryRA

can we keep the cards design like the right one , in our current changes it has been changed to left one , preserve all other functionalities just change this thing


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Adez017 <142787780+Adez017@users.noreply.github.com>
Copilot AI changed the title [WIP] Update card design to match right layout Revert showcase card design to original simpler style Nov 11, 2025
Copilot AI requested a review from Adez017 November 11, 2025 13:59
@Adez017

Adez017 commented Nov 11, 2025

Copy link
Copy Markdown
Owner

@copilot , i said about the cards of blogs , why you made changes in other files ?

Copilot AI commented Nov 11, 2025

Copy link
Copy Markdown
Author

@copilot , i said about the cards of blogs , why you made changes in other files ?

I apologize for the confusion. I mistakenly changed showcase cards instead of blog cards. The commit also included unintended prettier formatting changes to other files.

I'm now reverting:

  1. Showcase cards back to the enhanced version (undoing my previous changes)
  2. Blog cards to the simpler original design (what you actually requested)
  3. All unintended formatting changes to other files

Working on this now...

Co-authored-by: Adez017 <142787780+Adez017@users.noreply.github.com>
Copilot AI changed the title Revert showcase card design to original simpler style Revert blog cards to simpler design Nov 11, 2025
@Adez017

Adez017 commented Nov 11, 2025

Copy link
Copy Markdown
Owner

@copilot could you attach the images preview for better understanding

Copilot AI commented Nov 11, 2025

Copy link
Copy Markdown
Author

@copilot could you attach the images preview for better understanding

Here are the images showing the blog cards after simplification in commit 1421eed:

Blog Cards - Simplified Design (Current State):
Blog Cards Simplified

The blog cards now have:

  • Clean, simple border and shadow
  • No hover animations or scaling effects
  • No image zoom on hover
  • Simple category badge without transforms
  • Standard "Read Article →" link without slide-in effects

Showcase Cards - Enhanced Design (Restored):
Showcase Cards Enhanced

The showcase cards maintain the enhanced design with hover effects and animations as they were not meant to be changed.

@Adez017
Adez017 marked this pull request as ready for review November 11, 2025 16:11
@Adez017
Adez017 merged commit d6b7da0 into Adez017-patch-1 Nov 11, 2025
5 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project.

I would be grateful if you can nominate for keeping this opensource project live and running Link to Nominate. Please do star the repo and Keep up the fantastic work! 🚀

@Adez017
Adez017 deleted the copilot/update-card-design-to-right branch November 19, 2025 03:51
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.

2 participants