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: "",
},
},
fpsLimit: 120,
fpsLimit: 60,
interactivity: {
events: {
onClick: {

View File

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