File tree Expand file tree Collapse file tree 3 files changed +69
-3
lines changed Expand file tree Collapse file tree 3 files changed +69
-3
lines changed Original file line number Diff line number Diff line change 67
67
</div >
68
68
</div >
69
69
70
+ <div id =" news" >
71
+ <div class =" inner" >
72
+ <h3 >Subscribe to our Weekly Newsletter</h3 >
73
+ <form
74
+ class =" newsletter-form"
75
+ id =" revue-form"
76
+ name =" revue-form"
77
+ target =" _blank"
78
+ action =" https://www.getrevue.co/profile/vuenewsletter/add_subscriber"
79
+ method =" post"
80
+ @submit =" subscribe"
81
+ >
82
+ <input
83
+ class =" newsletter-input"
84
+ type =" email"
85
+ name =" member[email]"
86
+ id =" member_email"
87
+ required
88
+ placeholder =" Email address"
89
+ >
90
+ <input
91
+ class =" button newsletter-button"
92
+ type =" submit"
93
+ value =" Subscribe"
94
+ name =" member[subscribe]"
95
+ id =" member_submit"
96
+ >
97
+ </form >
98
+ <p >
99
+ You can read the previous issues and listen to our podcast at <a href =" https://news.vuejs.org" target =" _blank" >news.vuejs.org</a >.
100
+ </p >
101
+ </div >
102
+ </div >
103
+
70
104
<div id =" footer" >
71
105
<p >
72
106
<a class =" social-icon" href =" https://github.com/vuejs/vue" target =" _blank" >
Original file line number Diff line number Diff line change 48
48
p
49
49
word-spacing : 0.05em
50
50
51
- a .button
51
+ a .button ,
52
+ input .button
52
53
padding : 0.75em 2em
53
54
border-radius : 2em
54
55
display : inline-block
@@ -216,4 +217,3 @@ sup.beta.beta
216
217
h2+ p
217
218
page-break-before : avoid
218
219
a :link :after , a :visited :after { content :" [" attr (href ) "] " ; }
219
-
Original file line number Diff line number Diff line change 26
26
.logo
27
27
display : none
28
28
29
- #hero
29
+ #hero ,
30
+ #news
30
31
padding : $space 40px 30px
31
32
background-color : #f f f
32
33
.inner
71
72
vertical-align : middle
72
73
margin-right : 15px
73
74
75
+ #news
76
+ padding : $space 20px 70px
77
+ text-align : center
78
+ p
79
+ margin-top : 10px
80
+ a
81
+ color : $green
82
+ .newsletter-form
83
+ position : relative
84
+ max-width : 550px
85
+ margin : 0 auto
86
+ box-sizing : border-box
87
+ .newsletter-input
88
+ width : 100%
89
+ box-sizing : border-box
90
+ padding : 10px 80px 10px 20px
91
+ height : 50px
92
+ border-radius : 50px
93
+ border : 1px solid #c c c
94
+ font-size : 16px
95
+ & :focus
96
+ outline : none
97
+ border-color : #42 b9 83
98
+ .newsletter-button.button
99
+ position : absolute
100
+ padding : 4px 20px
101
+ margin : 0
102
+ height : calc (100% - 8px )
103
+ right : 4px
104
+ top : 4px
105
+
74
106
#special-sponsor
75
107
background-color : #f f f
76
108
text-align : center
You can’t perform that action at this time.
0 commit comments