From 948e456faa54a4b5ad3920917eccab56680bdac9 Mon Sep 17 00:00:00 2001 From: tree Date: Tue, 25 Apr 2023 07:55:41 +0200 Subject: [PATCH] update --- src/app.css | 12 ++++++++++++ src/routes/+page.svelte | 39 +++++++++++++++++++++------------------ 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/src/app.css b/src/app.css index 49bfe10..b6033e3 100644 --- a/src/app.css +++ b/src/app.css @@ -161,4 +161,16 @@ .ticket-item:hover .ticket-img { filter: invert(100%); } + .ticket-item:hover .ticket-bg { + @apply bg-white; + } + .ticket-item .ticket-bg { + z-index: -2; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: #010101; + } } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 03d0072..1c88e7d 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -135,31 +135,34 @@
{#each data.config.tickets as tt}
(data.config.ticketing ? goto(data.config.ticketingUrl) : false)} > +
-
- {tt.title} +
+ + +
    + {#each tt.includes as ti} +
  • {ti}
  • + {/each} +
+ {#if tt.note} +
{tt.note}
+ {/if} + {#if tt.hint} +
+ {/if}
- -
    - {#each tt.includes as ti} -
  • {ti}
  • - {/each} -
- {#if tt.note} -
{tt.note}
- {/if} - {#if tt.hint} -
- {/if}
{/each}