123456789101112131415161718 |
- <!-- Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/ -->
- <script setup lang="ts">
- import { computed } from 'vue'
- import { useApplicationStore } from '@shared/stores/application'
- const assetsPath = '/assets/images'
- const application = useApplicationStore()
- const logoUrl = computed(() => {
- if (!application.hasCustomProductBranding) return `${assetsPath}/logo.svg`
- return `${assetsPath}/${application.config.product_logo}`
- })
- </script>
- <template>
- <img class="h-40 w-40" :src="logoUrl" :alt="($c.product_name as string)" />
- </template>
|