This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +7821
-5673
lines changed Expand file tree Collapse file tree 7 files changed +7821
-5673
lines changed Original file line number Diff line number Diff line change
1
+ const pastEventsMeetupURL =
2
+ 'https://api.meetup.com/freeCodeCamp-Hyderabad/events?desc=1&photo-host=public&page=100&sig_id=216741149&status=past&sig=1c4bfe2215a979755e5f59989ff43edb0351f687' ;
3
+
4
+ export default pastEventsMeetupURL ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- export default ( ) =>
3
+ export default ( ) => (
4
4
< svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 512 512" >
5
5
< path
6
6
fill = "#6B4841"
@@ -45,4 +45,5 @@ export default () =>
45
45
height: 200px;
46
46
}
47
47
` } </ style >
48
- </ svg > ;
48
+ </ svg >
49
+ ) ;
Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
2
+ import { Card , Icon } from 'semantic-ui-react' ;
3
+
4
+ const convertTime = time => {
5
+ const date = new Date ( time ) ;
6
+ return date . toDateString ( ) ;
7
+ } ;
8
+
9
+ const RowEvent = props => (
10
+ < Card fluid >
11
+ < Card . Content >
12
+ < Card . Header > { props . name } </ Card . Header >
13
+ < Card . Meta > { convertTime ( props . time ) } </ Card . Meta >
14
+ { /* <Card.Description as="string">{props.description}</Card.Description> */ }
15
+ </ Card . Content >
16
+ < Card . Content extra >
17
+ < Icon circular name = "users" />
18
+ { `${ props . yesCount } attended` }
19
+ </ Card . Content >
20
+ </ Card >
21
+ ) ;
22
+
23
+ export default RowEvent ;
You can’t perform that action at this time.
0 commit comments