|
|
@ -1,6 +1,7 @@ |
|
|
|
<script setup> |
|
|
|
<script setup> |
|
|
|
import { usePlatformConfig } from "../../store/platformConfig" |
|
|
|
import { usePlatformConfig } from "../../store/platformConfig" |
|
|
|
import { useVisualTheme } from "../../composables/theme" |
|
|
|
import { useVisualTheme } from "../../composables/theme" |
|
|
|
|
|
|
|
import BaseAppLink from "../basecomponents/BaseAppLink.vue" |
|
|
|
|
|
|
|
|
|
|
|
const platformConfigStore = usePlatformConfig() |
|
|
|
const platformConfigStore = usePlatformConfig() |
|
|
|
const { getThemeAssetUrl } = useVisualTheme() |
|
|
|
const { getThemeAssetUrl } = useVisualTheme() |
|
|
@ -9,9 +10,19 @@ const siteName = platformConfigStore.getSetting("platform.site_name") |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<img |
|
|
|
<div class="platform-logo"> |
|
|
|
:alt="siteName" |
|
|
|
<BaseAppLink :to="{ name: 'Index' }"> |
|
|
|
:title="siteName" |
|
|
|
<picture> |
|
|
|
:src="getThemeAssetUrl('images/header-logo.png')" |
|
|
|
<source |
|
|
|
/> |
|
|
|
:srcset="getThemeAssetUrl('images/header-logo.svg')" |
|
|
|
|
|
|
|
type="image/svg+xml" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<img |
|
|
|
|
|
|
|
:alt="siteName" |
|
|
|
|
|
|
|
:title="siteName" |
|
|
|
|
|
|
|
:src="getThemeAssetUrl('images/header-logo.png')" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</picture> |
|
|
|
|
|
|
|
</BaseAppLink> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|