mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
[profile] #318 profile QR codes - also show on home
This commit is contained in:
parent
ff3c6e9ec0
commit
9c033f93c5
@ -27,10 +27,11 @@
|
||||
export default {
|
||||
props: {
|
||||
user: { required: true },
|
||||
showQrStart: { type: Boolean },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showQr: false,
|
||||
showQr: this.showQrStart,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user