--- import AnimatedSvg from "@/components/AnimatedSvg.astro"; ---
Cross-document navigation with the View Transition API (Level 2) enables smooth transitions between pages, bringing the seamless look and feel of single-page applications to your multi-page app.
Some HTML elements on your page may change their internal state over time or in response to user interactions. However, when transitioning to the next page, this dynamic state is typically lost and reverts to the static values defined in the HTML.
This can affect:
lightdark.