diff --git a/src/components/auth/auth-top-bar.tsx b/src/components/auth/auth-top-bar.tsx index a3d14279..985c479f 100644 --- a/src/components/auth/auth-top-bar.tsx +++ b/src/components/auth/auth-top-bar.tsx @@ -1,28 +1,27 @@ import Image from "next/image"; import { Clock } from "@/components/clock"; import { LanguageSwitcher } from "@/components/language-switcher"; -import { LiveOnlineCounter } from "@/components/live-online-counter"; +import { LiveOnlineCount } from "@/components/live-online-count"; import { Reveal } from "@/components/motion-reveal"; import { ThemeSwitcher } from "@/components/theme-switcher"; import { ICON_LIGHTHOUSE } from "@/lib/site-icons"; /** * Shared frosted-glass top bar for the public pages (index, login, register). - * Shows the hotel logo + name on the left and the live online count, language / - * clock / theme controls on the right. One component so every public page keeps - * the exact same chrome instead of duplicating it. + * Shows the hotel logo on the left and the live "online" counter (which carries + * the hotel name), language / clock / theme controls on the right. One + * component so every public page keeps the exact same chrome instead of + * duplicating it. */ export function AuthTopBar({ hotelName, logo, online, - showHotelName = true, }: { hotelName: string; logo?: string | null; /** Live online count; omit (or pass null) to hide the indicator. */ online?: number | null; - showHotelName?: boolean; }) { return ( @@ -71,14 +70,6 @@ export function AuthTopBar({ /> )} - {showHotelName ? ( - - {hotelName} - - ) : null}
- + )}