Skip to content

Commit 7dbc6d7

Browse files
committed
Update Vue School offer banner
1 parent 2e12128 commit 7dbc6d7

File tree

7 files changed

+448
-47
lines changed

7 files changed

+448
-47
lines changed

themes/vue/layout/partials/vueschool_banner.ejs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a id="vs" class="vs-hidden" href="https://vueschool.io/free-weekend?friend=vuejs" target="_blank" rel="noreferrer">
1+
<a id="vs" class="vs-hidden" href="https://vueschool.io/sales/price-increase-22?friend=vuejs" target="_blank" rel="noreferrer">
22
<div class="vs-iso">
33
<img src="/images/banners/vs-iso.svg">
44
</div>
@@ -8,15 +8,15 @@
88
<div class="vs-core">
99
<div class="vs-slogan">
1010
<div class="vs-slogan-up">
11-
VUE 3 MASTERCLASS - FREE WEEKEND
11+
Get up to <strong>40% off</strong> your Vue School Subscription
1212
</div>
1313
<div class="vs-slogan-down">
14-
Register at <strong>vueschool.io/free-weekend</strong>
14+
Time Limited Offer
1515
</div>
1616
</div>
1717
<div class="vs-button">
1818
<div class="vs-button-inside">
19-
<img src="/images/banners/free-access.svg" alt="Free Access">
19+
GET OFFER
2020
</div>
2121
</div>
2222
</div>

themes/vue/source/css/_vueschool.styl

+22-22
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ body.has-vs-banner
5757
background-color: #1E204D
5858
background-repeat: no-repeat
5959
background-position: top right
60-
background-image: url(../images/banners/vueschool-banner-bg-mobile.svg)
60+
background-image: url(../images/banners/vs-fw-bg-small.svg)
6161
display: flex
6262
justify-content: center
6363
align-items: center
@@ -67,12 +67,13 @@ body.has-vs-banner
6767
padding: 0 10px
6868
min-height: $vs-banner-height-mobile
6969
top: 0
70+
background-position: bottom right
7071
@media (min-width: 680px)
7172
min-height: $vs-banner-height-desktop
72-
background-image: url(../images/banners/vueschool-banner-bg-tablet.svg)
73+
background-image: url(../images/banners/vs-fw-bg.svg)
7374
@media (min-width: 900px)
75+
background-position: top right
7476
position: static
75-
background-image: url(../images/banners/vueschool-banner-bg-desktop.svg)
7677

7778
&.vs-hidden
7879
display: none
@@ -81,10 +82,7 @@ body.has-vs-banner
8182
.vs-core
8283
.vs-button
8384
.vs-button-inside
84-
background: linear-gradient(#ed81eb, #d457d0)
85-
&.vs-button-alt
86-
.vs-button-inside
87-
background: linear-gradient(#ffea80, #ffba49)
85+
background: linear-gradient(257deg, #e19b09 99%, #ffca24 6%)
8886

8987
.vs-iso
9088
position: absolute
@@ -115,41 +113,43 @@ body.has-vs-banner
115113
text-align: center
116114

117115
.vs-slogan-up
118-
color: #47b785
116+
color: #FFF
119117
font-size: 14px
120118
font-weight: bold
119+
width: 170px
121120
@media (min-width: 680px)
122121
font-size: 18px
122+
width: 220px
123+
@media (min-width: 1024px)
124+
width: auto
125+
font-size: 24px
126+
strong
127+
color: #fdc722
123128

124129
.vs-slogan-down
125-
color: #fff
130+
color: #cdc5dc
126131
font-size: 12px
127132
@media (min-width: 680px)
128133
font-size: 16px
129-
strong
130-
color: #48a0ff
131134

132135
.vs-button
133136
margin-left: 43px
134137
color: #fff
135-
background: linear-gradient(to bottom, #b349b0, #dc61da)
136138
padding: 2px
137139
border-radius: 40px
138140
display: none
141+
background: linear-gradient(0deg, #ffdf4c, #e29d0a)
139142
@media (min-width: 680px)
140143
display: inline-block
141144
.vs-button-inside
145+
color: #000
142146
border-radius: 40px
143-
background: linear-gradient(#dc61da, #b349b0)
144-
transition: all .25s ease-in
145-
padding: 17px 27px
146-
line-height: 0
147-
@media (min-width: 680px)
148-
padding: 13px 24px
149-
&.vs-button-alt
150-
background: linear-gradient(to bottom, #ffcc38, #ffd13d)
151-
.vs-button-inside
152-
background: linear-gradient(to bottom, #ffe24f, #ffa40e)
147+
background: linear-gradient(90deg, #FFC828, #E19C0E)
148+
padding: 8px 24px
149+
font-size: 22px
150+
white-space: nowrap
151+
border-radius: 30px
152+
font-weight: bold
153153

154154
.vs-close
155155
right: 10px
Loading

0 commit comments

Comments
 (0)