Files
pwa/src/components/BrandLogo.tsx
T
ar.badieiandCursor 8016b8f45e Polish Novya UI with brand colors, first-load skeletons, and session transition overlay.
Keep chat pinned to the latest message while AI thinks or streams, and align buttons/inputs with the logo teal/blue focus treatment.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 01:31:24 +03:30

30 lines
676 B
TypeScript

import { APP_NAME } from '@/utils/constants';
import { cn } from '@/lib/utils';
type BrandLogoProps = {
className?: string;
/** Image height class; width follows aspect ratio */
imgClassName?: string;
alt?: string;
};
/**
* Product wordmark from /logo/mainlogo.png (transparent background).
*/
export const BrandLogo = ({
className,
imgClassName,
alt = APP_NAME,
}: BrandLogoProps) => {
return (
<span className={cn('inline-flex items-center', className)}>
<img
src="/logo/mainlogo.png"
alt={alt}
className={cn('h-8 w-auto select-none object-contain', imgClassName)}
draggable={false}
/>
</span>
);
};