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