aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/header.tsx
Commit message (Collapse)AuthorAgeFilesLines
* feat: added the product page and enhanced the UILibravatarLibravatar Biswa Kalyan Bhuyan 2025-05-291-393/+274
| | | | | | | - added the product page where the product details is shown - enhanced the nav bar to handle the rendering - added the loading screen to the page - fixed the rendering method to the navigation-menu
* fix: Improved UI and NavBar MenuLibravatarLibravatar Biswa Kalyan Bhuyan 2025-05-291-160/+261
| | | | | | | - Fixed alignment issues in the frontend - Fixed the box border hover selection in the menu bar (mobile) - Changed the theme toggle button color to standard frontend theme - Enhanced UI components
* fix: Applied for React 19 Scroll Handling ErrorLibravatarLibravatar Biswa Kalyan Bhuyan 2025-05-281-1/+129
| | | | | | | | | | | | | | | | | | - Added isMounted state to prevent hydration mismatches - Server-side renders a simplified header without Sheet component - Client-side renders full functionality after mounting - Added global error handler to catch and suppress scroll-related errors - Specifically targets "parameter 1 is not of type 'Node'" errors - Prevents error propagation while maintaining functionality - Added proper ref management with sheetRef - Prevented auto-focus events that can trigger scroll issues - Added graceful error handling for escape key and pointer events - Enhanced event handling with try-catch blocks - `onOpenAutoFocus` and `onCloseAutoFocus` prevented to avoid focus issues - `onEscapeKeyDown` and `onPointerDownOutside` with error handling - Cleanup function in useEffect to remove event listeners - Updated `@radix-ui/react-dialog` to latest version - Ensured `react-remove-scroll` is at latest version for React 19 compatibility
* feat: added the mobile friendly ui implimentationLibravatarLibravatar Biswa Kalyan Bhuyan 2025-05-281-32/+133
| | | | | | - added nav bar and added the morden layout to it - added mobile friendly css for responsiveness - added more other components to it
* feat: improved UI and added dynamic theme toggleLibravatarLibravatar Biswa Kalyan Bhuyan 2025-05-281-29/+81
| | | | | | | | | - improved the nav bar components - added the theme toggle button to toggle theme - fixed the button background for the nav bar - fixed the theme color issue to the ThemeToggle funtion - added more vibrant colors - fixed the theme logo render
* feat: added frontpage layoutLibravatarLibravatar Biswa Kalyan Bhuyan 2025-05-281-0/+287