feat : fps limit paticle 120 to 60
This commit is contained in:
@@ -40,7 +40,7 @@ export default function Particle() {
|
|||||||
value: "",
|
value: "",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fpsLimit: 120,
|
fpsLimit: 60,
|
||||||
interactivity: {
|
interactivity: {
|
||||||
events: {
|
events: {
|
||||||
onClick: {
|
onClick: {
|
||||||
|
|||||||
@@ -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>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user