feat: Add favicons

This commit is contained in:
overflowerror 2023-12-03 17:04:00 +01:00
parent 2fb1cfcacf
commit 781b400c1e
7 changed files with 20 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

@ -0,0 +1,15 @@
{
"short_name": "drnk.me",
"name": "drnk.me: URL Shortener",
"icons": [
{
"src": "/static/icons/favicon192.png",
"type": "image/png",
"sizes": "192x192"
}
],
"id": "/?source=pwa",
"start_url": "/?source=pwa",
"background_color": "lightgrey",
"display": "standalone"
}

View file

@ -4,6 +4,11 @@
<title> <title>
<?php echo $data["title"] ?? "drnk.me"; ?> <?php echo $data["title"] ?? "drnk.me"; ?>
</title> </title>
<link rel="icon" type="image/png" sizes="32x32" href="/static/icons/favicon32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/icons/favicon16.png">
<link rel="shortcut icon" href="/static/icons/favicon48.ico">
<link rel="apple-touch-icon" sizes="180x180" href="/static/icons/favicon180.png">
<link rel="manifest" href="/static/icons/site.webmanifest">
<link rel="stylesheet" href="/static/css/main.css"> <link rel="stylesheet" href="/static/css/main.css">
<link rel="stylesheet" href="/static/css/fontawesome.min.css"> <link rel="stylesheet" href="/static/css/fontawesome.min.css">
<script src="/static/libs/htmx.js"></script> <script src="/static/libs/htmx.js"></script>