Turn off dev mode in production, work on mod pages

This commit is contained in:
Jai A
2020-10-19 22:02:29 -07:00
parent 8cd4cc7d0d
commit 39f29399e7
7 changed files with 1057 additions and 753 deletions

View File

@@ -119,6 +119,28 @@
</svg>
<span>Analytics</span>
</nuxt-link>
<nuxt-link
v-if="this.$auth.user.role === 'admin'"
to="/dashboard/admin"
>
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10"></circle>
<line x1="14.31" y1="8" x2="20.05" y2="17.94"></line>
<line x1="9.69" y1="8" x2="21.17" y2="8"></line>
<line x1="7.38" y1="12" x2="13.12" y2="2.06"></line>
<line x1="9.69" y1="16" x2="3.95" y2="6.06"></line>
<line x1="14.31" y1="16" x2="2.83" y2="16"></line>
<line x1="16.62" y1="12" x2="10.88" y2="21.94"></line>
</svg>
<span>Admin</span>
</nuxt-link>
</section>
</section>
<div class="disclosure">