mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-16 13:00:01 -04:00
Fix more annoying bullshit
This commit is contained in:
parent
b12c75fe21
commit
eda3b464d8
1 changed files with 11 additions and 3 deletions
|
@ -37,10 +37,18 @@ export default function App() {
|
||||||
{window.location.origin === "https://nebulaproxy.io" && <Meta />}
|
{window.location.origin === "https://nebulaproxy.io" && <Meta />}
|
||||||
{/* {window.location.origin === "http://localhost:8080" && <Meta />} */}
|
{/* {window.location.origin === "http://localhost:8080" && <Meta />} */}
|
||||||
<Suspense fallback={<LoadSuspense />}>
|
<Suspense fallback={<LoadSuspense />}>
|
||||||
<div className="z-30 fixed h-full w-full">
|
<div className="fixed z-30 h-full w-full">
|
||||||
<Routes />
|
<Routes />
|
||||||
</div>{" "}
|
</div>
|
||||||
<div className={`z-20 h-full fixed w-full ${!background && "bg-primary"}`}>
|
<div
|
||||||
|
className="fixed z-10 h-full w-full bg-primary"
|
||||||
|
style={{
|
||||||
|
backgroundImage: background ? `url(${background})` : "none",
|
||||||
|
backgroundSize: "cover",
|
||||||
|
backgroundRepeat: "no-repeat",
|
||||||
|
backgroundPosition: "center"
|
||||||
|
}}
|
||||||
|
>
|
||||||
{init && particlesUrl !== "none" && (
|
{init && particlesUrl !== "none" && (
|
||||||
<Particles
|
<Particles
|
||||||
id="tsparticles"
|
id="tsparticles"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue