2
2
<a
3
3
id =" vs"
4
4
v-if =" isVisible"
5
- href =" https://vueschool.io/free-weekend ?friend=vuerouter"
5
+ href =" https://vueschool.io/sales/price-increase-22 ?friend=vuerouter"
6
6
target =" _blank"
7
7
rel =" noreferrer"
8
8
>
12
12
</div >
13
13
<div class =" vs-core" >
14
14
<div class =" vs-slogan" >
15
- <div class =" vs-slogan-subtitle" >
16
- VUE 3 MASTERCLASS - FREE WEEKEND
17
- </div >
18
15
<div class =" vs-slogan-title" >
19
- Register at <strong >vueschool.io/free-weekend</strong >
16
+ Get up to <strong >40% off</strong > your Vue School Subscription
17
+ </div >
18
+ <div class =" vs-slogan-subtitle" >
19
+ Time Limited Offer
20
20
</div >
21
21
</div >
22
22
<div class =" vs-button" >
23
- Free Access
23
+ <div class =" vs-button-inside" >
24
+ GET OFFER
25
+ </div >
24
26
</div >
25
27
</div >
26
28
<div id =" vs-close" class =" vs-close" @click.stop.prevent =" close" >
@@ -51,15 +53,15 @@ export default {
51
53
</script >
52
54
53
55
<style >
54
- @import url (' https://fonts.googleapis.com/css2?family=Archivo :wght@400;600 &display=swap' );
56
+ @import url (' https://fonts.googleapis.com/css2?family=Roboto :wght@400;700 &display=swap' );
55
57
56
58
#vs {
57
59
align-items : center ;
58
60
background-color : #000c19 ;
59
61
box-sizing : border-box ;
60
62
color : #fff ;
61
63
display : flex ;
62
- font-family : ' Inter ' , Roboto, Oxygen, Fira Sans, Helvetica Neue, sans-serif ;
64
+ font-family : ' Roboto' , Oxygen, Fira Sans, Helvetica Neue, sans-serif ;
63
65
justify-content : center ;
64
66
position : fixed ;
65
67
padding : 0 10px ;
@@ -69,136 +71,151 @@ export default {
69
71
z-index : 100 ;
70
72
height : 5rem ;
71
73
line-height : 1 ;
72
- background-image : url (/images/vueschool/vs-fw-bg.svg );
74
+ background-image : url (/images/vueschool/vs-fw-bg-small .svg );
73
75
background-size : cover ;
74
76
background-repeat : no-repeat ;
75
77
}
78
+
76
79
#vs :hover {
77
80
text-decoration : none ;
78
81
}
82
+
79
83
#vs .vs-logo {
80
84
position : absolute ;
81
85
left : 20px ;
82
86
top : 20px ;
83
87
}
84
- #vs .vs-logo .logo-small {
85
- display : none ;
86
- }
88
+
87
89
#vs .vs-logo .logo-big {
88
90
display : none ;
89
91
}
90
- @media (min-width : 768px ) {
91
- #vs .vs-logo .logo-small {
92
- display : inline-block ;
93
- }
94
- }
95
- @media (min-width : 1024px ) {
96
- #vs .vs-logo .logo-small {
97
- display : none ;
98
- }
99
- #vs .vs-logo .logo-big {
100
- display : inline-block ;
101
- }
102
- }
103
- @media (min-width : 680px ) {
104
- #vs {
105
- height : 5rem ;
106
- }
107
- }
108
- #vs :hover .vs-core .vs-button {
109
- background : linear-gradient (261deg , #e61463 100% , #db5248 3% );
110
- border-color : #e61463 ;
111
- }
112
- @media (min-width : 680px ) {
113
- #vs .vs-core {
114
- display : flex ;
115
- align-items : center ;
116
- }
92
+
93
+ #vs :hover .vs-core .vs-button-inside {
94
+ background : linear-gradient (257deg , #e19b09 99% , #ffca24 6% );
117
95
}
96
+
118
97
#vs .vs-core .vs-slogan {
119
- font-family : Archivo;
120
98
color : #fff ;
121
99
margin-left : 8px ;
122
100
text-align : center ;
123
101
}
124
- @media (min-width : 680px ) {
125
- #vs .vs-core .vs-slogan {
126
- margin-left : 24px ;
127
- }
102
+
103
+ #vs .vs-core {
104
+ width : 190px ;
105
+ align-items : center ;
106
+ display : flex ;
107
+ justify-content : center ;
128
108
}
109
+
129
110
#vs .vs-core .vs-slogan .vs-slogan-subtitle {
130
111
font-size : 14px ;
131
- color : #47b785 ;
132
- font-weight : bold ;
133
- }
134
- @media (min-width : 680px ) {
135
- #vs .vs-core .vs-slogan .vs-slogan-subtitle {
136
- font-size : 18px ;
137
- }
112
+ color : #cdc5dc ;
113
+ margin-top : 8px ;
138
114
}
115
+
139
116
#vs .vs-core .vs-slogan .vs-slogan-title {
140
- margin-top : 6px ;
141
117
font-size : 16px ;
118
+ font-weight : 800 ;
142
119
}
143
- @media (min-width : 680px ) {
144
- #vs .vs-core .vs-slogan .vs-slogan-title {
145
- font-size : 18px ;
146
- }
147
- }
120
+
148
121
#vs .vs-core .vs-slogan .vs-slogan-title strong {
149
- color : #48a0ff ;
150
- font-weight : 400 ;
122
+ color : #fdc722 ;
151
123
}
124
+
152
125
#vs .vs-core .vs-button {
153
- color : #fff ;
154
- padding : 7px 10px ;
155
- font-weight : 600 ;
156
- white-space : nowrap ;
126
+ background : linear-gradient (0deg , #ffdf4c , #e29d0a );
127
+ padding : 2px ;
157
128
margin-right : 18px ;
158
129
margin-left : 16px ;
159
- font-family : ' Archivo' , sans-serif ;
160
- object-fit : contain ;
161
130
border-radius : 30px ;
162
- border-style : solid ;
163
- border-width : 2px ;
164
- background-image : linear-gradient (255deg , #d457d0 98% , #ed81eb 2% ), linear-gradient (to bottom , #b349b0 , #db61d9 );
165
- text-transform : uppercase ;
166
- border-color : #B349B0 ;
167
131
display : none ;
168
132
}
133
+
134
+ #vs .vs-core .vs-button-inside {
135
+ color : #000 ;
136
+ padding : 7px 10px ;
137
+ font-weight : 800 ;
138
+ font-size : 22px ;
139
+ white-space : nowrap ;
140
+ border-radius : 30px ;
141
+ background : linear-gradient (90deg , #FFC828 , #E19C0E );
142
+ text-transform : uppercase ;
143
+ }
144
+
145
+ #vs .vs-close {
146
+ right : 6px ;
147
+ position : absolute ;
148
+ }
149
+
150
+ #vs .vs-close :hover {
151
+ color : #56d8ff ;
152
+ }
153
+
169
154
@media (min-width : 680px ) {
155
+ #vs {
156
+ background-image : url (/images/vueschool/vs-fw-bg.svg );
157
+ background-position : top right -110px ;
158
+ }
159
+
160
+ #vs .vs-core .vs-slogan {
161
+ margin-left : 24px ;
162
+ width : auto ;
163
+ }
164
+
165
+ #vs .vs-core .vs-slogan .vs-slogan-subtitle {
166
+ font-size : 16px ;
167
+ }
168
+
169
+ #vs .vs-core .vs-slogan .vs-slogan-title {
170
+ font-size : 18px ;
171
+ }
172
+
170
173
#vs .vs-core .vs-button {
171
174
display : inline-block ;
172
175
margin-right : 0 ;
173
- padding : 8px 24px ;
174
176
margin-left : 22px ;
175
177
}
176
- }
177
- @media (min-width : 1024px ) {
178
- #vs .vs-core .vs-button {
179
- margin-left : 69px ;
180
- }
181
- }
182
- .vs-tag {
183
- margin-left : 10px
184
- }
185
- @media (min-width : 1024px ) {
186
- .vs-tag {
187
- margin-left : 30px
178
+
179
+ #vs .vs-core .vs-button-inside {
180
+ padding : 8px 24px ;
188
181
}
189
- }
190
- #vs .vs-close {
191
- right : 6px ;
192
- position : absolute ;
193
- }
194
- @media (min-width : 680px ) {
182
+
195
183
#vs .vs-close {
196
184
padding : 10px ;
197
185
right : 20px ;
198
186
}
199
187
}
200
- #vs .vs-close :hover {
201
- color : #56d8ff ;
188
+
189
+ @media (min-width : 768px ) {
190
+ #vs .vs-logo .logo-small {
191
+ display : none ;
192
+ }
193
+
194
+ #vs .vs-logo .logo-big {
195
+ display : inline-block ;
196
+ }
197
+
198
+ #vs .vs-core {
199
+ width : 430px ;
200
+ }
201
+ }
202
+
203
+ @media (min-width : 1024px ) {
204
+ #vs {
205
+ background-position : top right ;
206
+ }
207
+
208
+ #vs .vs-core .vs-slogan .vs-slogan-title {
209
+ font-size : 24px ;
210
+ }
211
+
212
+ #vs .vs-core .vs-button {
213
+ margin-left : 69px ;
214
+ }
215
+
216
+ #vs .vs-core {
217
+ width : auto ;
218
+ }
202
219
}
203
220
204
221
/* *******************************************/
0 commit comments