PWA: Manifest, Service Worker, Icons und Offline-Seite

This commit is contained in:
OpenCode 2026-11-13 00:46:02 +01:00
parent ec88c8ebac
commit 67a1614081
19 changed files with 472 additions and 5 deletions

View file

@ -9,14 +9,24 @@
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#196abc">
<meta name="color-scheme" content="light">
<meta name="sw-url" content="<?= e(url('/sw.js')) ?>">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="Drink it cold">
<meta name="application-name" content="Drink it cold">
<title>Anmelden · Drink it cold</title>
<link rel="manifest" href="<?= e(url('/manifest.webmanifest')) ?>">
<link rel="icon" type="image/svg+xml" href="<?= e(asset('favicon.svg')) ?>">
<link rel="apple-touch-icon" href="<?= e(asset('logo-mark.svg')) ?>">
<link rel="icon" type="image/png" sizes="32x32" href="<?= e(asset('icons/icon-32.png')) ?>">
<link rel="apple-touch-icon" sizes="180x180" href="<?= e(asset('icons/apple-touch-icon-180.png')) ?>">
<link rel="preload" as="image" href="<?= e(asset('img/hero-1280.webp')) ?>" imagesrcset="<?= e(asset('img/hero-800.webp')) ?> 800w, <?= e(asset('img/hero-1280.webp')) ?> 1280w" imagesizes="50vw">
<link rel="preload" as="font" type="font/woff2" href="<?= e(asset('fonts/manrope-latin.woff2')) ?>" crossorigin>
<link rel="stylesheet" href="<?= e(asset('app.css')) ?>">
<script src="<?= e(asset('app.js')) ?>" defer></script>
</head>
<body class="auth-page">
<div class="auth-shell">