We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceacfd6 commit 1a68993Copy full SHA for 1a68993
src/layouts/BaseLayout.astro
@@ -16,15 +16,17 @@ import { SITE } from "@/consts";
16
<BaseHead title={`${title} - ${SITE.TITLE}`} description={description} />
17
</head>
18
<body>
19
- <GridBackground client:load />
20
- <Starry
21
- client:load
22
- minSize={0.5}
23
- maxSize={1.5}
24
- opacity={0.5}
25
- particleDensity={100}
26
- className="fixed h-full w-full"
27
- />
+ <div transition:persist="background-wrapper">
+ <GridBackground client:load />
+ <Starry
+ client:load
+ minSize={0.5}
+ maxSize={1.5}
+ opacity={0.5}
+ particleDensity={100}
+ className="fixed h-full w-full"
28
+ />
29
+ </div>
30
<Header />
31
<Navbar />
32
<main class="z-10" transition:animate="slide">
0 commit comments