Skip to content

Commit c6c15ad

Browse files
committed
style: Layout 컴포넌트의 전환 효과를 slide에서 fade로 변경
1 parent 338fb26 commit c6c15ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layouts/Layout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import "../assets/app.css";
33
import SideNav from "../components/SideNav.astro";
4-
import {ClientRouter, slide} from "astro:transitions";
4+
import {ClientRouter, fade} from "astro:transitions";
55
---
66
<!doctype html>
77
<html lang="en">
@@ -15,7 +15,7 @@ import {ClientRouter, slide} from "astro:transitions";
1515
</head>
1616
<body>
1717
<SideNav/>
18-
<main transition:animate={slide({duration: '0.4s'})}>
18+
<main transition:animate={fade({duration: '0.4s'})}>
1919
<slot/>
2020
</main>
2121
</body>

0 commit comments

Comments
 (0)