This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,13 @@ const RowEvent = props => {
2020 </ span >
2121 < span className = "card_icons" >
2222 < 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' }
2429 </ span >
25- < Icon name = "log out" />
26- { props . venue === undefined ? 'Free session' : 'Free entry' }
2730 </ Card . Content >
2831 < style jsx > { `
2932 .card_venue {
@@ -32,6 +35,12 @@ const RowEvent = props => {
3235 .card_icons {
3336 margin-right: 15px;
3437 }
38+ @media (max-width: 700px) {
39+ .card_icons {
40+ display: flex;
41+ margin: 5px 0;
42+ }
43+ }
3544 ` } </ style >
3645 </ Card >
3746 ) ;
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export default publicPage(
5353 time = { event . time }
5454 venue = { event . venue }
5555 link = { event . link }
56+ status = { event . status }
5657 />
5758 </ Card . Group >
5859 ) ) }
@@ -68,6 +69,7 @@ export default publicPage(
6869 time = { event . time }
6970 venue = { event . venue }
7071 link = { event . link }
72+ status = { event . status }
7173 />
7274 </ Card . Group >
7375 ) ) }
You can’t perform that action at this time.
0 commit comments