mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-03-01 14:27:38 +00:00
* 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
25 lines
750 B
Svelte
25 lines
750 B
Svelte
<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}
|