feat: als pwa installierbar
- Manifest 'LAN-Clipboard' / 'Clipboard', standalone, eigene Icons (auch maskable) - iOS: apple-touch-icon, Web-App-Metadaten, Statusleiste black-translucent - Service Worker (vite-plugin-pwa) cacht nur die App-Hülle, nie /api - Hinweis 'Neue Version verfügbar' mit Neu laden - Offline-Seite, wenn beim Start kein Server erreichbar ist - Icons per scripts/render-icons.sh aus SVG gerendert Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
998e86c84f
commit
0ad6d248cf
20 files changed
+5180
-6
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<script setup lang="ts">
|
||||
function retry(): void {
|
||||
window.location.assign('/')
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main class="offline">
|
||||
<h1>Keine Verbindung</h1>
|
||||
<p class="muted">
|
||||
Der Server ist gerade nicht erreichbar. Clips werden aus Datenschutzgründen nicht auf dem
|
||||
Gerät gespeichert und sind daher nur online verfügbar.
|
||||
</p>
|
||||
<button type="button" class="primary" @click="retry">Erneut versuchen</button>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.offline {
|
||||
max-width: 28rem;
|
||||
margin: 0 auto;
|
||||
padding: 20vh 1rem 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user