mirror of https://github.com/VERT-sh/VERT.git
fix: bg gradients
This commit is contained in:
parent
5b5901c4c7
commit
3c4f90e5f0
|
@ -32,7 +32,7 @@
|
||||||
easing: quintOut,
|
easing: quintOut,
|
||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
{:else if page.url.pathname === "/convert" && $showGradient}
|
{:else if page.url.pathname === "/convert/" && $showGradient}
|
||||||
{#key $gradientColor}
|
{#key $gradientColor}
|
||||||
<div
|
<div
|
||||||
id="gradient-bg"
|
id="gradient-bg"
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
{/key}
|
{/key}
|
||||||
{:else if page.url.pathname === "/convert" && files.files.length === 1 && files.files[0].blobUrl}
|
{:else if page.url.pathname === "/convert/" && files.files.length === 1 && files.files[0].blobUrl}
|
||||||
<div
|
<div
|
||||||
class="fixed w-screen h-screen opacity-75 overflow-hidden top-0 left-0 -z-50 pointer-events-none grid grid-cols-1 grid-rows-1 scale-105"
|
class="fixed w-screen h-screen opacity-75 overflow-hidden top-0 left-0 -z-50 pointer-events-none grid grid-cols-1 grid-rows-1 scale-105"
|
||||||
>
|
>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{:else if page.url.pathname === "/settings"}
|
{:else if page.url.pathname === "/settings/"}
|
||||||
<div
|
<div
|
||||||
id="gradient-bg"
|
id="gradient-bg"
|
||||||
class="fixed top-0 left-0 w-screen h-screen -z-40 pointer-events-none"
|
class="fixed top-0 left-0 w-screen h-screen -z-40 pointer-events-none"
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
easing: quintOut,
|
easing: quintOut,
|
||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
{:else if page.url.pathname === "/about"}
|
{:else if page.url.pathname === "/about/"}
|
||||||
<div
|
<div
|
||||||
id="gradient-bg"
|
id="gradient-bg"
|
||||||
class="fixed top-0 left-0 w-screen h-screen -z-40 pointer-events-none"
|
class="fixed top-0 left-0 w-screen h-screen -z-40 pointer-events-none"
|
||||||
|
|
Loading…
Reference in New Issue