This commit is contained in:
1 parent
88edcfed63
commit
5d0fbbcf6a
30 files changed
+529
-52
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { type ReactNode } from 'react'
|
||||
import { Logo } from '@/components'
|
||||
import { useMeQuery } from '@/apis'
|
||||
import { cn } from '@/lib'
|
||||
|
||||
// 좌측 폭: list=반응형 비율 / chat=고정폭 단계 축소
|
||||
@@ -43,11 +44,12 @@ export function MainLayout({
|
||||
header,
|
||||
children,
|
||||
}: MainLayoutProps) {
|
||||
const { data: user } = useMeQuery() // 회사 브랜딩(서비스명/로고) 주입
|
||||
const panes = (
|
||||
<>
|
||||
<aside className={cn(styles.sidebar, SIDEBAR_WIDTH[sidebarWidth])}>
|
||||
<div className={styles.logoHeader}>
|
||||
<Logo size="sm" />
|
||||
<Logo size="sm" serviceName={user?.branding?.service_name} logoUrl={user?.branding?.logo_url} />
|
||||
{logoAction}
|
||||
</div>
|
||||
{sidebar}
|
||||
|
||||
@@ -15,7 +15,7 @@ export function PortalHeader() {
|
||||
|
||||
return (
|
||||
<header className="sticky top-0 z-40 flex h-16 items-center justify-between border-b border-border bg-white/90 px-4 shadow-sm backdrop-blur sm:px-6">
|
||||
<Logo size="md" />
|
||||
<Logo size="md" serviceName={user?.branding?.service_name} logoUrl={user?.branding?.logo_url} />
|
||||
|
||||
<div className="flex items-center gap-2 sm:gap-3">
|
||||
<button
|
||||
|
||||
Reference in new issue
Block a user