From 850affbd55fee9cd48a82ade94a3a5e60fd737a8 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Wed, 22 Jan 2025 02:09:56 +0000
Subject: Add version and some icons

---
 components/Version.vue | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 components/Version.vue

(limited to 'components/Version.vue')

diff --git a/components/Version.vue b/components/Version.vue
new file mode 100644
index 0000000..a5bca5e
--- /dev/null
+++ b/components/Version.vue
@@ -0,0 +1,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>
-- 
cgit v1.2.3-70-g09d2

