mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
fix(images): updated helm charts with branding URL guidance, removed additional nextjs image optimizations (#2205)
This commit is contained in:
@@ -37,6 +37,7 @@ export function ChatHeader({ chatConfig, starCount }: ChatHeaderProps) {
|
||||
alt={`${chatConfig?.title || 'Chat'} logo`}
|
||||
width={24}
|
||||
height={24}
|
||||
unoptimized
|
||||
className='h-6 w-6 rounded-md object-cover'
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -523,6 +523,7 @@ export function HelpModal({ open, onOpenChange }: HelpModalProps) {
|
||||
src={image.preview}
|
||||
alt={`Preview ${index + 1}`}
|
||||
fill
|
||||
unoptimized
|
||||
className='object-contain'
|
||||
/>
|
||||
<button
|
||||
|
||||
@@ -62,7 +62,7 @@ function UserAvatar({ user, index }: UserAvatarProps) {
|
||||
sizes='14px'
|
||||
className='object-cover'
|
||||
referrerPolicy='no-referrer'
|
||||
unoptimized={user.avatarUrl.startsWith('http')}
|
||||
unoptimized
|
||||
onError={() => setImageError(true)}
|
||||
/>
|
||||
) : (
|
||||
|
||||
@@ -238,15 +238,18 @@
|
||||
},
|
||||
"NEXT_PUBLIC_BRAND_LOGO_URL": {
|
||||
"type": "string",
|
||||
"description": "Custom logo URL"
|
||||
"format": "uri",
|
||||
"description": "Custom logo URL (must be a full URL, e.g., https://example.com/logo.png)"
|
||||
},
|
||||
"NEXT_PUBLIC_BRAND_FAVICON_URL": {
|
||||
"type": "string",
|
||||
"description": "Custom favicon URL"
|
||||
"format": "uri",
|
||||
"description": "Custom favicon URL (must be a full URL, e.g., https://example.com/favicon.ico)"
|
||||
},
|
||||
"NEXT_PUBLIC_CUSTOM_CSS_URL": {
|
||||
"type": "string",
|
||||
"description": "Custom stylesheet URL"
|
||||
"format": "uri",
|
||||
"description": "Custom stylesheet URL (must be a full URL)"
|
||||
},
|
||||
"NEXT_PUBLIC_SUPPORT_EMAIL": {
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user