[fix] negodata·frontend·backend: 회사별 브랜드 색(primary_color) 기능 전면 제거 — 편집 UI 없이 값만 남아 적용되던 구현 정리(포털·메일·사이드바 색 솔루션 고정, 시드·응답 필드 제거)
This commit is contained in:
1 parent
4ed23c56b8
commit
11b29b45e3
15 files changed
+19
-78
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { type ReactNode } from 'react'
|
||||
import { Logo } from '@/components'
|
||||
import { useMeQuery } from '@/apis'
|
||||
import { cn, useBrandColor } from '@/lib'
|
||||
import { cn } from '@/lib'
|
||||
|
||||
// 좌측 폭: list=반응형 비율 / chat=고정폭 단계 축소
|
||||
const SIDEBAR_WIDTH = {
|
||||
@@ -44,8 +44,7 @@ export function MainLayout({
|
||||
header,
|
||||
children,
|
||||
}: MainLayoutProps) {
|
||||
const { data: user } = useMeQuery() // 회사 브랜딩(서비스명/로고/브랜드 색) 주입
|
||||
useBrandColor(user?.branding?.primary_color)
|
||||
const { data: user } = useMeQuery() // 회사 브랜딩(서비스명/로고) 주입 — 색은 솔루션 고정
|
||||
const panes = (
|
||||
<>
|
||||
<aside className={cn(styles.sidebar, SIDEBAR_WIDTH[sidebarWidth])}>
|
||||
|
||||
Reference in new issue
Block a user