공개 페이지 전환 경고 정리
This commit is contained in:
11
app.vue
11
app.vue
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user