fix(images): updated helm charts with branding URL guidance, removed additional nextjs image optimizations (#2205)

This commit is contained in:
Waleed
2025-12-04 19:39:51 -08:00
committed by GitHub
parent 414a54c358
commit 1b903f2db5
4 changed files with 9 additions and 4 deletions

View File

@@ -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'
/>
)}

View File

@@ -523,6 +523,7 @@ export function HelpModal({ open, onOpenChange }: HelpModalProps) {
src={image.preview}
alt={`Preview ${index + 1}`}
fill
unoptimized
className='object-contain'
/>
<button

View File

@@ -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)}
/>
) : (

View File

@@ -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",