Skip to content

Commit 30614ae

Browse files
committed
feat: hopefully not like ssr the alternate logo
1 parent 736fcea commit 30614ae

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

apps/frontend/src/components/brand/Wordmark.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@
2323
</template>
2424

2525
<script setup lang="ts">
26-
const today = new Date()
27-
const showWordart = today.getMonth() === 3 && today.getDate() === 1
28-
2926
const emblemClass = ref('')
3027
const emblemAnimating = ref(false)
28+
const showWordart = ref(false)
29+
30+
onMounted(() => {
31+
const today = new Date()
32+
if (today.getMonth() === 3 && today.getDate() === 1) {
33+
showWordart.value = true
34+
}
35+
})
3136
3237
const emblemHover = () => {
3338
if (!emblemAnimating.value) {

0 commit comments

Comments
 (0)