feat : fps limit paticle 120 to 60
This commit is contained in:
@@ -40,7 +40,7 @@ export default function Particle() {
|
||||
value: "",
|
||||
},
|
||||
},
|
||||
fpsLimit: 120,
|
||||
fpsLimit: 60,
|
||||
interactivity: {
|
||||
events: {
|
||||
onClick: {
|
||||
|
||||
@@ -5,18 +5,20 @@ import Particle from "../components/particle";
|
||||
|
||||
const Layout = () => {
|
||||
return (
|
||||
<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">
|
||||
<Outlet />
|
||||
</main>
|
||||
<div
|
||||
className={`relative bg-noisy w-full flex flex-col justify-between min-h-screen`}
|
||||
>
|
||||
<div className="relative w-full h-full">
|
||||
<Header />
|
||||
<main className="w-full h-full px-5 py-0">
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
<Footer />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user