This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ const RowEvent = props => {
20
20
</ span >
21
21
< span className = "card_icons" >
22
22
< Icon name = "users" />
23
- { `${ props . yesCount } attended` }
23
+ { props . yesCount }
24
+ { props . status === 'upcoming' ? ' attending' : ' attended' }
25
+ </ span >
26
+ < span className = "card_icons" >
27
+ < Icon name = "log out" />
28
+ { props . venue === undefined ? 'Free session' : 'Free entry' }
24
29
</ span >
25
- < Icon name = "log out" />
26
- { props . venue === undefined ? 'Free session' : 'Free entry' }
27
30
</ Card . Content >
28
31
< style jsx > { `
29
32
.card_venue {
@@ -32,6 +35,12 @@ const RowEvent = props => {
32
35
.card_icons {
33
36
margin-right: 15px;
34
37
}
38
+ @media (max-width: 700px) {
39
+ .card_icons {
40
+ display: flex;
41
+ margin: 5px 0;
42
+ }
43
+ }
35
44
` } </ style >
36
45
</ Card >
37
46
) ;
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export default publicPage(
53
53
time = { event . time }
54
54
venue = { event . venue }
55
55
link = { event . link }
56
+ status = { event . status }
56
57
/>
57
58
</ Card . Group >
58
59
) ) }
@@ -68,6 +69,7 @@ export default publicPage(
68
69
time = { event . time }
69
70
venue = { event . venue }
70
71
link = { event . link }
72
+ status = { event . status }
71
73
/>
72
74
</ Card . Group >
73
75
) ) }
You can’t perform that action at this time.
0 commit comments