Add ViewTransition
This commit is contained in:
parent
d237061288
commit
9481eed603
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,6 @@
|
||||||
// Properties
|
// Properties
|
||||||
const { Title, Description, Selected } = Astro.props
|
const { Title, Description, Selected } = Astro.props
|
||||||
|
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import Head from '@components/global/Head.astro'
|
import Head from '@components/global/Head.astro'
|
||||||
import Header from '@components/global/Header.astro'
|
import Header from '@components/global/Header.astro'
|
||||||
|
@ -14,9 +13,11 @@ import '@styles/Header.scss'
|
||||||
|
|
||||||
// Other Stuff
|
// Other Stuff
|
||||||
import i18next, { t } from "i18next"
|
import i18next, { t } from "i18next"
|
||||||
|
import { fade, ViewTransitions } from 'astro:transitions'
|
||||||
---
|
---
|
||||||
|
|
||||||
<html lang={i18next.language}>
|
<html lang={i18next.language}>
|
||||||
|
<ViewTransitions/>
|
||||||
<Head Title={Title} Description={Description}/>
|
<Head Title={Title} Description={Description}/>
|
||||||
<Header Selected={Selected}/>
|
<Header Selected={Selected}/>
|
||||||
<body>
|
<body>
|
||||||
|
|
Reference in a new issue