mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-17 13:30:00 -04:00
use normal css for bg image
This commit is contained in:
parent
c0272a798d
commit
d7bb56b815
1 changed files with 6 additions and 1 deletions
|
@ -45,7 +45,12 @@ export default function App() {
|
||||||
<Routes />
|
<Routes />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className={`z-10 h-full w-full bg-primary ${bgImage && `bg-[url(${bgImage})] bg-cover`}`}
|
className="z-10 h-full w-full bg-primary"
|
||||||
|
style={{
|
||||||
|
backgroundImage: bgImage ? `url(${bgImage})` : "none",
|
||||||
|
backgroundSize: "contain",
|
||||||
|
backgroundRepeat: "space"
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{init && particlesUrl !== "none" && (
|
{init && particlesUrl !== "none" && (
|
||||||
<Particles
|
<Particles
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue