first commit
This commit is contained in:
26
components/layout/full/logo/Logo.vue
Normal file
26
components/layout/full/logo/Logo.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<script setup>
|
||||
import { computed } from 'vue';
|
||||
import { useCustomizerStore } from '~/store/customizer';
|
||||
|
||||
const customizer = useCustomizerStore();
|
||||
|
||||
//const dark = ref(false);
|
||||
const dark = computed(() => {
|
||||
if (
|
||||
customizer.actTheme === 'DARK_BLUE_THEME' ||
|
||||
customizer.actTheme === 'DARK_AQUA_THEME' ||
|
||||
customizer.actTheme === 'DARK_ORANGE_THEME' ||
|
||||
customizer.actTheme === 'DARK_PURPLE_THEME' ||
|
||||
customizer.actTheme === 'DARK_GREEN_THEME' ||
|
||||
customizer.actTheme === 'DARK_CYAN_THEME'
|
||||
) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<LayoutFullLogoLight v-if="dark" />
|
||||
<LayoutFullLogoDark v-else />
|
||||
</template>
|
||||
Reference in New Issue
Block a user