diff --git a/pages/index.vue b/pages/index.vue
index 99296ea..b84dbc6 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -2,78 +2,99 @@
import HeaderFooterView from "~/layouts/HeaderFooterView.vue";
import { UserViewType } from "@/types/components/users.view"
+const { user } = useUser()
+
useUser().fetchUser(); // loading user state just in case
+function setLevelbar(newValue: number) {
+ const levelbar = document.getElementById('levelbar')
+ if (levelbar) {
+ levelbar.style.width = newValue + "%"
+ }
+}
+
-
- 1A
-
-
- 2B
+
+
+
Streak: {{ user?.daily_streak }}
-
- 3C
+
+
+
+ },
+ ]" />
-
+ ]" />
+
-
+
-
+
-
+