Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions themes/vue/layout/partials/vueschool_banner.ejs
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<a id="vs" class="vs-hidden" href="https://vueschool.io/free-weekend?friend=vuejs" target="_blank" rel="noreferrer">
<a id="vs" class="vs-hidden" href="https://vueschool.io/the-vuejs-master-class?friend=vuejs#plans" target="_blank" rel="noreferrer">
<div class="vs-iso">
<img src="/images/banners/vs-iso.svg">
<img src="/images/banners/vs-iso.svg" alt="Vue School logo">
</div>
<div class="vs-logo">
<img src="/images/banners/vs-logo.svg">
<img src="/images/banners/vs-logo.svg" alt="Vue School logo">
</div>
<div class="vs-core">
<div class="vs-slogan">
<div class="vs-slogan-up">
VUE 3 MASTERCLASS - FREE WEEKEND
LEARN VUE AT VUE SCHOOL
</div>
<div class="vs-slogan-down">
Register at <strong>vueschool.io/free-weekend</strong>
Register today and get <strong>20% OFF</strong>
</div>
</div>
<div class="vs-button">
<div class="vs-button-inside">
<img src="/images/banners/free-access.svg" alt="Free Access">
<img src="/images/banners/learn-more.svg" alt="Learn More">
</div>
</div>
</div>
Expand Down
14 changes: 8 additions & 6 deletions themes/vue/source/css/_vueschool.styl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ body.has-vs-banner
background-color: #1E204D
background-repeat: no-repeat
background-position: top right
background-image: url(https://github.com/images/banners/vueschool-banner-bg-mobile.svg)
background-image: url(https://github.com/images/banners/vueschool-banner-bg-mobile%3Cspan%20class=%22x%20x-first%20x-last%22%3E-2%3C/span%3E.svg)
display: flex
justify-content: center
align-items: center
Expand All @@ -69,10 +69,10 @@ body.has-vs-banner
top: 0
@media (min-width: 680px)
min-height: $vs-banner-height-desktop
background-image: url(https://github.com/images/banners/vueschool-banner-bg-tablet.svg)
background-image: url(https://github.com/images/banners/vueschool-banner-bg-tablet%3Cspan%20class=%22x%20x-first%20x-last%22%3E-2%3C/span%3E.svg)
@media (min-width: 900px)
position: static
background-image: url(https://github.com/images/banners/vueschool-banner-bg-desktop.svg)
background-image: url(https://github.com/images/banners/vueschool-banner-bg-desktop%3Cspan%20class=%22x%20x-first%20x-last%22%3E-2%3C/span%3E.svg)

&.vs-hidden
display: none
Expand Down Expand Up @@ -124,10 +124,12 @@ body.has-vs-banner
.vs-slogan-down
color: #fff
font-size: 12px
padding-top: 2px
@media (min-width: 680px)
font-size: 16px
strong
color: #48a0ff
color: #fff
font-weight: bold

.vs-button
margin-left: 43px
Expand All @@ -142,10 +144,10 @@ body.has-vs-banner
border-radius: 40px
background: linear-gradient(#dc61da, #b349b0)
transition: all .25s ease-in
padding: 17px 27px
padding: 12px 24px 8px
line-height: 0
@media (min-width: 680px)
padding: 13px 24px
padding: 12px 24px 8px
&.vs-button-alt
background: linear-gradient(to bottom, #ffcc38, #ffd13d)
.vs-button-inside
Expand Down
9 changes: 9 additions & 0 deletions themes/vue/source/images/banners/learn-more.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading