feat : fps limit paticle 120 to 60

This commit is contained in:
Ali Josheghani
2024-05-27 10:28:08 +03:30
parent 17922b0206
commit 4fabe8856e
2 changed files with 13 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ export default function Particle() {
value: "", value: "",
}, },
}, },
fpsLimit: 120, fpsLimit: 60,
interactivity: { interactivity: {
events: { events: {
onClick: { onClick: {

View File

@@ -5,18 +5,20 @@ import Particle from "../components/particle";
const Layout = () => { const Layout = () => {
return ( return (
<div <>
className={`relative bg-noisy w-full flex flex-col justify-between min-h-screen`}
>
<Particle /> <Particle />
<div className="relative w-full h-full"> <div
<Header /> className={`relative bg-noisy w-full flex flex-col justify-between min-h-screen`}
<main className="w-full h-full px-5 py-0"> >
<Outlet /> <div className="relative w-full h-full">
</main> <Header />
<main className="w-full h-full px-5 py-0">
<Outlet />
</main>
</div>
<Footer />
</div> </div>
<Footer /> </>
</div>
); );
}; };