Преглед изворни кода

:sparkles: summary bar font and spacing styles added, no color or icon styles added

tags/0.0.2
K Rob пре 3 година
родитељ
комит
7de5ea6980

+ 3
- 0
frontend/src/components/AspectBar.vue Прегледај датотеку

@@ -21,3 +21,6 @@ export default {
21 21
     data: () => ({}),
22 22
 }
23 23
 </script>
24
+<style lang="sass">
25
+   
26
+</style>

+ 3
- 0
frontend/src/components/ProfileCard.vue Прегледај датотеку

@@ -120,6 +120,9 @@ const onPass = async () => {
120 120
 .profile-card-list--card
121 121
     background-color: #000
122 122
     color: #fff
123
+    width: 100%
124
+    max-width: 450px
125
+    margin: 11px auto
123 126
     header > .w-button
124 127
         background-color: #116006
125 128
         color: #fff

+ 17
- 2
frontend/src/components/SummaryBar.vue Прегледај датотеку

@@ -54,8 +54,9 @@ section.w-flex.column.pb5
54 54
                 li.w-flex.row(v-if='item !== "about"')
55 55
                     w-icon.mr1(xl) mdi mdi-heart
56 56
                     .w-flex.column.justify-start
57
-                        p {{ tabContent[item].matchPerc }}%
58
-                        p {{ item }}
57
+                        p 
58
+                            span {{ tabContent[item].matchPerc }}%
59
+                        p.text-capitalize {{ item }}
59 60
 </template>
60 61
 
61 62
 <script>
@@ -95,3 +96,17 @@ export default {
95 96
     },
96 97
 }
97 98
 </script>
99
+<style lang="sass">
100
+    section
101
+        font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif
102
+        ul
103
+            margin: 11px 0
104
+            li
105
+                margin: 0 7px
106
+                font-size: .8em
107
+                p > span
108
+                    font-weight: bold
109
+                    font-size: 1em
110
+            li:not(:last-child)
111
+                border-right: 1px solid #fff
112
+</style>

+ 4
- 4
frontend/src/entities/card/card.js Прегледај датотеку

@@ -1,10 +1,10 @@
1 1
 /** @module card/card */
2 2
 
3 3
 const DEFAULT_ABOUT =
4
-    'A really really really really really. Really really really really really really really really really really really long bio.'
4
+    'Hello! My name is L.L. and I am a nurse from New York. I have been in the healthcare industry for over 6 years.'
5 5
 
6 6
 class SummaryGroup {
7
-    constructor() {
7
+    constructor () {
8 8
         this.about = {
9 9
             tab: null,
10 10
             matchPerc: null,
@@ -40,7 +40,7 @@ class SummaryGroup {
40 40
 }
41 41
 
42 42
 class Aspect {
43
-    constructor({ name, labels, percentage = 50 }) {
43
+    constructor ({ name, labels, percentage = 50 }) {
44 44
         this.name = name
45 45
         this.labels = labels
46 46
         this.percentage = percentage
@@ -54,7 +54,7 @@ class Aspect {
54 54
  * card facade
55 55
  */
56 56
 class Card {
57
-    constructor({ pid, name, role }) {
57
+    constructor ({ pid, name, role }) {
58 58
         this.pid = pid
59 59
 
60 60
         /**  Fields */

Loading…
Откажи
Сачувај