Selaa lähdekoodia

:recycle: breaking out tabs in summary bar

tags/0.0.1^2
J 3 vuotta sitten
vanhempi
commit
70e7796b99

+ 2
- 2
frontend/src/components/ProfileCard.vue Näytä tiedosto

@@ -44,8 +44,8 @@ import SummaryBar from './SummaryBar.vue'
44 44
 import TagList from './TagList.vue'
45 45
 import PairingButton from './PairingButton.vue'
46 46
 
47
-// const isPaired = ref(true)
48
-const isPaired = ref(false)
47
+const isPaired = ref(true)
48
+// const isPaired = ref(false)
49 49
 
50 50
 const props = defineProps({
51 51
     card: {

+ 22
- 2
frontend/src/components/SummaryBar.vue Näytä tiedosto

@@ -9,8 +9,28 @@ section.w-flex.column.pb5
9 9
                     p(v-if="tabContent[item].matchPerc") {{ tabContent[item].matchPerc }}%
10 10
                     p(v-else)  
11 11
                     p {{ item }}
12
-            template(v-if="isTab" #item-content="{ item }")
13
-                .tab 
12
+            // About Tab
13
+            template(#item-content.1="{ item }")
14
+                .tab--about
15
+                    p {{ tabContent[item].tab }}
16
+                    br
17
+                    p {{ tabContent[item].tab }}
18
+                    br
19
+                    hr
20
+            
21
+            // Passion Tab
22
+            template(#item-content.2="{ item }")
23
+                .tab--passion
24
+                    p {{ tabContent[item].tab }}
25
+
26
+            // Aspirations Tab
27
+            template(#item-content.3="{ item }")
28
+                .tab--aspirations
29
+                    p {{ tabContent[item].tab }}
30
+
31
+            // Skills Tab
32
+            template(#item-content.4="{ item }")
33
+                .tab--skills
14 34
                     p {{ tabContent[item].tab }}
15 35
 
16 36
         // Untabbed Layout

Loading…
Peruuta
Tallenna