Web: neues Umschlag-Logo als Favicon + im Schriftzug
- favicon.svg (transparentes SVG des Umschlag-Logos) + <link rel=icon> - Logo neben dem "schattenpost"-Schriftzug im Header (Inline-SVG, Accent-Farbe) - Service-Worker-Cache v3 -> v4, favicon.svg in die Offline-Shell Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
6
web/favicon.svg
Normal file
6
web/favicon.svg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none"
|
||||||
|
stroke="#3d8bfd" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<rect x="7" y="16" width="34" height="24" rx="4.5"/>
|
||||||
|
<path d="M8 18.5 24 31 40 18.5"/>
|
||||||
|
<path d="M17 16a7 6.5 0 0 1 14 0"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 295 B |
@@ -3,6 +3,7 @@
|
|||||||
<title>schattenpost</title>
|
<title>schattenpost</title>
|
||||||
<link rel="manifest" href="manifest.webmanifest">
|
<link rel="manifest" href="manifest.webmanifest">
|
||||||
<meta name="theme-color" content="#0e1116">
|
<meta name="theme-color" content="#0e1116">
|
||||||
|
<link rel="icon" type="image/svg+xml" href="favicon.svg">
|
||||||
<link rel="apple-touch-icon" href="icon-192.png">
|
<link rel="apple-touch-icon" href="icon-192.png">
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
@@ -19,6 +20,8 @@
|
|||||||
max-width: 640px; margin: 0 auto;
|
max-width: 640px; margin: 0 auto;
|
||||||
}
|
}
|
||||||
header { padding: 24px 0 8px; }
|
header { padding: 24px 0 8px; }
|
||||||
|
.brand { display: flex; align-items: center; gap: 12px; }
|
||||||
|
.brand svg { width: 34px; height: 34px; color: var(--accent); flex: 0 0 auto; }
|
||||||
h1 { font-size: 22px; margin: 0; letter-spacing: .3px; }
|
h1 { font-size: 22px; margin: 0; letter-spacing: .3px; }
|
||||||
h1 span { color: var(--accent); }
|
h1 span { color: var(--accent); }
|
||||||
.sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
|
.sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
|
||||||
@@ -68,7 +71,15 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
<div class="brand">
|
||||||
|
<svg viewBox="0 0 48 48" fill="none" stroke="currentColor" stroke-width="2.4"
|
||||||
|
stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="schattenpost Logo">
|
||||||
|
<rect x="7" y="16" width="34" height="24" rx="4.5"/>
|
||||||
|
<path d="M8 18.5 24 31 40 18.5"/>
|
||||||
|
<path d="M17 16a7 6.5 0 0 1 14 0"/>
|
||||||
|
</svg>
|
||||||
<h1>schatten<span>post</span></h1>
|
<h1>schatten<span>post</span></h1>
|
||||||
|
</div>
|
||||||
<div class="sub">One-Time-Pad + Steganografie. Alles läuft in deinem Browser — nichts wird gesendet.</div>
|
<div class="sub">One-Time-Pad + Steganografie. Alles läuft in deinem Browser — nichts wird gesendet.</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
/* schattenpost Service Worker — reines Offline-Caching der App-Shell.
|
/* schattenpost Service Worker — reines Offline-Caching der App-Shell.
|
||||||
Sendet NICHTS an einen Server. Cache-first, kein Netzwerk-Fallback nötig,
|
Sendet NICHTS an einen Server. Cache-first, kein Netzwerk-Fallback nötig,
|
||||||
sobald die Shell einmal geladen ist. */
|
sobald die Shell einmal geladen ist. */
|
||||||
const CACHE = 'schattenpost-v3';
|
const CACHE = 'schattenpost-v4';
|
||||||
const SHELL = [
|
const SHELL = [
|
||||||
'./',
|
'./',
|
||||||
'./index.html',
|
'./index.html',
|
||||||
'./manifest.webmanifest',
|
'./manifest.webmanifest',
|
||||||
|
'./favicon.svg',
|
||||||
'./icon-192.png',
|
'./icon-192.png',
|
||||||
'./icon-512.png',
|
'./icon-512.png',
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user