From 33ae84aea901c6737eb10b4e283d5de09c769512 Mon Sep 17 00:00:00 2001
From: Vidhu Kant Sharma <vidhukant@vidhukant.com>
Date: Thu, 7 Dec 2023 16:31:59 +0530
Subject: hiding sidebar on login page

---
 src/components/sidebar.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/sidebar.vue')

diff --git a/src/components/sidebar.vue b/src/components/sidebar.vue
index ada509e..9c166d8 100644
--- a/src/components/sidebar.vue
+++ b/src/components/sidebar.vue
@@ -14,7 +14,7 @@ watch(
 </script>
 
 <template>
-  <div id="sidebar" class="d-flex flex-column flex-shrink-0 bg-dark border-secondary border-end">
+  <div v-if="requiresAuth" id="sidebar" class="d-flex flex-column flex-shrink-0 bg-dark border-secondary border-end">
     <RouterLink class="d-flex justify-content-center align-items-center p-3 link-dark text-decoration-none navbar-brand text-white" to="/">
       <img src="https://vidhukant.com/images/vidhukant.webp" alt="profile photo" width="32" height="32" class="rounded-circle">
     </RouterLink>
-- 
cgit v1.2.3

