Enable seamless navigation between pages in Astro with view transitions.| Docs
When rendering a page, Astro provides a runtime API specific to the current render. This includes useful information such as the current page URL as well as APIs to perform actions like redirecting to another page.| Docs