mirror of
https://github.com/gogrlx/docs.grlx.dev.git
synced 2026-04-14 08:56:48 -07:00
added full View Transitions for reduced image flicker
This commit is contained in:
7
src/components/Transitions.astro
Normal file
7
src/components/Transitions.astro
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
import type { Props } from '@astro/starlight/props';
|
||||
import Default from '@astrojs/starlight/components/Head.astro'
|
||||
import { ViewTransitions } from 'astro:transitions';
|
||||
---
|
||||
<ViewTransitions />
|
||||
<Default {...Astro.props}><slot /><</Default>
|
||||
Reference in New Issue
Block a user