[profile] #318 profile QR codes - also show on home

This commit is contained in:
Andrea Vos 2022-09-10 01:22:31 +02:00
parent ff3c6e9ec0
commit 9c033f93c5
2 changed files with 10 additions and 1 deletions

View File

@ -27,10 +27,11 @@
export default {
props: {
user: { required: true },
showQrStart: { type: Boolean },
},
data() {
return {
showQr: false,
showQr: this.showQrStart,
}
},
}

View File

@ -163,6 +163,10 @@
<Ban :user="user"/>
</div>
<template v-slot:aside-right>
<ProfileShare v-if="Object.keys(user.profiles).length" :user="user" showQrStart class="aside-home"/>
</template>
</Page>
<Page v-else>
<NotFound/>
@ -311,6 +315,10 @@
left: calc(100% + #{$aside-margin});
width: min(300px, calc((100vw - #{$container-width}) / 2 - #{$aside-margin}));
}
.aside-home {
margin-top: 164px;
}
}
.list-group-flare > :first-child {