Added view trasitions
Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
parent
7ba84dd020
commit
5a115374b4
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -18,3 +18,4 @@ pnpm-debug.log*
|
||||||
|
|
||||||
# macOS-specific files
|
# macOS-specific files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
dist
|
||||||
|
|
|
@ -14,11 +14,13 @@ export interface Props {
|
||||||
}
|
}
|
||||||
|
|
||||||
const { title, navLinks } = Astro.props;
|
const { title, navLinks } = Astro.props;
|
||||||
|
import { ViewTransitions } from 'astro:transitions';
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<ViewTransitions />
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
|
|
Loading…
Reference in a new issue