import type { LogoPosition } from "@/lib/types"; function logoPositionClass(pos?: LogoPosition) { switch (pos) { case "top_left": return "top-0 left-0"; case "bottom_left": return "bottom-0 left-0"; case "bottom_right": return "bottom-0 right-0"; default: return "top-0 right-0"; } } interface LogoWatermarkProps { logo: string; position?: LogoPosition; opacity?: number; } export function LogoWatermark({ logo, position, opacity = 1 }: LogoWatermarkProps) { return (
{logo.trimStart().startsWith("<") ? (
) : ( // eslint-disable-next-line @next/next/no-img-element )}
); }