File tree Expand file tree Collapse file tree 2 files changed +32
-21
lines changed
packages/docs/.vitepress/theme Expand file tree Collapse file tree 2 files changed +32
-21
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,24 @@ export const Layout = defineComponent({
16
16
Theme . Layout ,
17
17
{ } ,
18
18
{
19
- 'home-hero' : ( ) => (
20
- h ( "div" , {
21
- class : "vue-school-homepage-link" ,
22
- } , [
23
- h ( "a" , {
24
- href : "https://vueschool.io/lessons/introduction-to-pinia?friend=vuerouter&utm_source=pinia&utm_medium=link&utm_campaign=homepage" ,
25
- target :"_blank" ,
26
- rel :"noopener"
27
- } ,
28
- [ h ( "span" , "Watch Video Introduction" ) ]
29
- )
30
- ] )
31
- ) ,
19
+ 'home-hero' : ( ) =>
20
+ h (
21
+ 'div' ,
22
+ {
23
+ class : 'vue-school-homepage-link' ,
24
+ } ,
25
+ [
26
+ h (
27
+ 'a' ,
28
+ {
29
+ href : 'https://vueschool.io/lessons/introduction-to-pinia?friend=vuerouter&utm_source=pinia&utm_medium=link&utm_campaign=homepage' ,
30
+ target : '_blank' ,
31
+ rel : 'noopener' ,
32
+ } ,
33
+ [ h ( 'span' , 'Watch Video Introduction' ) ]
34
+ ) ,
35
+ ]
36
+ ) ,
32
37
'sidebar-top' : ( ) =>
33
38
h ( 'div' , { class : 'sponsors sponsors-top' } , [
34
39
h ( 'span' , 'Platinum Sponsors' ) ,
Original file line number Diff line number Diff line change @@ -211,14 +211,17 @@ code {
211
211
width : auto;
212
212
max-width : 150px ;
213
213
}
214
- .vue-school-homepage-link {
215
- text-align : center; margin-top : -40px ;
214
+
215
+ .vue-school-homepage-link {
216
+ text-align : center;
217
+ margin-top : -40px ;
216
218
}
217
- .vue-school-homepage-link a {
219
+ .vue-school-homepage-link a {
218
220
position : relative;
219
221
padding-left : 23px ;
220
222
}
221
- .vue-school-homepage-link a ::before {
223
+
224
+ .vue-school-homepage-link a ::before {
222
225
content : '' ;
223
226
position : absolute;
224
227
display : block;
@@ -229,7 +232,8 @@ code {
229
232
border-radius : 50% ;
230
233
border : 1px solid var (--c-brand );
231
234
}
232
- .vue-school-homepage-link a ::after {
235
+
236
+ .vue-school-homepage-link a ::after {
233
237
content : '' ;
234
238
position : absolute;
235
239
display : block;
@@ -241,8 +245,10 @@ code {
241
245
border-bottom : 4px solid transparent;
242
246
border-left : 7px solid var (--c-brand );
243
247
}
244
- @media screen and (max-width : 720px ){
245
- .vue-school-homepage-link {
246
- text-align : center; margin-top : -20px ;
248
+
249
+ @media screen and (max-width : 720px ) {
250
+ .vue-school-homepage-link {
251
+ text-align : center;
252
+ margin-top : -20px ;
247
253
}
248
254
}
You can’t perform that action at this time.
0 commit comments