diff --git a/frontend/src/App.vue b/frontend/src/App.vue index c9455a0..9e1ad47 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -3,19 +3,8 @@
-
-
-

{{ loadingMessage }}

-
-
-
-

🔒 Authentication Required

-

You need to authenticate to access this page.

-
- -
-
-
+ +
@@ -25,6 +14,8 @@ import { onMounted, onUnmounted, ref, watch } from 'vue' import { useAuthStore } from '@/stores/auth' import StatusMessage from '@/components/StatusMessage.vue' import ProfileView from '@/components/ProfileView.vue' +import LoadingView from '@/components/LoadingView.vue' +import AuthRequiredMessage from '@/components/AuthRequiredMessage.vue' const store = useAuthStore() const loading = ref(true) @@ -184,14 +175,4 @@ onUnmounted(() => { diff --git a/frontend/src/admin/AdminApp.vue b/frontend/src/admin/AdminApp.vue index d790324..8c2260b 100644 --- a/frontend/src/admin/AdminApp.vue +++ b/frontend/src/admin/AdminApp.vue @@ -1,10 +1,12 @@ + + diff --git a/frontend/src/components/LoadingView.vue b/frontend/src/components/LoadingView.vue new file mode 100644 index 0000000..d78091a --- /dev/null +++ b/frontend/src/components/LoadingView.vue @@ -0,0 +1,45 @@ + + + + +