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>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user