Use new ViewTransition
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
parent
25f50c90f6
commit
6c14f1cbad
@ -9,6 +9,9 @@ export default defineConfig({
|
||||
build: {
|
||||
inlineStylesheets: "auto",
|
||||
},
|
||||
experimental: {
|
||||
viewTransitions: true,
|
||||
},
|
||||
integrations: [
|
||||
tailwind({
|
||||
config: {
|
||||
|
5819
astro/package-lock.json
generated
5819
astro/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
||||
---
|
||||
import "@/global.css";
|
||||
import ViewTransitions from "astro/components/ViewTransitions.astro";
|
||||
export interface Props {
|
||||
title: string;
|
||||
}
|
||||
@ -13,8 +14,11 @@ const { title } = Astro.props;
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<title>{title}</title>
|
||||
<ViewTransitions/>
|
||||
</head>
|
||||
<body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200 px-6">
|
||||
<div transition:animate="fade">
|
||||
<slot />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* This file was automatically generated by Payload CMS.
|
||||
* This file was automatically generated by Payload.
|
||||
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
|
||||
* and re-run `payload generate:types` to regenerate this file.
|
||||
*/
|
||||
@ -30,9 +31,11 @@ export interface User {
|
||||
name?: string;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
email?: string;
|
||||
email: string;
|
||||
resetPasswordToken?: string;
|
||||
resetPasswordExpiration?: string;
|
||||
salt?: string;
|
||||
hash?: string;
|
||||
loginAttempts?: number;
|
||||
lockUntil?: string;
|
||||
password?: string;
|
||||
|
Loading…
Reference in New Issue
Block a user