Commit ad4778f8fc

ad4778f8fc718cb52b8d4d997744c2daf8f3c28a

parent: 69d9be3e3c

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-06-24 08:29 UTC

commit

Layout: unified · split

docs/.vitepress/configs/constants.ts +5
@@ -548,6 +548,11 @@ export const siteConfig = {
548 href: '/asset/fav.svg', 548 href: '/asset/fav.svg',
549 sizes: '192x192' 549 sizes: '192x192'
550 } 550 }
551 ],
552 [
553 'script',
554 {},
555 `(function(){try{if(localStorage.getItem('wotaku-home-cards-v2'))document.documentElement.setAttribute('data-home-prefs','')}catch(e){}})()`
551 ] 556 ]
552 ], 557 ],
553 srcExclude: ['README.md', 'sandbox/**/*.md'], 558 srcExclude: ['README.md', 'sandbox/**/*.md'],
docs/.vitepress/theme/components/HomeFeatures.vue +1 −6
@@ -385,13 +385,8 @@ function onHandlePointerUp() {
385 padding: 0 24px; 385 padding: 0 24px;
386} 386}
387 387
388.home-features .container { 388:global(html[data-home-prefs]) .home-features:not(.is-mounted) .container {
389 opacity: 0; 389 opacity: 0;
390 transition: opacity 0.15s ease;
391}
392
393.home-features.is-mounted .container {
394 opacity: 1;
395} 390}
396 391
397@media (min-width: 640px) { 392@media (min-width: 640px) {