isle.pizza/src/lib/UpdatePopup.svelte
Christian Semmler a85e2ab952
Organize public assets (#22)
* Organize public assets into subdirectories

Group 80+ flat files into images/, textures/, pdf/, and audio/ subdirectories
for easier navigation. Update all references across 14 source files.

* Add apple-touch-icon
2026-02-08 00:01:45 +01:00

25 lines
750 B
Svelte
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script>
import { showUpdatePopup } from '../stores.js';
function reload() {
window.location.reload();
}
function dismiss() {
showUpdatePopup.set(false);
}
</script>
{#if $showUpdatePopup}
<div id="update-popup" class="notification-popup">
<div class="notification-popup-content">
<button class="update-dismiss-btn" aria-label="Dismiss" onclick={dismiss}>×</button>
<div class="update-speech-bubble">
<p class="update-message">A new version just arrived!</p>
<button class="update-reload-btn" onclick={reload}>Reload Now</button>
</div>
</div>
<img src="images/bonus.webp" alt="Pepper" class="update-character" width="150" height="187">
</div>
{/if}