1
1
<template >
2
- <a id =" vs" href =" https://vueschool.io/sales/blackfriday?friend=vuerouter" target =" _blank" rel =" noreferrer" >
3
- <BannerCoins />
2
+ <a
3
+ id =" vs"
4
+ href =" https://vueschool.io/free-weekend?friend=vuerouter"
5
+ target =" _blank"
6
+ rel =" noreferrer"
7
+ >
8
+ <div class =" vs-logo" >
9
+ <img src =" /images/vueschool/vs-iso.svg" class =" logo-small" >
10
+ <img src =" /images/vueschool/vs-logo.svg" class =" logo-big" >
11
+ </div >
4
12
<div class =" vs-core" >
5
- <div class =" vs-logo" >
6
- <img src =" /images/vueschool/vueschool_blackfriday_logo.svg" >
7
- </div >
8
13
<div class =" vs-slogan" >
9
14
<div class =" vs-slogan-subtitle" >
10
- Access to all Vue Courses at Vue School
15
+ VUE 3 MASTERCLASS - FREE WEEKEND
11
16
</div >
12
17
<div class =" vs-slogan-title" >
13
- Cyber Monday <strong >35% OFF </strong > - Closes Soon
18
+ Register at <strong >vueschool.io/free-weekend </strong >
14
19
</div >
15
20
</div >
16
21
<div class =" vs-button" >
17
- Get Discount
22
+ Free Access
18
23
</div >
19
- <img class =" vs-tag" src =" /images/vueschool/extended.svg" alt =" Extended" >
20
24
</div >
21
25
<div id =" vs-close" class =" vs-close" @click.stop.prevent =" $emit('close')" >
22
- <img src =" /images/vueschool/vueschool_close .svg" alt =" Close" >
26
+ <img src =" /images/vueschool/vs-close .svg" alt =" Close" >
23
27
</div >
24
28
</a >
25
29
</template >
26
30
27
- <script >
28
- import BannerCoins from ' ./BannerCoins.vue'
29
-
30
- export default {
31
- components: {
32
- BannerCoins
33
- }
34
- }
35
- </script >
36
-
37
31
<style lang="stylus">
38
32
$topBannerHeight ?= 5rem
39
33
$topBannerHeightMobile ?= 5rem
@@ -59,67 +53,93 @@ $contentClass = '.theme-default-content'
59
53
z-index : 100
60
54
line-height : 1
61
55
height : $topBannerHeightMobile
62
- background-image : url (/images /vueschool /vueschool_banner_mobile . png )
56
+ background-image : url (/images /vueschool /vs-fw-bg . svg )
63
57
background-size : cover
64
58
background-repeat : no-repeat
65
59
@media (min-width : 680px )
66
- background-image : none
67
60
height : $topBannerHeight
68
61
justify-content : center
69
62
70
63
& :hover
71
64
.vs-core
72
65
.vs-button
73
66
background : linear-gradient (261deg , #e6 14 63 100% , #db 52 48 3% )
67
+ border-color : #e6 14 63
68
+
69
+ .vs-logo {
70
+ position : absolute
71
+ left : 20px
72
+ top : 20px
73
+
74
+ .logo-small {
75
+ display : none
76
+ @media (min-width : 680px ) {
77
+ display : inline-block
78
+ }
79
+ @media (min-width : 1024px ) {
80
+ display : none
81
+ }
82
+ }
83
+
84
+ .logo-big {
85
+ display : none
86
+ @media (min-width : 1024px ) {
87
+ display : inline-block
88
+ }
89
+ }
90
+ }
74
91
75
92
.vs-core
76
- display : none
77
- @media (min-width : 680px )
78
- display : flex
79
- align-items : center
93
+ display : flex
94
+ align-items : center
80
95
81
96
.vs-slogan
82
97
font-family : Archivo
83
98
color : #F F F
84
99
margin-left : 8px
100
+ text-align : center
85
101
@media (min-width : 680px )
86
102
margin-left : 24px
87
103
.vs-slogan-subtitle
88
- font-size : 12px
104
+ font-size : 14px
105
+ color : #47 b7 85
106
+ font-weight : bold
89
107
@media (min-width : 680px )
90
- font-size : 14 px
108
+ font-size : 19 px
91
109
.vs-slogan-title
92
110
margin-top : 6px
93
111
font-size : 16px
94
- font-weight : 600
112
+ font-weight : 400
95
113
@media (min-width : 680px )
96
114
font-size : 18px
97
115
strong
98
- color : #ff ae 29
99
- font-weight : 600
116
+ color : #48 a0 ff
117
+ font-weight : 400
100
118
101
119
.vs-button
102
- color : #F F F
120
+ color : #f f f
103
121
padding : 7px 10px
104
- border-radius : 4px
105
- background : linear-gradient (to left , #e6 1b 60 , #dd 4a 4c )
106
122
font-weight : 600
107
- font-family : 'Archivo' , sans-serif
108
123
white-space : nowrap
109
- margin-right : 22 px
124
+ margin-right : 18 px
110
125
margin-left : 16px
126
+ font-family : 'Archivo' , sans-serif
127
+ object-fit : contain
128
+ border-radius : 30px
129
+ border-style : solid
130
+ border-width : 2px
131
+ background-image : linear-gradient (255deg , #d4 57 d0 98% , #ed 81 eb 2% ), linear-gradient (to bottom , #b3 49 b0 , #db 61 d9 )
132
+ text-transform : uppercase
133
+ border-color : #B3 49 B0
134
+ display : none
111
135
@media (min-width : 680px )
136
+ display : inline-block
112
137
margin-right : 0
113
138
padding : 8px 24px
114
139
margin-left : 22px
115
140
@media (min-width : 1024px )
116
141
margin-left : 69px
117
142
118
- .vs-tag
119
- margin-left : 10px
120
- @media (min-width : 1024px )
121
- margin-left : 30px
122
-
123
143
.vs-close
124
144
right : 6px
125
145
position : absolute
0 commit comments