02de481297
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: #2684 Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
20 lines
473 B
Vue
20 lines
473 B
Vue
<script setup lang="ts">
|
|
import {computed} from 'vue'
|
|
import {useNow} from '@vueuse/core'
|
|
|
|
import LogoFull from '@/assets/logo-full.svg?url'
|
|
import LogoFullPride from '@/assets/logo-full-pride.svg?url'
|
|
|
|
const now = useNow()
|
|
const logoUrl = computed(() => now.value.getMonth() === 5 ? LogoFullPride : LogoFull)
|
|
</script>
|
|
|
|
<template>
|
|
<img alt="Vikunja" :src="logoUrl" class="logo" />
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.logo {
|
|
color: var(--logo-text-color);
|
|
}
|
|
</style> |