cf849da104
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1509 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
20 lines
No EOL
472 B
Vue
20 lines
No EOL
472 B
Vue
<script setup lang="ts">
|
|
import { computed } from 'vue'
|
|
import { useNow } from '@vueuse/core'
|
|
|
|
import LogoFull from '@/assets/logo-full.svg?component'
|
|
import LogoFullPride from '@/assets/logo-full-pride.svg?component'
|
|
|
|
const now = useNow()
|
|
const Logo = computed(() => now.value.getMonth() === 5 ? LogoFullPride : LogoFull)
|
|
</script>
|
|
|
|
<template>
|
|
<Logo alt="Vikunja" class="logo" />
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.logo {
|
|
color: var(--logo-text-color);
|
|
}
|
|
</style> |