aboutsummaryrefslogtreecommitdiffstats
path: root/components/Version.vue
blob: a5bca5ec30763fb687f54ba74ef7298be718270c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<script setup lang="ts">
import { Loader2Icon } from 'lucide-vue-next'

const config = useRuntimeConfig();
</script>

<template>
  <span>confplanner-web v{{ config.public.version }} ({{ config.public.gitSha }})</span>
</template>

<style scoped>
.icon-loader {
  animation: spin 1s linear infinite;
  color: var(--color-text);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
</style>