fix:footer dark and light mode fixed#1125
fix:footer dark and light mode fixed#1125saurabh007007 wants to merge 1 commit intoAOSSIE-Org:mainfrom
Conversation
|
|
📝 WalkthroughWalkthroughThe Footer component receives a styling overhaul, transitioning from a black theme to a white theme with dark-mode support. Dark-aware CSS classes, transitions, and border utilities are added. The Discord link formatting is normalized to a single line. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR adds dark and light mode support to the footer component in the landing page. The changes ensure the footer adapts to the user's theme preference with appropriate colors for both modes.
Changes:
- Added dark mode support to the footer element with responsive background, text, and border colors
- Added smooth transition effects for theme changes
- Minor code formatting improvements to the Discord link anchor tag
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
landing-page/src/Pages/Footer/Footer.tsx (1)
30-30:⚠️ Potential issue | 🟡 MinorBorder color is not theme-aware.
The
border-whiteclass will be invisible in light mode (white border on white background) but visible in dark mode. This creates an inconsistent visual experience across themes.🎨 Proposed fix to make the border theme-aware
- <div className="mt-4 text-center border-t border-white pt-2"> + <div className="mt-4 text-center border-t border-gray-200 dark:border-gray-800 pt-2">
Fix Footer Dark and Light Mode Styling
🛠️ Summary
This update enhances the footer on the landing page by adding proper support for both dark and light modes.
The styling and color scheme have been refined to ensure better visual consistency, readability, and an overall polished appearance across themes.
✨ Changes Made
🐛 Related Issue
Fixes #1122