"use client"; import { cn } from "@app/lib/cn"; import { useTranslations } from "next-intl"; type ProfessionalContentOverlayProps = { children: React.ReactNode; isProfessional?: boolean; }; export function ProfessionalContentOverlay({ children, isProfessional = false }: ProfessionalContentOverlayProps) { const t = useTranslations(); return (
{isProfessional && (

{t('licenseTierProfessionalRequired')}

{t('licenseTierProfessionalRequiredDescription')}

)} {children}
); }