feat: allow using html in member description (#2269)

pull/2286/head
Liberty 2 years ago committed by GitHub
parent 2f0f2d5ac6
commit f7443643a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,9 +31,7 @@ defineProps<{
{{ member.org }}
</VPLink>
</p>
<p v-if="member.desc" class="desc">
{{ member.desc }}
</p>
<p v-if="member.desc" class="desc" v-html="member.desc"/>
<div v-if="member.links" class="links">
<VPSocialLinks :links="member.links" />
</div>
@ -180,6 +178,13 @@ defineProps<{
margin: 0 auto;
}
.desc :deep(a) {
font-weight: 500;
color: var(--vp-c-brand);
text-decoration-style: dotted;
transition: color 0.25s;
}
.links {
display: flex;
justify-content: center;

Loading…
Cancel
Save