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} -
+