feat: 사이드바 파일유형 필터링 수정, 아이콘 개선, 로고 변경
- 파일유형 클릭 시 activeCat 덮어쓰던 버그 수정 - 파일유형에 전체 항목 추가 (기본 선택) - Icon 컴포넌트에 file/user/log-out/edit 추가, 미등록 아이콘 폴백 처리 - DH.png 로고로 사이드바 브랜드 마크 교체 (index/admin 공통) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-2
@@ -31,7 +31,8 @@
|
||||
/* SIDEBAR */
|
||||
.sb{display:flex;flex-direction:column;padding:14px 10px;border-right:1px solid var(--border);background:var(--bg);overflow-y:auto}
|
||||
.sb-brand{display:flex;align-items:center;gap:10px;padding:6px 8px 16px;color:var(--ink)}
|
||||
.sb-brand-mark{width:26px;height:26px;border-radius:7px;background:var(--ink);display:grid;place-items:center;color:#fff;font-weight:700;font-size:12px;flex-shrink:0}
|
||||
.sb-brand-mark{width:32px;height:32px;border-radius:7px;background:#fff;display:grid;place-items:center;flex-shrink:0;overflow:hidden}
|
||||
.sb-brand-mark img{width:100%;height:100%;object-fit:contain}
|
||||
.sb-brand-name{font-weight:600;font-size:14px}
|
||||
.sb-brand-sub{font-size:11px;color:var(--muted);font-family:var(--font-mono);margin-top:1px}
|
||||
.sb-item{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:6px;color:var(--ink-2);cursor:default;font-size:13.5px;user-select:none}
|
||||
@@ -781,7 +782,7 @@ function AdminContent({ onLogout }) {
|
||||
<div className="app">
|
||||
<aside className="sb">
|
||||
<div className="sb-brand">
|
||||
<div className="sb-brand-mark">자</div>
|
||||
<div className="sb-brand-mark"><img src="/DH.png" alt="로고" /></div>
|
||||
<div>
|
||||
<div className="sb-brand-name">자료실 관리자</div>
|
||||
<div className="sb-brand-sub">Admin Console</div>
|
||||
|
||||
Reference in New Issue
Block a user