import Image from "next/image"; import { Clock } from "@/components/clock"; import { LanguageSwitcher } from "@/components/language-switcher"; 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 auth pages (login, register, * etc.). Shows the hotel logo + name on the left and language / clock / theme * controls on the right. Defaults mirror the homepage top bar so auth pages * share one consistent look. */ export function AuthTopBar({ hotelName, logo, showHotelName = true, }: { hotelName: string; logo?: string | null; showHotelName?: boolean; }) { return (
{logo ? ( {hotelName} ) : (
)} {showHotelName ? ( {hotelName} ) : null}
); }