diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index bbdf933..6ae2f70 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -1,6 +1,7 @@ --- import Head, { type Props as HeadProps } from './Head.astro' import 'assets/pages/404/styles/style.scss' +import { ViewTransitions } from 'astro:transitions'; export interface Props extends HeadProps { class?: string @@ -12,6 +13,7 @@ export interface Props extends HeadProps { + diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro index 3676cc2..0d996b5 100644 --- a/src/layouts/MainLayout.astro +++ b/src/layouts/MainLayout.astro @@ -2,6 +2,7 @@ import Footer from 'components/layouts/Footer.astro' import Base, { type Props as BaseProps } from './Base.astro' import Header from 'components/layouts/Header.astro' +import { fade } from 'astro:transitions' export interface Props extends BaseProps { /** @@ -14,6 +15,7 @@ export interface Props extends BaseProps {
+