Adds full PWA compliance: web app manifest, service worker with cache-first static / network-first scoreboard strategy, and a generated hockey puck icon (512, 192, 180, 32px) on the app's dark navy background. Includes all required meta tags for iOS standalone mode and a /favicon.ico route. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
1.4 KiB
HTML
36 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>NHL Scoreboard</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="theme-color" content="#0f172a">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<meta name="apple-mobile-web-app-title" content="NHL Scores">
|
|
<link rel="manifest" href="/manifest.json">
|
|
<link rel="icon" type="image/png" href="/static/icon-32x32.png">
|
|
<link rel="apple-touch-icon" href="/static/icon-180x180.png">
|
|
<link rel="stylesheet" type="text/css" href="/static/styles.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<span class="header-title">NHL Scoreboard</span>
|
|
</header>
|
|
<main>
|
|
<section id="live-section" class="section hidden">
|
|
<h2 class="section-heading">Live</h2>
|
|
<div id="live-games-section" class="games-grid"></div>
|
|
</section>
|
|
<section id="pre-section" class="section hidden">
|
|
<h2 class="section-heading">Scheduled</h2>
|
|
<div id="pre-games-section" class="games-grid"></div>
|
|
</section>
|
|
<section id="final-section" class="section hidden">
|
|
<h2 class="section-heading">Final</h2>
|
|
<div id="final-games-section" class="games-grid"></div>
|
|
</section>
|
|
</main>
|
|
<script src="/static/script.js"></script>
|
|
</body>
|
|
</html>
|