From 83ade5376e8f2f7bdb123754053cc31f49be9f32 Mon Sep 17 00:00:00 2001 From: husbando_enjoyer Date: Mon, 15 Dec 2025 13:15:26 +0100 Subject: [PATCH] Add fish easter egg --- frontend/src/App.svelte | 60 ++++++++++++++++++++++++++++++++----- frontend/src/styles/app.css | 53 ++++++++++++++++++++++++++++++-- 2 files changed, 104 insertions(+), 9 deletions(-) diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index c1e2c66..61d9e54 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -3,6 +3,7 @@ import { API_BASE, ENABLE_POLLING } from './config'; import { getBuildHistory, getCiStatus, getMenu, getPrices } from './services/api'; import { prettify } from './utils/text'; + import { fly, fade } from 'svelte/transition'; let menu = null; let prices = []; @@ -13,6 +14,16 @@ let loadingCiStatus = true; let buildHistory = []; let loadingHistory = true; + let showFishToast = false; + + function onFishClick() { + if (showFishToast) return; + + showFishToast = true; + setTimeout(() => { + showFishToast = false; + }, 2800); + } async function fetchMenu() { loadingMenu = true; @@ -129,7 +140,9 @@ {#if menu} -
+