v1.4.3: 관리자 UI·홈·미디어 개선
- 관리자 라이트 테마 격리, 대시보드 활성 링크, 로그인 우측 정렬 - 대시보드 통계 추이 차트·툴팁, 홈 Latest/Featured 보정 - 미디어 종류·미사용 필터, 비디오 프레임 썸네일 - NAS 운영 업데이트 절차 문서 추가
This commit is contained in:
@@ -39,6 +39,7 @@ const adminDisplayEmail = computed(() => adminMember.value?.email || '')
|
||||
const adminAvatarUrl = computed(() => adminMember.value?.avatarUrl || '')
|
||||
const adminAvatarInitial = computed(() => adminDisplayName.value.slice(0, 1).toUpperCase() || 'A')
|
||||
const adminProfilePath = computed(() => adminMember.value?.id ? `/admin/members/${adminMember.value.id}` : '/admin/members')
|
||||
const isAdminDashboardRoute = computed(() => route.path === '/admin')
|
||||
|
||||
/**
|
||||
* 관리자 내비게이션 활성 경로 확인
|
||||
@@ -131,7 +132,10 @@ const logoutAdmin = async () => {
|
||||
<template>
|
||||
<div
|
||||
class="admin-layout bg-[#f7f8fa] text-ink"
|
||||
:class="(isPostEditorRoute || isAdminSettingsRoute) ? 'h-screen overflow-hidden bg-white' : 'min-h-screen'"
|
||||
:class="[
|
||||
(isPostEditorRoute || isAdminSettingsRoute) ? 'h-screen overflow-hidden bg-white' : 'min-h-screen',
|
||||
{ 'admin-layout--light-controls': !isPostEditorRoute }
|
||||
]"
|
||||
>
|
||||
<aside
|
||||
v-if="!isPostEditorRoute && !isAdminSettingsRoute"
|
||||
@@ -144,16 +148,16 @@ const logoutAdmin = async () => {
|
||||
<span>sori.studio</span>
|
||||
</NuxtLink>
|
||||
<nav class="admin-layout__nav mt-10 grid gap-1.5 text-sm font-medium text-[#5d6673]">
|
||||
<div
|
||||
class="admin-layout__nav-link admin-layout__nav-link--disabled flex cursor-not-allowed items-center gap-3 rounded-md px-3 py-2 text-[#9aa3ad] select-none"
|
||||
aria-disabled="true"
|
||||
title="준비 중"
|
||||
<NuxtLink
|
||||
class="admin-layout__nav-link flex items-center gap-3 rounded-md px-3 py-2 transition-colors hover:bg-[#eceff2] hover:text-[#15171a]"
|
||||
:class="isAdminDashboardRoute ? 'bg-[#e9ecef] text-[#15171a]' : ''"
|
||||
to="/admin"
|
||||
>
|
||||
<svg class="admin-layout__nav-icon h-4 w-4 shrink-0 opacity-60" viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path d="M22.272 23.247a.981.981 0 00.978-.978V9.747a1.181 1.181 0 00-.377-.8L12 .747l-10.873 8.2a1.181 1.181 0 00-.377.8v12.522a.981.981 0 00.978.978z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" />
|
||||
</svg>
|
||||
<span>대시보드</span>
|
||||
</div>
|
||||
</NuxtLink>
|
||||
<a
|
||||
class="admin-layout__nav-link admin-layout__nav-link--external flex items-center gap-3 rounded-md px-3 py-2 text-[#5d6673] transition-colors hover:bg-[#eceff2] hover:text-[#15171a]"
|
||||
:href="publicBlogBaseUrl"
|
||||
|
||||
Reference in New Issue
Block a user