Skip to content

UI Enhancement: Fix layout and redesign Components section#665

Open
Dev1822 wants to merge 2 commits into
Jaishree2310:mainfrom
Dev1822:fix-components-layout
Open

UI Enhancement: Fix layout and redesign Components section#665
Dev1822 wants to merge 2 commits into
Jaishree2310:mainfrom
Dev1822:fix-components-layout

Conversation

@Dev1822
Copy link
Copy Markdown

@Dev1822 Dev1822 commented May 31, 2026

Closes #662

Description

This PR fixes the layout bugs and redesigns the Components section to properly implement a responsive grid and premium glassmorphic aesthetics.

Specifically, this PR accomplishes the following:

  • Hero Section Overlap: Removed the buggy custom CSS classes (.cp-root, .cp-hero) that were causing a white rectangular block to overlap with the navigation bar, replacing them with standard Tailwind layout classes for a clean, padded view.
  • Typography Overlap: Fixed the clipping and text stacking issues on the main "Glassmorphic Components" heading by applying proper line-height (leading-[1.1]) and padding (pb-2).
  • Responsive Grid: Refactored the inefficient single-column component list into a fully responsive CSS Grid (grid-cols-1 on mobile, scaling up to grid-cols-4 on ultrawide displays).
  • True Glassmorphism Cards: Upgraded the component cards to feature true glassmorphism, utilizing backdrop-blur-md, subtle translucent backgrounds (bg-white/5), thin borders (border-white/10), and interactive hover states with soft purple glows.

Notes for Reviewers

  • The buggy cp-* CSS classes have been entirely replaced with Tailwind utilities within GlassyUIComponentsPage.tsx to maintain a robust layout.
  • Hover over the component cards to see the new interactive glow effects on the cards and the icons.

Signed commits

  • Yes, I signed my commits.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

@Dev1822 is attempting to deploy a commit to the jaishree2310's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

🎉 Thank you @Dev1822 for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making this project better

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.

Fix Layout and Redesign Components Section

1 participant