공개 페이지 전환 경고 정리

This commit is contained in:
2026-07-24 16:01:11 +09:00
parent 24dc6b8af0
commit b38eb234d8
16 changed files with 252 additions and 64 deletions

11
app.vue
View File

@@ -1,16 +1,7 @@
<script setup>
import { DEFAULT_BRAND_COLOR, normalizeBrandColor } from './lib/brand-color.js'
const { data: appSiteSettings } = await useFetch('/api/site-settings', {
key: 'site-settings-public',
default: () => ({
title: 'sori.studio',
faviconUrl: '',
logoUrl: '',
logoText: '井',
brandColor: DEFAULT_BRAND_COLOR
})
})
const { data: appSiteSettings } = await usePublicSiteSettings()
const siteAccentColor = computed(() => normalizeBrandColor(appSiteSettings.value?.brandColor || DEFAULT_BRAND_COLOR))