feat: Added favicon and PWA

This commit is contained in:
2025-07-10 08:57:57 +00:00
parent 22481e5af2
commit 1df4920406
5 changed files with 55 additions and 1 deletions
+14
View File
@@ -4,8 +4,22 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EchoLog</title>
<link rel="icon" type="image/png" href="{{ url_for('static', filename='echolog.png') }}">
<link href="{{ url_for('static', filename='output.css') }}" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
<!-- PWA Manifest and Meta -->
<link rel="manifest" href="{{ url_for('static', filename='manifest.json') }}">
<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">
<link rel="apple-touch-icon" href="{{ url_for('static', filename='echolog.png') }}">
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register("{{ url_for('static', filename='service-worker.js') }}");
});
}
</script>
</head>
<body class="bg-gradient-to-br from-gray-900 via-gray-800 to-gray-900 min-h-screen text-white">
<div class="container mx-auto max-w-2xl p-6">