Added rudimentary affiliate banner setup. Separated login and signup disable. Added various tag photos.

This commit is contained in:
DebaucheryLibrarian
2021-06-28 00:05:24 +02:00
parent d1480da076
commit eb7009832a
61 changed files with 548 additions and 17 deletions

View File

@@ -44,6 +44,7 @@
>Sign up</button>
<router-link
v-if="$store.state.auth.login"
:to="{ name: 'login', query: { ref: $route.query.ref } }"
class="link link-external login"
>Log in</router-link>
@@ -74,7 +75,7 @@ async function signup() {
}
function mounted() {
if (!this.$store.state.auth.enabled) {
if (!this.$store.state.auth.signup) {
this.$router.replace({ name: 'not-found' });
}
}