[feat] 공급사 포털·backend: 협상완료 부가정보 입력(#5)·포털 브랜딩/로고·구분삭제(#19)·카드메타 nego 저장

This commit is contained in:
minaChoi committed 2026-07-22 15:20:24 +09:00
1 parent 88edcfed63
commit 5d0fbbcf6a
30 files changed
+529 -52

No files matched your search

+9 -3
View File
@@ -22,6 +22,9 @@ export interface LogoProps extends Omit<ComponentProps<'div'>, 'children'> {
size?: LogoSize
withText?: boolean
alt?: string
/** 회사 브랜딩 오버라이드(companies.settings.branding). 없으면 기본 iMarket Korea. */
serviceName?: string
logoUrl?: string
}
export function Logo({
@@ -29,21 +32,24 @@ export function Logo({
size = 'md',
withText = true,
alt = 'iMarket Korea',
serviceName,
logoUrl,
className,
...props
}: LogoProps) {
const s = sizes[size]
const name = serviceName || 'iMarket Korea'
return (
<div className={cn('flex items-center', s.gap, className)} {...props}>
<img
src={sources[variant]}
alt={withText ? '' : alt}
src={logoUrl || sources[variant]}
alt={withText ? '' : (serviceName || alt)}
className={cn('w-auto select-none', s.img)}
/>
{withText && (
<span className={cn('font-bold tracking-[-0.4px] text-foreground', s.text)}>
iMarket Korea
{name}
</span>
)}
</div>