Fixed login link in sidebar.

This commit is contained in:
DebaucheryLibrarian 2021-06-28 18:45:38 +02:00
parent dce27e985e
commit 12c0e8e828
2 changed files with 17 additions and 7 deletions

View File

@ -131,7 +131,7 @@
<div class="sidebar-section controls noselect">
<label
v-if="auth && me"
v-if="login && me"
@click="$emit('toggleSidebar', false)"
>
<router-link
@ -142,7 +142,7 @@
<div class="toggles noselect">
<label
v-if="auth && !me"
v-if="login && !me"
@click="$emit('toggleSidebar', false)"
>
<router-link
@ -152,7 +152,7 @@
</label>
<label
v-if="auth && me"
v-if="login && me"
class="toggle"
@click.stop="$store.dispatch('logout')"
><Icon icon="exit2" />Log out</label>
@ -206,8 +206,12 @@ function theme(state) {
return state.ui.theme;
}
function auth(state) {
return state.auth.enabled;
function login(state) {
return state.auth.login;
}
function signup(state) {
return state.auth.signup;
}
function me(state) {
@ -234,7 +238,8 @@ export default {
},
computed: {
...mapState({
auth,
login,
signup,
me,
sfw,
theme,

View File

@ -153,7 +153,7 @@ const banners = [
width: 728,
height: 90,
network: 'julesjordan',
tags: ['sex', 'blowjob', 'big-boobs', 'brunette'],
tags: ['sex', 'blowjob', 'facefucking', 'big-boobs', 'brunette'],
},
{
id: 'manuelferrara_728_90_asses',
@ -264,6 +264,11 @@ const campaigns = [
url: 'https://www.iyalc.com/21naturals/go.php?pr=8&su=1&si=209&ad=277470&pa=index&ar=&buffer=',
comment: 'per signup',
},
{
network: 'brazzers',
url: 'https://landing.brazzersnetwork.com/?ats=eyJhIjozMTYwOTcsImMiOjU5MzI1Mzk5LCJuIjoxNCwicyI6OTAsImUiOjg4MDMsInAiOjExfQ==',
comment: '$30 per signup',
},
{
network: 'evilangel',
url: 'https://www.iyalc.com/evilangel/go.php?pr=8&su=2&si=128&ad=277470&pa=index&ar=&buffer=',