"use client" import { ShieldCheck } from "lucide-react" import { useAppName } from "@/components/providers/app-config-provider" import { DEFAULT_APP_NAME } from "@/lib/app-config" import { cn } from "@/lib/utils" interface BrandProps { className?: string subtitle?: string } export function Brand({ className, subtitle }: BrandProps) { const name = useAppName() return (
{name === DEFAULT_APP_NAME ? ( // Der Vorgabename wird zweifarbig gesetzt; ein konfigurierter // Firmenname bleibt unangetastet. <> Syncova Policies ) : ( name )} {subtitle && ( ยท {subtitle} )}
) }