Favicons
authorAdam Dullage <redacted>
Fri, 26 Apr 2024 12:28:25 +0000 (13:28 +0100)
committerAdam Dullage <redacted>
Fri, 26 Apr 2024 12:28:25 +0000 (13:28 +0100)
client/assets/apple-touch-icon.png [new file with mode: 0644]
client/assets/favicon-16x16.png [new file with mode: 0644]
client/assets/favicon-32x32.png [new file with mode: 0644]
client/assets/favicon.ico [new file with mode: 0644]
client/index.html
client/public/android-chrome-192x192.png [new file with mode: 0644]
client/public/android-chrome-512x512.png [new file with mode: 0644]
client/public/safari-pinned-tab.svg [new file with mode: 0644]
client/site.webmanifest [new file with mode: 0644]
client/views/LogIn.vue

diff --git a/client/assets/apple-touch-icon.png b/client/assets/apple-touch-icon.png
new file mode 100644 (file)
index 0000000..ca88d02
Binary files /dev/null and b/client/assets/apple-touch-icon.png differ
diff --git a/client/assets/favicon-16x16.png b/client/assets/favicon-16x16.png
new file mode 100644 (file)
index 0000000..654c02c
Binary files /dev/null and b/client/assets/favicon-16x16.png differ
diff --git a/client/assets/favicon-32x32.png b/client/assets/favicon-32x32.png
new file mode 100644 (file)
index 0000000..f4e5ae6
Binary files /dev/null and b/client/assets/favicon-32x32.png differ
diff --git a/client/assets/favicon.ico b/client/assets/favicon.ico
new file mode 100644 (file)
index 0000000..675d561
Binary files /dev/null and b/client/assets/favicon.ico differ
index 41945a10f343c8c187226cbe1e5f2c5ed841fd05..59f9d04195660f69e23bbebb8dde0573731d0206 100644 (file)
@@ -2,11 +2,36 @@
 <html lang="en">\r
   <head>\r
     <meta charset="UTF-8" />\r
-    <link rel="icon" href="/favicon.ico" />\r
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />\r
-    <title>flatnotes</title>\r
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />\r
+    <meta\r
+      name="viewport"\r
+      content="width=device-width, initial-scale=1, shrink-to-fit=no"\r
+    />\r
 \r
+    <link\r
+      rel="apple-touch-icon"\r
+      sizes="180x180"\r
+      href="assets/apple-touch-icon.png"\r
+    />\r
+    <link\r
+      rel="icon"\r
+      type="image/png"\r
+      sizes="32x32"\r
+      href="assets/favicon-32x32.png"\r
+    />\r
+    <link\r
+      rel="icon"\r
+      type="image/png"\r
+      sizes="16x16"\r
+      href="assets/favicon-16x16.png"\r
+    />\r
+    <link rel="manifest" href="site.webmanifest" />\r
+    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#F8A66B" />\r
+    <link rel="shortcut icon" href="assets/favicon.ico" />\r
+    <meta name="theme-color" content="#F8A66B" />\r
     <link href="/style.css" rel="stylesheet" />\r
+\r
+    <title>flatnotes</title>\r
   </head>\r
   <body class="bg-theme-background text-theme-text">\r
     <div id="app"></div>\r
diff --git a/client/public/android-chrome-192x192.png b/client/public/android-chrome-192x192.png
new file mode 100644 (file)
index 0000000..892d6fe
Binary files /dev/null and b/client/public/android-chrome-192x192.png differ
diff --git a/client/public/android-chrome-512x512.png b/client/public/android-chrome-512x512.png
new file mode 100644 (file)
index 0000000..f5f3774
Binary files /dev/null and b/client/public/android-chrome-512x512.png differ
diff --git a/client/public/safari-pinned-tab.svg b/client/public/safari-pinned-tab.svg
new file mode 100644 (file)
index 0000000..ddfa208
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
+ width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
+ preserveAspectRatio="xMidYMid meet">
+<metadata>
+Created by potrace 1.14, written by Peter Selinger 2001-2017
+</metadata>
+<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
+fill="#000000" stroke="none">
+<path d="M630 6985 c-157 -31 -289 -103 -405 -220 -112 -112 -180 -242 -211
+-403 -21 -110 -21 -5614 0 -5724 31 -161 99 -291 211 -403 119 -120 249 -189
+412 -221 111 -21 5614 -21 5725 0 161 31 291 99 403 211 120 119 189 249 221
+412 21 111 21 5614 0 5725 -32 164 -99 292 -216 408 -116 117 -244 184 -408
+216 -105 20 -5631 19 -5732 -1z m2817 -1103 c76 -24 130 -59 198 -128 58 -59
+71 -88 61 -128 -7 -28 -52 -48 -88 -39 -13 3 -48 29 -78 58 -79 75 -112 89
+-195 90 -102 0 -166 -33 -280 -149 -267 -270 -491 -784 -609 -1401 -37 -196
+-57 -343 -70 -523 l-12 -162 36 -10 c121 -35 207 -42 455 -39 406 5 433 2 472
+-57 26 -40 23 -108 -7 -139 l-23 -25 -261 0 c-279 0 -394 -11 -521 -51 -70
+-21 -199 -81 -208 -97 -3 -4 -19 -109 -37 -232 -138 -999 -235 -1423 -334
+-1459 -69 -26 -164 95 -201 253 -18 78 -8 196 30 369 53 238 91 327 141 327
+13 0 24 6 24 13 0 43 57 575 65 614 4 16 -4 34 -28 59 -51 56 -75 55 -432 -17
+-313 -64 -365 -70 -391 -48 -19 15 -18 92 1 129 25 48 80 69 446 165 292 77
+483 157 494 208 2 12 16 121 30 242 52 434 109 674 245 1040 150 400 348 746
+542 944 176 180 362 247 535 193z m1898 -4061 c80 -18 109 -77 65 -134 -30
+-37 -85 -45 -375 -51 -143 -4 -372 -11 -510 -16 -1142 -45 -1183 -44 -1285 8
+-65 33 -83 67 -60 110 29 52 72 63 288 73 580 28 1768 34 1877 10z"/>
+</g>
+</svg>
diff --git a/client/site.webmanifest b/client/site.webmanifest
new file mode 100644 (file)
index 0000000..692075a
--- /dev/null
@@ -0,0 +1,22 @@
+{
+  "name": "flatnotes",
+  "short_name": "flatnotes",
+  "start_url": "/",
+  "icons": [
+    {
+      "src": "/android-chrome-192x192.png",
+      "sizes": "192x192",
+      "type": "image/png",
+      "purpose": "any maskable"
+    },
+    {
+      "src": "/android-chrome-512x512.png",
+      "sizes": "512x512",
+      "type": "image/png",
+      "purpose": "any maskable"
+    }
+  ],
+  "theme_color": "#F8A66B",
+  "background_color": "#ffffff",
+  "display": "standalone"
+}
index c103321f6e663cee40418217d8548e8fb0677c38..70ef3c2edb3cc4d8da559a09b09321ce2bd40713 100644 (file)
@@ -22,7 +22,7 @@
 <script setup>
 import { mdilLogin } from "@mdi/light-js";
 import { ref } from "vue";
-import { RouterLink, useRouter } from "vue-router";
+import { useRouter } from "vue-router";
 
 import CustomButton from "../components/CustomButton.vue";
 import Logo from "../components/Logo.vue";
git clone https://git.99rst.org/PROJECT