Skip to content

Commit 151bc05

Browse files
jay-esi5dr0id
andauthored
Vuemastery banner may link (#2867) (#2085)
* feat: add vuemastery free-weekend banner * feat: update link * fix: text size on mobile Co-authored-by: Israel <[email protected]>
1 parent eb5021f commit 151bc05

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.vitepress/theme/components/VueMasteryBanner.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
></div>
88
<a
99
id="vm-banner"
10-
href="https://www.vuemastery.com/free-weekend"
10+
href="https://www.vuemastery.com/pricing/?coupon=FREEWEEKEND2024"
1111
target="_blank"
1212
>
1313
<img
@@ -23,11 +23,12 @@
2323
<div class="vm-banner-wrapper">
2424
<div class="vm-banner-content">
2525
<h1 class="vm-banner-title">
26-
FREE WEEKEND <span>MAY 10-12</span>
26+
Get
27+
<span> 60% </span>
28+
off a year of Vue Mastery courses
2729
</h1>
28-
<p class="vm-banner-sub">Watch all Vue Mastery courses free</p>
2930
</div>
30-
<button id="vm-banner-cta">Get Access</button>
31+
<button id="vm-banner-cta">Get discount</button>
3132
</div>
3233
<button id="vm-banner-close" @click.prevent="closeBanner">
3334
<VTIconPlus class="close" />
@@ -154,6 +155,9 @@ onMounted(() => {
154155
font-weight: bold;
155156
font-size: 24px;
156157
text-align: center;
158+
}
159+
160+
.vm-banner-title span{
157161
background: linear-gradient(145deg, #c3ffac, #86ec87, #38a56a);
158162
background-clip: text;
159163
-webkit-background-clip: text;
@@ -240,7 +244,7 @@ onMounted(() => {
240244
width: 40px;
241245
}
242246
.vm-banner-title {
243-
font-size: 14px;
247+
font-size: 12px;
244248
}
245249
.vm-banner-sub {
246250
font-size: 12px;

0 commit comments

Comments
 (0)