@@ -20,31 +20,45 @@ const imageAlt = computed(() => {
20
20
<template >
21
21
<div class =" team-card" >
22
22
<img :src =" `../../about/images/${imageFileName}`" :alt =" imageAlt" />
23
- <p >{{ imageFileName }}</ p >
24
- <h3 >{{ profile.name }}</h3 >
25
- <p >
26
- {{ profile.title }}
27
- <span v-if =" profile.company" >@ {{ profile.company }}</span >
28
- </p >
29
- <address >{{ profile.location.label }}</address >
30
- <ul >
31
- <li v-for =" language in profile.languageList" >
32
- {{ language }}
33
- </li >
34
- </ul >
35
- <a :href =" profile.website.url" >{{ profile.website.label }}</a >
36
- <ul >
37
- <li
38
- v-for =" (handle, platform) in profile.social"
39
- :key =" `${platform}-${handle}`"
40
- >
41
- <a :href =" `https://www.${platform}.com/${handle}`" >
42
- {{ platform }}: {{ handle }}
43
- </a >
44
- </li >
45
- </ul >
46
- <pre >{{ profile }}</ pre >
23
+ <section >
24
+ <h3 class = " member-name " >{{ profile.name }}</h3 >
25
+ <p >
26
+ {{ profile.title }}
27
+ <span v-if =" profile.company" >@ {{ profile.company }}</span >
28
+ </p >
29
+ <address >{{ profile.location.label }}</address >
30
+ <ul >
31
+ <li v-for =" language in profile.languageList" >
32
+ {{ language }}
33
+ </li >
34
+ </ul >
35
+ <a :href =" profile.website.url" >{{ profile.website.label }}</a >
36
+ <ul >
37
+ <li
38
+ v-for =" (handle, platform) in profile.social"
39
+ :key =" `${platform}-${handle}`"
40
+ >
41
+ <a :href =" `https://www.${platform}.com/${handle}`" >
42
+ {{ platform }}: {{ handle }}
43
+ </a >
44
+ </li >
45
+ </ul >
46
+ </ section >
47
47
</div >
48
48
</template >
49
49
50
- <style ></style >
50
+ <style scoped>
51
+ .team-card {
52
+ display : grid ;
53
+ grid-template-columns : 32px 1fr ;
54
+ grid-column-gap : 32px ;
55
+ margin-bottom : 16px ;
56
+ padding : 32px ;
57
+ border-radius : 8px ;
58
+ background-color : #f8f8f8 ;
59
+ }
60
+
61
+ .team-card .member-name {
62
+ margin-top : 0 ;
63
+ }
64
+ </style >
0 commit comments