feat: update Starlight's head component
This commit is contained in:
parent
791d1421c9
commit
f695c74281
2 changed files with 861 additions and 803 deletions
1658
package-lock.json
generated
1658
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,9 +1,7 @@
|
||||||
---
|
---
|
||||||
|
import type { Props } from "@astrojs/starlight/props";
|
||||||
import StarlightHead from "@astrojs/starlight/components/Head.astro";
|
import StarlightHead from "@astrojs/starlight/components/Head.astro";
|
||||||
import {
|
import VtbotStarlight from "astro-vtbot/components/starlight/Base.astro";
|
||||||
default as VtbotStarlight,
|
|
||||||
type Props,
|
|
||||||
} from "astro-vtbot/components/starlight/Base.astro";
|
|
||||||
|
|
||||||
// https://docs.astro.build/en/guides/view-transitions/#fallback-control
|
// https://docs.astro.build/en/guides/view-transitions/#fallback-control
|
||||||
Astro.props.viewTransitionsFallback = "animate";
|
Astro.props.viewTransitionsFallback = "animate";
|
||||||
|
|
Loading…
Add table
Reference in a new issue