Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.3 KB

File metadata and controls

33 lines (24 loc) · 1.3 KB

feat(ui): UI improvements — responsive & accessible

This PR introduces a small design system and fixes to improve responsiveness, accessibility, and consistency.

Summary of changes

  • Add CSS tokens and responsive utilities in frontend/src/index.css
  • Responsive Navbar with accessible toggle (frontend/src/components/Navbar.jsx)
  • Product card improvements: aspect-ratio images, lazy loading, accessible like button (frontend/src/components/ProductCard.jsx)
  • Admin panel styling (frontend/src/pages/AdminPanel.jsx)
  • Add frontend/STYLEGUIDE.md and placeholder screenshots (frontend/screenshots/)

Checklist

  • CSS variables and tokens defined
  • Responsive navbar (mobile toggle)
  • Accessible interactive elements (aria, focus-visible)
  • Product images use loading="lazy" and consistent aspect ratio
  • Product detail layout adjusted for small screens (next)
  • Review UI and forms improved for mobile (next)
  • Run accessibility audit and fix contrast issues (next)

Preview

Desktop:

desktop preview

Mobile:

mobile preview


Notes: I pushed branch feat/ui-improvements. You can create the PR quickly here: https://github.com/ateebarman/RecoSense/pull/new/feat/ui-improvements