Improve homepage CTA buttons with responsive sizing, icons, and visual consistency
Is your feature request related to a problem? Please describe.
The current "For Teachers" and "For Contributors" buttons on the homepage have inconsistent widths due to varying text lengths, which creates:
- Visual imbalance that makes the UI look unpolished
- Potential readability issues on small screens
- A perception of inconsistency in our design system
Describe the solution you'd like
I propose implementing responsive, uniform-width buttons with:
- Equal minimum widths (180px for desktop, 140px for mobile)
- Support for leading icons (🎓 for Teachers, 👥 for Contributors)
-
Responsive behavior:
- Horizontal layout on wide screens (>500px)
- Vertical stacking on narrow screens
-
Proper overflow handling using
FittedBoxorTextOverflow.ellipsis
Describe alternatives you've considered
- Text abbreviation ("For Teachers" → "Teachers") (reduces clarity)
- Tooltips for truncated text (adds interaction complexity)
Additional context
Current vs Proposed Comparison:
Current :
Proposed :
Are you working on this? (Yes/No)
Yes
@hardik17771 I have made a PR(#322) to fix this issue with :
✅ Responsive button widths ✅ Teacher/contributor icons ✅ Overflow fixes
Would appreciate your review when convenient. Thank you!
Sure @JatsuAkaYashvant , let me review it once.