peppa/apps/web/components/Brand.tsx
Асель 664f96a92e PEP-97: users see «Пеппа ЗАВОД» everywhere — logo, titles, app name, texts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:25:12 +05:00

14 lines
802 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** PEP-97: the mark users see — pink tile with a glow + «Пеппа ЗАВОД». */
export function Brand({ large = false }: { large?: boolean }) {
return (
<span className="flex items-center gap-2.5">
<span className={large ? "grid size-10 place-items-center rounded-lg bg-primary font-mono text-lg font-bold text-primary-foreground shadow-[0_0_28px_-4px_var(--primary)]" : "grid size-7 place-items-center rounded-md bg-primary font-mono text-sm font-bold text-primary-foreground shadow-[0_0_18px_-4px_var(--primary)]"}>
P
</span>
<span className={large ? "font-mono text-2xl font-semibold tracking-tight" : "font-mono text-[15px] font-semibold tracking-tight"}>
Пеппа <span className="text-primary">ЗАВОД</span>
</span>
</span>
);
}