릴리스: v1.2.16 메인 화면 사이드와 헤더 단순화

This commit is contained in:
2026-03-30 17:11:10 +09:00
parent adc697eb13
commit 14a6823c3e
6 changed files with 19 additions and 176 deletions

View File

@@ -33,22 +33,6 @@ function goFreeform() {
router.push('/editor/freeform/new')
}
function goFavorites() {
if (!auth.user) {
router.push('/login?redirect=/favorites')
return
}
router.push('/favorites')
}
function goMyLists() {
if (!auth.user) {
router.push('/login?redirect=/me')
return
}
router.push('/me')
}
function thumbUrl(g) {
if (!g.thumbnailSrc) return ''
return toApiUrl(g.thumbnailSrc)
@@ -63,19 +47,6 @@ function thumbUrl(g) {
<h1 class="dashboardHero__title">Game Library</h1>
<p class="dashboardHero__desc">자주 쓰는 게임 템플릿을 빠르게 고르고, 필요하면 바로 커스텀 티어표를 시작할 있어요.</p>
</div>
<div class="dashboardToolbar">
<div class="dashboardToolbar__stat">
<span class="dashboardToolbar__label">Visible Games</span>
<strong class="dashboardToolbar__value">{{ games.length }}</strong>
</div>
<div class="dashboardToolbar__stat">
<span class="dashboardToolbar__label">Account</span>
<strong class="dashboardToolbar__value">{{ auth.user ? 'Ready' : 'Guest' }}</strong>
</div>
<button class="dashboardToolbar__ghost" @click="goFavorites">{{ auth.user ? '즐겨찾기 보기' : '로그인 즐겨찾기' }}</button>
<button class="dashboardToolbar__ghost" @click="goMyLists">{{ auth.user ? ' 리스트 보기' : '로그인 리스트' }}</button>
<button class="customTierBtn" @click="goFreeform">{{ auth.user ? '+ 커스텀 티어표 만들기' : '+ 로그인 커스텀 티어표 만들기' }}</button>
</div>
</section>
<div v-if="error" class="error">{{ error }}</div>
@@ -130,54 +101,6 @@ function thumbUrl(g) {
line-height: 1.5;
max-width: 720px;
}
.dashboardToolbar {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
}
.dashboardToolbar__stat {
display: grid;
gap: 2px;
min-width: 112px;
padding: 12px 14px;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.045);
}
.dashboardToolbar__label {
font-size: 11px;
color: rgba(255, 255, 255, 0.48);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.dashboardToolbar__value {
font-size: 18px;
font-weight: 900;
}
.dashboardToolbar__ghost,
.customTierBtn {
padding: 12px 14px;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.84);
font-weight: 700;
cursor: pointer;
transition:
transform 0.16s ease,
border-color 0.16s ease,
background 0.16s ease;
}
.dashboardToolbar__ghost:hover,
.customTierBtn:hover {
transform: translateY(-1px);
}
.customTierBtn {
background: rgba(77, 127, 233, 0.88);
border-color: rgba(77, 127, 233, 0.96);
color: #fff;
}
.libraryGrid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));