File tree Expand file tree Collapse file tree 2 files changed +40
-12
lines changed Expand file tree Collapse file tree 2 files changed +40
-12
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,39 @@ body {
18
18
margin-bottom : 30px ;
19
19
}
20
20
21
- .github-link {
22
- display : block;
21
+ .social {
22
+ align-items : center;
23
+ display : flex;
24
+ justify-content : space-around;
25
+ margin : 2em auto;
26
+ height : 20px ;
27
+ width : auto;
28
+ }
29
+
30
+ .social a {
31
+ color : white;
32
+ flex : 0 1 auto;
33
+ height : auto;
34
+ margin : 0 1em ;
35
+ padding-left : 24px ;
36
+ text-decoration : none;
37
+ }
38
+
39
+ .social a : hover {
40
+ text-decoration : underline;
41
+ }
42
+
43
+ .github {
23
44
background : url (github.svg) no-repeat;
24
45
background-size : contain;
25
- width : 30px ;
26
- height : 30px ;
27
- overflow : hidden;
28
- line-height : 200px ;
29
- margin-top : 20px ;
46
+ }
47
+ .twitter {
48
+ background : url (twitter.svg) no-repeat;
49
+ background-size : contain;
50
+ }
51
+ .facebook {
52
+ background : url (facebook.svg) no-repeat;
53
+ background-size : contain;
30
54
}
31
55
32
56
# meetup-notification-form {
52
76
width : calc (100% - 20px );
53
77
font-size : 15px ;
54
78
}
55
- }
79
+ }
Original file line number Diff line number Diff line change @@ -21,12 +21,16 @@ <h2>Quer ser avisado sobre os próximos encontros?</h2>
21
21
< input type ="email " id ="email " placeholder ="Digite seu email e pressione enter " />
22
22
</ form >
23
23
24
- < a href ="https://github.com/ReactSSA " class ="github-link "> ReactSSA</ a >
24
+ < div class ="social ">
25
+ < a rel ="external " target ="_blank " href ="https://github.com/ReactSSA " class ="github "> ReactSSA</ a >
26
+ < a rel ="external " target ="_blank " href ="https://twitter.com/ReactSSA " class ="twitter "> @ReactSSA</ a >
27
+ < a rel ="external " target ="_blank " href ="https://facebook.com/reactssa " class ="facebook "> React Salvador</ a >
28
+ </ div >
25
29
</ div >
26
30
27
31
< script src ="https://www.gstatic.com/firebasejs/5.4.2/firebase-app.js "> </ script >
28
32
< script src ="https://www.gstatic.com/firebasejs/5.4.2/firebase-database.js "> </ script >
29
-
33
+
30
34
< script >
31
35
var config = {
32
36
apiKey : "AIzaSyDthLRn1-FtkR9duSYmGO5vcxv27Mw6zfY" ,
@@ -42,7 +46,7 @@ <h2>Quer ser avisado sobre os próximos encontros?</h2>
42
46
43
47
document . getElementById ( "meetup-notification-form" ) . addEventListener ( "submit" , function ( e ) {
44
48
e . preventDefault ( ) ;
45
-
49
+
46
50
var emailInputEl = document . getElementById ( "email" ) ;
47
51
emailsStore . push ( {
48
52
email : emailInputEl . value
@@ -57,4 +61,4 @@ <h2>Quer ser avisado sobre os próximos encontros?</h2>
57
61
</ script >
58
62
</ body >
59
63
60
- </ html >
64
+ </ html >
You can’t perform that action at this time.
0 commit comments