Skip to content

Fix: improved Success Stories spacing, card design, responsiveness#160

Merged
lolpanda2004 merged 1 commit intololpanda2004:mainfrom
shagunkimothi:fix/success-stories-ui
Aug 24, 2025
Merged

Fix: improved Success Stories spacing, card design, responsiveness#160
lolpanda2004 merged 1 commit intololpanda2004:mainfrom
shagunkimothi:fix/success-stories-ui

Conversation

@shagunkimothi
Copy link
Contributor

Spacing and Readability
Vertical Spacing: The vertical padding on the main container was changed from py-16 to py-20, and the bottom margin of the subheading was increased from mb-12 to mb-20. This creates more space around the content, reducing the cramped feel and improving overall readability.

Card Spacing: The gap between the grid items was increased from gap-10 to gap-12 lg:gap-16. This provides more breathing room between each success story card.

Card Styling and Interactivity
Shadows: The cards now have a more pronounced shadow effect. The class was updated from shadow-md to shadow-xl, giving them more depth. On hover, the shadow becomes even more prominent with hover:shadow-2xl.

Glow Effect: The code now includes a subtle glowing shadow on hover with the new class hover:shadow-amber-500/50. This creates a more modern, interactive feel and visually highlights the cards as the user interacts with them.

Border: The border was removed from the card and is now completely transparent, creating a cleaner look that relies on the shadow for definition.

Responsiveness
The responsive grid classes (grid-cols-1 md:grid-cols-2 lg:grid-cols-3) were already in place in the original code. This ensures the layout correctly adapts to different screen sizes, stacking vertically on mobile, moving to two columns on tablets, and returning to three columns on desktops. The changes made in the new version enhance this responsive design by increasing the gaps and margins, so the cards never appear "squeezed" together on any device.
image

@vercel
Copy link

vercel bot commented Aug 24, 2025

@shagunkimothi is attempting to deploy a commit to the LolPanda2004's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@vercel
Copy link

vercel bot commented Aug 24, 2025

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

Project Deployment Preview Comments Updated (UTC)
amour-editorial-website Ready Ready Preview Comment Aug 24, 2025 4:00pm

@lolpanda2004 lolpanda2004 added enhancement New feature or request gssoc25 GirlScript Code of Summer 2025 level-3 Hard level of issue labels Aug 24, 2025
@lolpanda2004 lolpanda2004 merged commit b433186 into lolpanda2004:main Aug 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request gssoc25 GirlScript Code of Summer 2025 level-3 Hard level of issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants