Skip to content

Commit c12516f

Browse files
committed
🎉 feat: animation
1 parent 1ccdbd0 commit c12516f

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/.vitepress/theme/glare-card.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pointerleave="handlePointerLeave"
88
>
99
<div
10-
class="duration-[var(--duration)] ease-[var(--easing)] delay-[var(--delay)] grid h-full origin-center overflow-hidden rounded-xl transition-transform will-change-transform [transform:rotateY(var(--r-x))_rotateX(var(--r-y))] hover:filter-none hover:[--duration:200ms] hover:[--easing:linear] hover:[--opacity:0.3] shadow-2xl shadow-black/50"
10+
class="duration-[var(--duration)] ease-[var(--easing)] delay-[var(--delay)] grid h-full origin-center overflow-hidden rounded-xl transition-transform will-change-transform [transform:rotateY(var(--r-x))_rotateX(var(--r-y))] hover:filter-none hover:[--duration:200ms] hover:[--easing:linear] hover:[--opacity:0.4] shadow-2xl shadow-black/50"
1111
>
1212
<div
1313
class="grid size-full mix-blend-soft-light [clip-path:inset(0_0_0_0_round_var(--radius))] [grid-area:1/1]"

docs/.vitepress/theme/layout.vue

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,12 @@ router.onAfterRouteChange = () => {
102102
href="/assets/shigure-ui-smol.gif"
103103
fetchpriority="low"
104104
/>
105-
<link rel="preload"
106-
rel="preload"
107-
as="image"
108-
href="/assets/elysia-chan-card.webp"
109-
fetchpriority="low"
110-
111-
>
105+
<link
106+
rel="preload"
107+
as="image"
108+
href="/assets/elysia-chan-card.webp"
109+
fetchpriority="low"
110+
/>
112111
<meta name="theme-color" :content="isDark ? '#0f172a' : '#ffffff'" />
113112
<AnimatePresence>
114113
<motion.div

0 commit comments

Comments
 (0)