File tree Expand file tree Collapse file tree 14 files changed +42
-40
lines changed Expand file tree Collapse file tree 14 files changed +42
-40
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ exports.handler = async () => {
8
8
const data = response . data ;
9
9
xml2js . parseString ( data , ( err , result ) => {
10
10
const sendthis = result . rss . channel [ 0 ] . item . slice ( 0 , 3 ) ;
11
+ console . log ( sendthis , 'swac' )
11
12
return ( {
12
13
statusCode : 200 ,
13
14
headers : {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ exports.handler = async () => {
9
9
return ( {
10
10
statusCode : 200 ,
11
11
headers : {
12
- "Access-Control-Allow-Origin" : "*"
12
+ "Access-Control-Allow-Origin" : '*'
13
13
} ,
14
14
body : JSON . stringify ( likedTweetsResponse . data )
15
15
} ) ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ exports.handler = async () => {
9
9
return ( {
10
10
statusCode : 200 ,
11
11
headers : {
12
- "Access-Control-Allow-Origin" : "*"
12
+ "Access-Control-Allow-Origin" : '*'
13
13
} ,
14
14
body : JSON . stringify ( allTweetsResponse . data )
15
15
} ) ;
Original file line number Diff line number Diff line change 4
4
# provide twitter api key
5
5
[build .environment ]
6
6
TWITTER_API_KEY = " AAAAAAAAAAAAAAAAAAAAAIWYFwEAAAAAA3RBpjzS8nlirryXCXM%2FTsl8sKo%3DaWb1t2lrgmUeZqvFF6OTiyALws9gdVKkO0009mYmqvDcr2LAy2"
7
+ Access-Control-Allow-Origin = " *"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const CollaborateCard = props => {
9
9
< h4 className = "collaborate-card-title option" style = { { height : "100" } } >
10
10
{ props . title }
11
11
</ h4 >
12
- < p className = "collaborate-card-description" > { props . description } </ p >
12
+ < div className = "collaborate-card-description" > { props . description } </ div >
13
13
</ div >
14
14
</ div >
15
15
) ;
Original file line number Diff line number Diff line change @@ -3,27 +3,27 @@ import React from "react";
3
3
const DonateCard = ( ) => {
4
4
return (
5
5
< div
6
- class = "mt-10 container lift"
6
+ className = "mt-10 container lift"
7
7
style = { {
8
8
textAlign : "left" ,
9
9
color : "white" ,
10
10
backgroundColor : " #22247A" ,
11
11
width : "100%"
12
12
} }
13
13
>
14
- < div class = "row" >
15
- < div class = "col-md-6 co-12 ml-0 pt-6 pb-6 pl-8" >
14
+ < div className = "row" >
15
+ < div className = "col-md-6 co-12 ml-0 pt-6 pb-6 pl-8" >
16
16
< h2 > Donate Us</ h2 >
17
17
< p > COMMUNITY FUND AND PROJECT INCUBATION</ p >
18
18
< a
19
19
href = "https://funding.communitybridge.org/projects/codeuino-mentorship"
20
- class = "ml-0 btn btn-primary shadow lift"
20
+ className = "ml-0 btn btn-primary shadow lift"
21
21
style = { { color : " #22247A" , backgroundColor : "white" } }
22
22
>
23
23
The Linux Foundation Mentorship Platform
24
24
</ a >
25
25
</ div >
26
- < div class = "col-md-6 col-12" id = "join" >
26
+ < div className = "col-md-6 col-12" id = "join" >
27
27
< p >
28
28
Codeuino is an Open Source Social Networking organisation that
29
29
provides various robust frameworks solutions which could span the
Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ class Medium extends React.Component {
19
19
}
20
20
}
21
21
componentDidMount ( ) {
22
- this . fetchBlogs ( )
22
+ // this.fetchBlogs()
23
23
}
24
24
25
25
render ( ) {
26
26
return (
27
- < div class = "container" style = { { width : "100%" , alignContent : "left" } } >
28
- < h1 class = "component-heading" > Latest Blogs</ h1 >
27
+ < div className = "container" style = { { width : "100%" , alignContent : "left" } } >
28
+ < h1 className = "component-heading" > Latest Blogs</ h1 >
29
29
< div
30
- class = "row justify-content-center Medium"
30
+ className = "row justify-content-center Medium"
31
31
style = { { textAlign : "left" } }
32
32
>
33
- { this . state . posts . map ( ( post , index ) => (
33
+ { /* this.state.posts.map((post, index) => (
34
34
<div className="col-md-4 Medium-post" key={index}>
35
35
<a class="outer-link" href={post.link[0]}>
36
36
<div>
@@ -41,7 +41,7 @@ class Medium extends React.Component {
41
41
</div>
42
42
</a>
43
43
</div>
44
- ) ) }
44
+ ))*/ }
45
45
</ div >
46
46
</ div >
47
47
) ;
Original file line number Diff line number Diff line change @@ -41,16 +41,16 @@ const Testimonials = () => {
41
41
containerClass = "carousel-container"
42
42
itemClass = "carousel-item-class"
43
43
>
44
- { Data . map ( testimonial => {
44
+ { Data . map ( ( testimonial , index ) => {
45
45
return (
46
- < div class = "container" >
47
- < div class = "testimonial-card" >
48
- < div class = "text" >
46
+ < div className = "container" key = { index } >
47
+ < div className = "testimonial-card" >
48
+ < div className = "text" >
49
49
{ testimonial . quote } < i class = "fas fa-quote-right quote" > </ i >
50
50
</ div >
51
- < div class = "testimonial-card-footer-outer" >
52
- < div class = "testimonial-card-footer" >
53
- < div class = "image" >
51
+ < div className = "testimonial-card-footer-outer" >
52
+ < div className = "testimonial-card-footer" >
53
+ < div className = "image" >
54
54
< img
55
55
alt = "testimonial pic"
56
56
width = "100%"
Original file line number Diff line number Diff line change @@ -81,17 +81,17 @@ const collaborationMethods = [
81
81
const Collaborate = ( ) => {
82
82
return (
83
83
< div
84
- class = "container pt-10"
84
+ className = "container pt-10"
85
85
id = "collaborate"
86
86
style = { { width : "100%" , alignContent : "left" } }
87
87
>
88
- < span class = "badge badge-pill badge-primary-soft mb-3 text-center" >
89
- < span class = "h6 text-uppercase font-weight-bold" > Collaborate</ span >
88
+ < span className = "badge badge-pill badge-primary-soft mb-3 text-center" >
89
+ < span className = "h6 text-uppercase font-weight-bold" > Collaborate</ span >
90
90
</ span >
91
- < h1 class = "component-heading" > How Can I Support?</ h1 >
92
- < div class = "row" style = { { textAlign : "left" } } >
91
+ < h1 className = "component-heading" > How Can I Support?</ h1 >
92
+ < div className = "row" style = { { textAlign : "left" } } >
93
93
{ collaborationMethods . map ( ( ele , index ) => (
94
- < div className = "col-md-3 p-0" >
94
+ < div className = "col-md-3 p-0" key = { index } >
95
95
< CollaborateCard { ...ele } key = { index } />
96
96
</ div >
97
97
) ) }
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ const joinUsMethods = {
42
42
const JoinUs = ( ) => {
43
43
return (
44
44
< div
45
- class = "container pt-10"
45
+ className = "container pt-10"
46
46
style = { { width : "100%" , alignContent : "left" } }
47
47
>
48
- < span class = "badge badge-pill badge-primary-soft mb-3 text-center" >
49
- < span class = "h6 text-uppercase font-weight-bold" > Join Us</ span >
48
+ < span className = "badge badge-pill badge-primary-soft mb-3 text-center" >
49
+ < span className = "h6 text-uppercase font-weight-bold" > Join Us</ span >
50
50
</ span >
51
- < h1 class = "component-heading" > How can I get Involved?</ h1 >
52
- < div class = "row justify-content-center" style = { { textAlign : "left" } } >
51
+ < h1 className = "component-heading" > How can I get Involved?</ h1 >
52
+ < div className = "row justify-content-center" style = { { textAlign : "left" } } >
53
53
< div className = "col-md-4 p-0" >
54
54
< a href = "http://slack.codeuino.org/" >
55
55
< CollaborateCard { ...joinUsMethods . slack } />
You can’t perform that action at this time.
0 commit comments