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