-
Notifications
You must be signed in to change notification settings - Fork 8
UI improvments #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
UI improvments #18
Conversation
…Introduced useEffect for dynamic filtering of highlighted and non-highlighted items based on activeTag. Updated styles for smooth transitions on item visibility.
…ed initial state of isOpen to null, added useEffect dependency on type, and enhanced answer box visibility with CSS transitions for smoother animations.
@n3-rd is attempting to deploy a commit to the lighthouse-storage Team on Vercel. A member of the Team first needs to authorize it. |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
This pull request introduces several improvements to the UI/UX and code structure of the
EcosystemGrid
,FAQContainer
, andHeader
components, with a particular focus on smoother transitions, improved mobile navigation, and enhanced theming support. The most notable changes include the addition of fade animations for grid transitions, a major refactor of the mobile navigation menu for accessibility and responsiveness, and the introduction of dynamic theme-based text color variables. Below are the key changes grouped by theme:EcosystemGrid Enhancements
isFading
state and corresponding SCSS, resulting in smoother UI updates when changing tags. Highlighted and non-highlighted items are now separated for better visual structure. (containers/EcosystemGrid/EcosystemGrid.jsx
,containers/EcosystemGrid/EcosystemGrid.module.scss
) [1] [2] [3] [4] [5]<img>
to Next.js<Image>
component for better image optimization and performance in both highlight and card grids. (containers/EcosystemGrid/EcosystemGrid.jsx
) [1] [2]FAQContainer Improvements
type
prop changes. (containers/Faq-container/FaqContainer.jsx
,containers/Faq-container/FaqContainer.module.scss
) [1] [2] [3] [4]Header/Mobile Navigation Refactor
(
containers/Header/Header.jsx
,containers/Header/header.module.scss
) [1] [2] [3] [4] [5] [6] [7]Theming and Visual Consistency
--answer-text-color
to enable dynamic answer text color based on theme, and updated relevant SCSS and theme configuration. This variable is now used across FAQ answers and LighthouseSuit descriptions for consistent theming. (utils/services/theme.js
,containers/Faq-container/FaqContainer.module.scss
,containers/LighthouseSuit/LighthouseSuit.module.scss
) [1] [2] [3] [4]Minor Fixes and Cleanups
containers/Header/Header.jsx
,containers/Faq-container/FaqContainer.jsx
) [1] [2]These changes collectively improve the user experience, accessibility, and maintainability of the codebase.
PR Type
Enhancement
Description
Added fade animations to EcosystemGrid for smoother transitions
Refactored mobile navigation with improved accessibility and animations
Enhanced FAQ animations with smooth expand/collapse effects
Added dynamic theme-based text color variables
Diagram Walkthrough
File Walkthrough
theme.js
Add dynamic answer text color theme variable
utils/services/theme.js
--answer-text-color
CSS variable for theme-based text colorsEcosystemGrid.module.scss
Add fade animations for grid transitions
containers/EcosystemGrid/EcosystemGrid.module.scss
FaqContainer.module.scss
Enhance FAQ animations and theme integration
containers/Faq-container/FaqContainer.module.scss
header.module.scss
Redesign mobile navigation with animations
containers/Header/header.module.scss
LighthouseSuit.module.scss
Apply theme-based colors to text elements
containers/LighthouseSuit/LighthouseSuit.module.scss
EcosystemGrid.jsx
Add fade animations and optimize images
containers/EcosystemGrid/EcosystemGrid.jsx
useEffect
![]()
tags with Next.js![]()
componentsFaqContainer.jsx
Improve FAQ state management and animations
containers/Faq-container/FaqContainer.jsx
isOpen
state from0
tonull
type
dependency touseEffect
for proper re-renderingHeader.jsx
Refactor mobile navigation with accessibility improvements
containers/Header/Header.jsx