feat(hotel): add dark mode support to /hotel listing page (#383)#385
feat(hotel): add dark mode support to /hotel listing page (#383)#385Rufai-Ahmed wants to merge 1 commit into
Conversation
The listing page and its components used hardcoded light colors and ignored the global theme toggle. Add dark: variants across the page, header, filter sidebar, bedroom tabs, apartment cards, and amenity pills so the page follows the selected theme. Light mode is unchanged; brand orange, price green, and the favorite red are kept in both themes. Closes safetrustcr#383
|
Warning Review limit reached
More reviews will be available in 51 minutes and 24 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughDark mode Tailwind ChangesHotel listing page dark mode
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ 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 |
ac45f26 to
2a25113
Compare
sotoJ24
left a comment
There was a problem hiding this comment.
Dear @Rufai-Ahmed, please update you're branch to merge, everything else, amazing job
Dear @Rufai-Ahmed, please update you're branch |
|
Okay, will do that
…On Sat, 4 Jul 2026 at 01:52, Josué Soto Herrera ***@***.***> wrote:
*sotoJ24* left a comment (safetrustcr/frontend-SafeTrust#385)
<#385 (comment)>
Dear @Rufai-Ahmed <https://github.com/Rufai-Ahmed>, please update you're
branch to merge, everything else, amazing job
Dear @Rufai-Ahmed <https://github.com/Rufai-Ahmed>, please update you're
branch
—
Reply to this email directly, view it on GitHub
<#385?email_source=notifications&email_token=BCOAN44WDYXQOHUPXG6ONB35DBIMLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBYGAYDMNBZGEYKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4880064910>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCOAN4Y5DDOSROZFADVU4J35DBIMLAVCNFSNUABFKJSXA33TNF2G64TZHM4DONJTHA4TSOJWHNEXG43VMU5TINZTGAZTMNJZGIY2C5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/BCOAN47JLDTSF4BSZBSIRMT5DBIMLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBYGAYDMNBZGEYKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y>
and Android
<https://github.com/notifications/mobile/android/BCOAN45EFO6HJAYW4VWZRFD5DBIMLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBYGAYDMNBZGEYKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks, whatever you need, please let me know |
sotoJ24
left a comment
There was a problem hiding this comment.
Dear @Rufai-Ahmed , please if can could you please submit the change, otherwise for rules of the project the issue will unassigned
best
sotoJ24
left a comment
There was a problem hiding this comment.
Dear @Rufai-Ahmed, the following issue is closed by:
What this does
Adds dark/light mode support to the
/hotellisting page so it follows the global theme toggle, consistent with the rest of the dashboard.Previously the listing page and its child components used hardcoded light colors and ignored the theme, so switching the toggle in the header had no visible effect on this page.
Changes
Added
dark:variants across the listing page and its components, following the existing dashboard convention (TailwinddarkMode: "class"with next-themes):src/app/hotel/page.tsxsrc/components/hotel/HotelHeader.tsxsrc/components/hotel/FilterSidebar.tsxsrc/components/hotel/BedroomTabs.tsxsrc/components/hotel/ApartmentCard.tsxsrc/components/hotel/AmenityIcons.tsxNotes
dark:sibling, so there is no regression in the default theme.Closes #383
Summary by CodeRabbit