File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -654,6 +654,14 @@ export default defineConfigWithTheme<ThemeConfig>({
654
654
'utf-8'
655
655
)
656
656
] ,
657
+ [
658
+ 'script' ,
659
+ { } ,
660
+ fs . readFileSync (
661
+ path . resolve ( __dirname , './inlined-scripts/uwu.js' ) ,
662
+ 'utf-8'
663
+ )
664
+ ] ,
657
665
[
658
666
'script' ,
659
667
{
Original file line number Diff line number Diff line change
1
+ if ( location . search . includes ( '?uwu' ) ) {
2
+ document . documentElement . classList . add ( 'uwu' )
3
+ }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ onMounted(load)
11
11
12
12
<template >
13
13
<section id =" hero" >
14
+ <img id =" uwu" alt =" Vue.js Kawaii Logo by @icarusgkx" />
14
15
<h1 class =" tagline" >
15
16
The
16
17
<span class =" accent" >Progressive</span >
@@ -358,4 +359,23 @@ html:not(.dark) .accent,
358
359
font-size : 36px ;
359
360
}
360
361
}
362
+
363
+ #uwu {
364
+ display : none ;
365
+ }
366
+
367
+ /* .uwu #uwu {
368
+ display: block;
369
+ width: 100%;
370
+ max-width: 720px;
371
+ margin: -120px auto -20px;
372
+ aspect-ratio: 192 / 108;
373
+ content: url(/logo-uwu.png);
374
+ }
375
+
376
+ @media (max-width: 576px) {
377
+ .uwu #uwu {
378
+ margin: -60px auto -10px;
379
+ }
380
+ } */
361
381
</style >
You can’t perform that action at this time.
0 commit comments