Просмотр исходного кода

:sparkles: pairs card default style implemented

tags/0.0.2^2
K Rob 3 лет назад
Родитель
Сommit
9727247899

+ 21
- 17
frontend/src/components/PairsList.vue Просмотреть файл

@@ -2,23 +2,20 @@
2 2
 section.pairs-list
3 3
     article(v-if='pairs.length')
4 4
         template(v-for='pair in pairs')
5
-            router-link.pair.w-flex.align-center.justify-space-around(
5
+            router-link.pair.w-flex.align-center.flex-start(
6 6
                 :to='`/profile/${pair.profile.pid}`'
7 7
                 v-if='tabName == "pending"'
8 8
             )
9
-            router-link.pair.w-flex.align-center.justify-space-around(
9
+            router-link.pair.w-flex.align-center.flex-start(
10 10
                 :to='`/chat/${pair.profile.pid}`'
11 11
                 v-else
12 12
             )
13 13
                 .dot--icon
14 14
                 .avatar
15 15
                 .idCard
16
-                    p {{ pair.profile.name }}
17
-                    p {{ pair.profile.pid }}
18
-                    p since: {{ pair.grouping.createdAt }}
19
-                    p updated: {{ pair.grouping.lastUpdatedAt }}
20
-                    p paired: {{ pair.grouping.is_paired }}
21
-                    p revealed tags: {{ pair.grouping.tags }}
16
+                    h3 {{ pair.profile.name }} {{ pair.profile.pid }}
17
+                    p registered nurse
18
+
22 19
     p(v-else) No {{ tabName }} profiles.
23 20
 </template>
24 21
 
@@ -37,19 +34,26 @@ const props = defineProps({
37 34
 
38 35
 <style lang="sass">
39 36
 .pairs-list
40
-    background-color:#000
41
-    max-width: 450px
42
-    width: 100%
43
-    height: 100vh
44
-    margin: 0 auto
37
+    color: #fff
45 38
     article
39
+        font-family: 'Century Gothic'
46 40
         .dot--icon
47
-            width:3vw
48
-            height:3vw
41
+            width:12px
42
+            height:12px
43
+            margin: 11px
49 44
             border-radius:50%
50 45
             background-color:#60C3FF
51 46
         .avatar
52
-            width:10vw
53
-            height:10vw
47
+            width:40px
48
+            height:40px
49
+            margin: 11px
50
+            border-radius: 6px
54 51
             background-color:#D5D5D5
52
+        .idCard
53
+            color: #fff
54
+            margin: 11px
55
+            h3
56
+                font-size: 16px
57
+            p
58
+                font-size: 14px
55 59
 </style>

+ 5
- 0
frontend/src/components/ProfileCardList.vue Просмотреть файл

@@ -1,8 +1,13 @@
1 1
 <template lang="pug">
2 2
 section.profile-card-list.xs12.w-flex.column
3 3
     header.xs12.w-flex 
4
+<<<<<<< HEAD
4 5
         w-select(:items='["one", "two", "three"]' outline) Label
5 6
 
7
+=======
8
+        //- w-select(:items="['one', 'two', 'three']" outline) Label
9
+    
10
+>>>>>>> 8afdd6e (:sparkles: pairs card default style implemented)
6 11
     article
7 12
         ProfileCard.match-layout(
8 13
             :aspects='aspects'

+ 0
- 22
frontend/src/views/HomeView.vue Просмотреть файл

@@ -6,28 +6,6 @@ main.view--home
6 6
     p(v-else-if='cards.length === 0') No profiles in match_queue.
7 7
     w-spinner(v-else bounce)
8 8
 
9
-    footer
10
-        w-form
11
-            w-input.mb2(
12
-                inner-icon-left='mdi mdi-account'
13
-                label='Full Name'
14
-                label-position='inside'
15
-                outline
16
-            )
17
-            w-input.mb2(
18
-                inner-icon-left='mdi mdi-mail'
19
-                label='E-mail'
20
-                label-position='inside'
21
-                outline
22
-            )
23
-            w-input.mb2(
24
-                inner-icon-left='mdi mdi-lock'
25
-                label='Password'
26
-                label-position='inside'
27
-                outline
28
-                type='password'
29
-            )
30
-
31 9
     MainNav
32 10
 </template>
33 11
 

Загрузка…
Отмена
Сохранить