File tree Expand file tree Collapse file tree 6 files changed +52
-32
lines changed Expand file tree Collapse file tree 6 files changed +52
-32
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <div
3
- class =" staff-info"
4
- >
5
- <img
6
- class =" staff-info--avatar"
7
- :src =" `https://www.gravatar.com/avatar/${member.emailHash}?s=320&d=https://golang.tw/2020/img/gophercon-logo.png&r=g`"
8
- :alt =" `${member.name}'s Avatar`"
9
- />
10
- <div class =" staff-info--name" >{{ member.name }}</div >
11
- </div >
2
+ <div class =" staff-info" >
3
+ <img
4
+ class =" staff-info--avatar"
5
+ :src =" `https://www.gravatar.com/avatar/${member.emailHash}?s=320&d=https://golang.tw/2020/img/gophercon-logo.png&r=g`"
6
+ :alt =" `${member.name}'s Avatar`"
7
+ />
8
+ <div class =" staff-info--name" >{{ member.name }}</div >
9
+ </div >
12
10
</template >
13
11
14
12
<script lang="ts">
@@ -21,30 +19,31 @@ interface Person {
21
19
22
20
@Component
23
21
export default class StaffInfo extends Vue {
24
- @Prop ({default: {}}) member! : Person ;
22
+ @Prop ({ default: {} }) member! : Person ;
25
23
}
26
24
</script >
27
25
28
-
29
26
<style lang="scss" scoped>
30
27
.staff-info {
31
- text-align : center ;
28
+ text-align : center ;
32
29
33
- .staff-info--avatar {
34
- width : 120px ;
35
- height : 120px ;
36
- border-radius : 50% ;
37
- }
30
+ .staff-info--avatar {
31
+ width : 120px ;
32
+ height : 120px ;
33
+ border-radius : 50% ;
34
+ }
38
35
39
- .staff-info--name {
40
- margin-top : 8px ;
41
- font-size : 14px ;
42
- font-weight : normal ;
43
- font-stretch : normal ;
44
- font-style : normal ;
45
- line-height : normal ;
46
- letter-spacing : normal ;
47
- color : #333943 ;
48
- }
36
+ .staff-info--name {
37
+ margin-top : 8px ;
38
+ font-family : SourceHanSansTW, ' Noto Sans TC' , sans-serif ;
39
+ font-size : 14px ;
40
+ font-weight : normal ;
41
+ font-stretch : normal ;
42
+ font-style : normal ;
43
+ line-height : normal ;
44
+ letter-spacing : normal ;
45
+ text-align : center ;
46
+ color : #333943 ;
47
+ }
49
48
}
50
49
</style >
Original file line number Diff line number Diff line change 22
22
</div >
23
23
</div >
24
24
<div class =" content" >
25
+ <div class =" card-container individual-sponsor" >
26
+ <div class =" card" >
27
+ <h2 class =" font-black subtitle" >贊助</h2 >
28
+ </div >
29
+ </div >
25
30
<div class =" sponsor-wrapper" >
26
31
<div
27
32
v-for =" (leveledSponsors, sponsorOrder) in sponsorList"
@@ -186,7 +191,7 @@ export default class SponsorPage extends Vue {
186
191
}
187
192
</script >
188
193
189
- <style lang="scss" scoped >
194
+ <style lang="scss">
190
195
@import ' @/assets/scss/mixin.scss' ;
191
196
@import ' @/assets/scss/variables.scss' ;
192
197
@@ -489,5 +494,21 @@ $logo-margin-bottom: 20px;
489
494
letter-spacing : normal ;
490
495
color : #333943 ;
491
496
}
497
+
498
+ .sponsor-text-container {
499
+ margin-top : 8px ;
500
+ font-family : SourceHanSansTW;
501
+ font-size : 14px ;
502
+ font-weight : normal ;
503
+ font-stretch : normal ;
504
+ font-style : normal ;
505
+ line-height : normal ;
506
+ letter-spacing : normal ;
507
+ color : #333943 ;
508
+
509
+ & :first-child:not (:last-child ) {
510
+ margin-bottom : 24px ;
511
+ }
512
+ }
492
513
}
493
514
</style >
Original file line number Diff line number Diff line change 33
33
</div >
34
34
</div >
35
35
<div class =" sponsor-wrapper" >
36
- <div v-for =" group in staffs" :key =" `staff-group-${group.name}`" class =" sponsor-card" >
37
- <h2 class =" sponsor-name " >
38
- <span >{{ group.name }}</span >
36
+ <div v-for =" group in staffs" :key =" `staff-group-${group.name}`" class =" sponsor-card-container " >
37
+ <h2 class =" sponsor-level " >
38
+ <span class = " sponsor-level-text " >{{ group.name }}</span >
39
39
</h2 >
40
40
<div class =" sponsor-text-container" >{{ group.description }}</div >
41
41
<div class =" staff-wrapper" >
You can’t perform that action at this time.
0 commit comments