From b7071e4c92d38780c30cf561a1e6b5a75c1e422b Mon Sep 17 00:00:00 2001 From: dusk Date: Tue, 3 Dec 2024 14:23:43 +0300 Subject: [PATCH] feat: hide one blinkie if screen is small, fix picture stretching --- src/routes/+page.svelte | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 113ccc4..488dfa3 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -11,25 +11,28 @@
-
- {#each data.banners as bannerNo} - banner +
+ {#each data.banners as bannerNo, index} + {@const hideIfMobile = index === data.banners.length - 1} + banner {/each}
- - character from q.u.q. (good vn go read it NOW) - character from q.u.q. - +
+ + character from q.u.q. (good vn go read it NOW) + character from q.u.q. + +
  • trying to do stuff
  • -
  • is a thing
  • +
  • is a thing that exists
  • software engineer, indie game dev