aboutsummaryrefslogtreecommitdiff
path: root/src/components/sidebar.vue
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 16:31:59 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 16:31:59 +0530
commit33ae84aea901c6737eb10b4e283d5de09c769512 (patch)
treec5cc9e4863cc9bf09bf1335363fad67401e593c1 /src/components/sidebar.vue
parent3ebd619d89aa20b57542888ac1dac47451c4b1a9 (diff)
hiding sidebar on login page0.4.0
Diffstat (limited to 'src/components/sidebar.vue')
-rw-r--r--src/components/sidebar.vue2
1 files changed, 1 insertions, 1 deletions
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>