@@ -1,17 +1,7 @@ | |||
const HomeRouter = { | |||
template: ` | |||
<div> | |||
<div id="om-msg-cards" class="is-hidden-desktop"> | |||
<a v-if="isSearchActiv" @click="goBackToDashboard">< zurück zu allen Einträgen</a> | |||
<b-button class="subscribe-btn" v-if="isSubscripeButtonActiv" type="is-primary" @click="">#IPSUM ABONNIEREN</b-button> | |||
<MsgCard | |||
v-for="id in messagelist.slice().reverse()" | |||
:key="id" | |||
:msg="messages[id] || {}" | |||
></MsgCard> | |||
</div> | |||
<div id="om-msg-cards" class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> | |||
<div id="om-msg-cards" class="column pull-right-sm is-four-fifths-desktop"> | |||
<a v-if="isSearchActiv" @click="goBackToDashboard">< zurück zu allen Einträgen</a> | |||
<b-button class="subscribe-btn" v-if="isSubscripeButtonActiv" type="is-primary" @click="">#IPSUM ABONNIEREN</b-button> | |||
<MsgCard |
@@ -1,26 +1,7 @@ | |||
const ProfilRouter = { | |||
template: ` | |||
<div> | |||
<div class="is-hidden-desktop"> | |||
<div v-if="isAuth"> | |||
<profil-card></profil-card> | |||
</div> | |||
<div v-else> | |||
<button class="button is-primary is-medium" | |||
@click="isLPVisible = true"> | |||
Login | |||
</button> | |||
<b-modal :active.sync="isLPVisible" | |||
@close-login-panel="closeLoginPanel" | |||
@show-login-panel="showLoginPanel" | |||
has-modal-card> | |||
<login-panel></login-panel> | |||
</b-modal> | |||
</div> | |||
</div> | |||
<div class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> | |||
<div class="column pull-right-sm is-four-fifths-desktop"> | |||
<div v-if="isAuth"> | |||
<profil-card></profil-card> | |||
</div> |