From a8df420f3659d07abb3ecf7d05d5318d4d2d08b1 Mon Sep 17 00:00:00 2001 From: muken Date: Tue, 30 Jun 2026 23:41:37 -0500 Subject: [PATCH] fix: consolidate hearts to single like button with count - Remove duplicate LikeButton component from room info section - Remove separate like count badge from bottom-right - Single unified like button (top-left) shows heart + count - Cleaner UI: one heart, one tap, clear feedback --- src/app/rooms/page.tsx | 46 +++++++++++++----------------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/src/app/rooms/page.tsx b/src/app/rooms/page.tsx index 907bf75..82b433b 100644 --- a/src/app/rooms/page.tsx +++ b/src/app/rooms/page.tsx @@ -3,7 +3,6 @@ import { useEffect, useState, useRef } from 'react'; import { formatDisplayDate } from '@/lib/date'; import RoomCalendar from '@/components/RoomCalendar'; -import LikeButton from '@/components/LikeButton'; import OptimizedImage from '@/components/OptimizedImage'; interface Room { @@ -331,47 +330,33 @@ export default function RoomsPage() { )} - {/* Like button overlay */} + {/* Like button with count */} - - {/* Like count */} -
- {'\u2764\uFE0F'} {totalLikes} -
{/* ─── Thumbnail Strip ─── */} @@ -425,10 +410,7 @@ export default function RoomsPage() { {/* ─── Room Info ─── */}
-
-

{room.name}

- -
+

{room.name}

{room.description}

{/* ─── Amenity Icons ─── */}