|
|
@@ -1,14 +1,16 @@
|
|
1
|
1
|
<template lang="pug">
|
|
2
|
2
|
w-card.profile-card-list--card.xs12.pa12
|
|
3
|
3
|
header.xs12.w-flex.column.center
|
|
|
4
|
+ NamePlate(:pid="card.pid" :name="card.name" :role="card.role" :is-list="isList" :is-paired="isPaired")
|
|
4
|
5
|
h1(v-if="isPaired && !isList") some other field
|
|
5
|
|
- NamePlate(:pid="card.pid" :name="card.name" :role="card.role" :is-list="isList")
|
|
|
6
|
+
|
|
6
|
7
|
template(v-if="!isList")
|
|
7
|
|
- SummaryBar
|
|
8
|
|
- TagList
|
|
|
8
|
+ SummaryBar(:is-paired="isPaired" :show-about="isPaired")
|
|
|
9
|
+ TagList(v-if="!isPaired || isList")
|
|
9
|
10
|
|
|
10
|
11
|
article.xs12.w-flex.column.justify-space-between
|
|
11
|
12
|
AspectBar(
|
|
|
13
|
+ v-if="!isPaired || isList"
|
|
12
|
14
|
v-for="aspect in aspects"
|
|
13
|
15
|
:labels="aspect.labels"
|
|
14
|
16
|
:percentage="aspect.percentage"
|
|
|
@@ -18,7 +20,7 @@ w-card.profile-card-list--card.xs12.pa12
|
|
18
|
20
|
footer(v-if="!isList")
|
|
19
|
21
|
.pa12
|
|
20
|
22
|
p {{ bio }}
|
|
21
|
|
- PairingButton
|
|
|
23
|
+ PairingButton(v-if="!isPaired")
|
|
22
|
24
|
</template>
|
|
23
|
25
|
|
|
24
|
26
|
<script setup>
|
|
|
@@ -29,7 +31,8 @@ import SummaryBar from './SummaryBar.vue'
|
|
29
|
31
|
import TagList from './TagList.vue'
|
|
30
|
32
|
import PairingButton from './PairingButton.vue'
|
|
31
|
33
|
|
|
32
|
|
-const isPaired = ref(true1
|
|
|
34
|
+// const isPaired = ref(false)
|
|
|
35
|
+const isPaired = ref(true)
|
|
33
|
36
|
|
|
34
|
37
|
const props = defineProps({
|
|
35
|
38
|
card: {
|