add register background image

This commit is contained in:
bytedream 2023-11-03 23:12:01 +01:00
parent 475ccc8c99
commit 9dc8c59271
3 changed files with 11 additions and 1 deletions

@ -1,3 +1,13 @@
<script>
import { PUBLIC_BASE_PATH } from '$env/static/public';
</script>
<img
class="fixed top-0 left-0 h-full w-full object-cover pointer-events-none blur-[2px]"
src="{PUBLIC_BASE_PATH}/img/register-background.webp"
alt=""
/>
<div class="fixed top-0 left-0 h-full w-full bg-[radial-gradient(rgba(0,0,0,0),rgba(0,0,0,.4))]" />
<div class="flex justify-center w-full">
<slot />
</div>

@ -12,7 +12,7 @@
<!--the tooltip when not all fields are correctly filled won't completely show if the overflow is hidden-->
<div
class="absolute top-12 grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 shadow-lg"
class="grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 my-12 bg-base-100 shadow-lg"
class:overflow-hidden={registered}
>
{#if !registered}

Binary file not shown.

After

(image error) Size: 62 KiB