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
|
||||
const { Title, Description, Selected } = Astro.props
|
||||
|
||||
|
||||
// Components
|
||||
import Head from '@components/global/Head.astro'
|
||||
import Header from '@components/global/Header.astro'
|
||||
|
@ -14,9 +13,11 @@ import '@styles/Header.scss'
|
|||
|
||||
// Other Stuff
|
||||
import i18next, { t } from "i18next"
|
||||
import { fade, ViewTransitions } from 'astro:transitions'
|
||||
---
|
||||
|
||||
<html lang={i18next.language}>
|
||||
<ViewTransitions/>
|
||||
<Head Title={Title} Description={Description}/>
|
||||
<Header Selected={Selected}/>
|
||||
<body>
|
||||
|
|
Reference in a new issue