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>({
654654 'utf-8'
655655 )
656656 ] ,
657+ [
658+ 'script' ,
659+ { } ,
660+ fs . readFileSync (
661+ path . resolve ( __dirname , './inlined-scripts/uwu.js' ) ,
662+ 'utf-8'
663+ )
664+ ] ,
657665 [
658666 'script' ,
659667 {
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)
1111
1212<template >
1313 <section id =" hero" >
14+ <img id =" uwu" alt =" Vue.js Kawaii Logo by @icarusgkx" />
1415 <h1 class =" tagline" >
1516 The
1617 <span class =" accent" >Progressive</span >
@@ -358,4 +359,23 @@ html:not(.dark) .accent,
358359 font-size : 36px ;
359360 }
360361}
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+ } */
361381 </style >
You can’t perform that action at this time.
0 commit comments