add icon for user
This commit is contained in:
1 parent
ef08b9f433
commit
78cf43d7ff
7 files changed
+72
-36
No files matched your search
@@ -20,13 +20,13 @@ export default function Ado2Layout({ children }: { children: React.ReactNode })
|
||||
<Ado2Logo height={20} />
|
||||
<span className="sidebar-product">MOVING POSTER</span>
|
||||
</Link>
|
||||
<AccountBadge />
|
||||
</div>
|
||||
<nav className="sidebar-menu">
|
||||
<NavLink href="/" icon="video">무빙포스터</NavLink>
|
||||
{FEATURES.styling && <NavLink href="/studio" icon="image">포스터 스타일링</NavLink>}
|
||||
{FEATURES.archive && <NavLink href="/archive" icon="folder">아카이브</NavLink>}
|
||||
</nav>
|
||||
<AccountBadge />
|
||||
<div className="sidebar-foot">무빙포스터 · 내부 빌드</div>
|
||||
</aside>
|
||||
<main className="main-content">
|
||||
|
||||
+36
-18
@@ -104,30 +104,48 @@ body { margin: 0; -webkit-font-smoothing: antialiased; letter-spacing: -0.006em;
|
||||
}
|
||||
.sidebar-logo { padding: 1.5rem 1.5rem 0.5rem; }
|
||||
|
||||
/* 로고 아래 로그인 상태 */
|
||||
.account-badge {
|
||||
/* 사이드바 맨 아래 계정 카드 */
|
||||
.account-card {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.6rem;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
margin: 0 0.75rem;
|
||||
padding: 0.7rem 0.8rem;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-bg-darker);
|
||||
border: 1px solid var(--color-border-white-10);
|
||||
min-width: 0;
|
||||
}
|
||||
.account-badge-name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
.account-badge-quota {
|
||||
.account-photo {
|
||||
flex: none;
|
||||
font-size: var(--text-xs);
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: var(--radius-full);
|
||||
object-fit: cover;
|
||||
background: var(--color-bg-dark);
|
||||
}
|
||||
.account-photo--blank {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 700;
|
||||
color: var(--color-mint);
|
||||
}
|
||||
.account-badge-link {
|
||||
.account-body { flex: 1; min-width: 0; }
|
||||
.account-name {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
}
|
||||
.account-credit {
|
||||
margin: 2px 0 0;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-text-gray-400);
|
||||
}
|
||||
.account-link {
|
||||
flex: none;
|
||||
padding: 0;
|
||||
border: none;
|
||||
@@ -137,7 +155,7 @@ body { margin: 0; -webkit-font-smoothing: antialiased; letter-spacing: -0.006em;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--color-mint);
|
||||
}
|
||||
.account-badge-link:hover { text-decoration: underline; }
|
||||
.account-link:hover { text-decoration: underline; }
|
||||
.sidebar-menu { flex: 1; padding: 0 0.75rem; margin-top: 1rem; overflow-y: auto; }
|
||||
.sidebar-item {
|
||||
display: flex;
|
||||
|
||||
Reference in new issue
Block a user