forked from mrwyndham/fastpocket
bugfix - switch image
This commit is contained in:
parent
14f3eabd9b
commit
55fbc340d6
|
@ -18,7 +18,7 @@ const Background = ({
|
||||||
className={"h-full relative w-full bg-center bg-no-repeat bg-cover bg-fixed flex flex-col " + className}
|
className={"h-full relative w-full bg-center bg-no-repeat bg-cover bg-fixed flex flex-col " + className}
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
src={theme == "dark" ? "/images/gradient.webp": "/images/gradient.webp"}
|
src={theme == "dark" ? "/images/dark-gradient.webp": "/images/gradient.webp"}
|
||||||
alt="background"
|
alt="background"
|
||||||
layout="fill"
|
layout="fill"
|
||||||
objectFit="cover"
|
objectFit="cover"
|
||||||
|
|
Loading…
Reference in New Issue