feat: add brand lockup

This commit is contained in:
rajun 2026-10-27 16:28:53 +05:30
parent 849b294cf2
commit 03a1a1cd7a

View File

@ -0,0 +1,21 @@
import { LogoMark } from '~/components/ui/logo-mark';
import { Text } from '~/components/ui/text';
import { BRAND } from '~/data/brand';
import { cn } from '~/lib/utils';
const SIZES = {
sm: { mark: 'xs', text: 'heading' },
md: { mark: 'sm', text: 'subheading' },
} as const;
// The "t." mark with the product name: sidebar and login page
export function BrandLockup({ size = 'sm', className }: { size?: keyof typeof SIZES; className?: string }) {
return (
<span className={cn('flex items-center gap-2.5', className)}>
<LogoMark size={SIZES[size].mark} />
<Text as='span' variant={SIZES[size].text}>
{BRAND.product}
</Text>
</span>
);
}