This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps-site.git
The following commit(s) were added to refs/heads/main by this push:
new 721eb55 Add support for favicon bookmarks (#19)
721eb55 is described below
commit 721eb55ca39fdaa100600ab17ab026302631d698
Author: Leonard <[email protected]>
AuthorDate: Fri Apr 28 16:52:28 2023 +0200
Add support for favicon bookmarks (#19)
---
public/android-chrome-192x192.png | Bin 0 -> 1992 bytes
public/android-chrome-512x512.png | Bin 0 -> 6968 bytes
public/apple-touch-icon.png | Bin 0 -> 1323 bytes
public/browserconfig.xml | 9 ++++
public/favicon-16x16.png | Bin 0 -> 534 bytes
public/favicon-32x32.png | Bin 0 -> 671 bytes
public/favicon.ico | Bin 15086 -> 15086 bytes
public/mstile-150x150.png | Bin 0 -> 1661 bytes
public/safari-pinned-tab.svg | 86 ++++++++++++++++++++++++++++++++++++++
public/site.webmanifest | 19 +++++++++
theme.config.tsx | 8 ++++
11 files changed, 122 insertions(+)
diff --git a/public/android-chrome-192x192.png
b/public/android-chrome-192x192.png
new file mode 100644
index 0000000..f534a33
Binary files /dev/null and b/public/android-chrome-192x192.png differ
diff --git a/public/android-chrome-512x512.png
b/public/android-chrome-512x512.png
new file mode 100644
index 0000000..51a28bd
Binary files /dev/null and b/public/android-chrome-512x512.png differ
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
new file mode 100644
index 0000000..063f14d
Binary files /dev/null and b/public/apple-touch-icon.png differ
diff --git a/public/browserconfig.xml b/public/browserconfig.xml
new file mode 100644
index 0000000..d416bc5
--- /dev/null
+++ b/public/browserconfig.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<browserconfig>
+ <msapplication>
+ <tile>
+ <square150x150logo src="/mstile-150x150.png"/>
+ <TileColor>#ffffff</TileColor>
+ </tile>
+ </msapplication>
+</browserconfig>
diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png
new file mode 100644
index 0000000..32134c6
Binary files /dev/null and b/public/favicon-16x16.png differ
diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png
new file mode 100644
index 0000000..f73ab3c
Binary files /dev/null and b/public/favicon-32x32.png differ
diff --git a/public/favicon.ico b/public/favicon.ico
index c8d067b..5411828 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png
new file mode 100644
index 0000000..ebb669c
Binary files /dev/null and b/public/mstile-150x150.png differ
diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg
new file mode 100644
index 0000000..1d51053
--- /dev/null
+++ b/public/safari-pinned-tab.svg
@@ -0,0 +1,86 @@
+<?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="576.000000pt" height="576.000000pt" viewBox="0 0 576.000000 576.000000"
+ preserveAspectRatio="xMidYMid meet">
+<metadata>
+Created by potrace 1.14, written by Peter Selinger 2001-2017
+</metadata>
+<g transform="translate(0.000000,576.000000) scale(0.100000,-0.100000)"
+fill="#000000" stroke="none">
+<path d="M5517 5084 c-2 -2 -20 -6 -40 -8 -20 -3 -58 -15 -85 -26 -26 -12 -51
+-23 -57 -24 -5 -2 -21 -8 -35 -14 -14 -5 -67 -27 -118 -47 -52 -20 -101 -40
+-110 -45 -10 -5 -145 -59 -302 -121 -157 -61 -303 -120 -325 -129 -50 -21
+-158 -64 -165 -66 -14 -2 -68 -26 -90 -38 -22 -13 -25 -22 -27 -83 -1 -37 -4
+-76 -7 -85 -2 -10 0 -18 6 -18 5 0 7 -4 3 -10 -8 -12 -8 -417 0 -430 3 -6 2
+-10 -3 -10 -5 0 -6 -19 -2 -42 3 -24 3 -57 -1 -75 -3 -17 -3 -36 1 -43 4 -6 4
+-31 0 -55 -4 -25 -4 -45 -1 -45 7 0 4 -217 -3 -236 -3 -8 -2 -14 2 -14 4 0 5
+-30 2 -67 -3 -38 -3 -88 0 -113 3 -25 2 -66 -1 -92 -3 -27 -1 -48 3 -48 5 0 7
+-4 3 -10 -8 -12 -8 -417 0 -430 3 -6 2 -10 -3 -10 -5 0 -6 -19 -2 -42 3 -24 3
+-57 -1 -75 -3 -17 -3 -36 1 -43 4 -6 4 -31 0 -55 -4 -25 -4 -45 -1 -45 7 0 4
+-217 -3 -236 -3 -8 -2 -14 2 -14 4 0 5 -30 2 -67 -3 -38 -3 -88 0 -113 3 -25
+2 -66 -1 -92 -3 -27 -1 -48 3 -48 5 0 7 -4 3 -10 -8 -12 -8 -417 0 -430 3 -6
+2 -10 -3 -10 -5 0 -6 -19 -2 -43 3 -23 3 -56 -1 -74 -3 -17 -3 -36 1 -43 4 -6
+4 -31 0 -55 -4 -25 -4 -45 -1 -45 3 0 6 -54 6 -120 0 -66 -2 -120 -5 -120 -4
+0 -4 -77 0 -166 0 -7 35 3 83 22 45 18 89 34 97 36 8 2 17 5 20 8 3 3 61 28
+130 54 69 27 143 57 165 66 22 10 87 36 145 58 58 22 119 48 135 56 17 9 36
+16 43 16 7 0 38 11 68 25 30 14 57 25 60 25 3 0 20 6 37 14 18 8 137 56 266
+108 255 102 293 126 330 208 20 45 21 57 20 1770 -1 1636 -1 1727 -18 1765
+-23 50 -76 107 -118 124 -37 15 -100 30 -106 25z"/>
+<path d="M1918 5030 c-1 -27 1 -50 5 -50 5 0 5 -4 2 -10 -3 -5 -6 -45 -5 -87
+1 -43 1 -89 0 -103 -1 -14 -1 -32 -1 -40 1 -8 1 -33 0 -55 0 -22 -1 -47 0 -55
+3 -110 1 -232 -4 -240 -3 -5 -2 -10 2 -10 5 0 6 -30 3 -67 -3 -38 -3 -88 0
+-113 3 -25 2 -66 -1 -92 -3 -27 -1 -48 3 -48 5 0 7 -4 4 -9 -7 -10 -10 -300
+-4 -306 2 -2 1 -31 -2 -65 -3 -33 -3 -65 1 -71 3 -6 3 -28 -1 -50 -4 -22 -4
+-41 -1 -43 4 -3 4 -33 1 -68 -3 -35 -3 -84 0 -110 3 -27 3 -48 0 -48 -4 0 -4
+-19 0 -42 3 -24 3 -57 -1 -75 -3 -17 -3 -36 1 -43 4 -6 4 -31 0 -55 -4 -25 -4
+-45 -1 -45 3 0 6 -29 6 -65 0 -36 -3 -65 -6 -65 -3 0 -3 -20 1 -45 4 -25 3
+-48 -2 -51 -4 -3 -6 -9 -3 -14 3 -5 5 -29 5 -52 0 -24 0 -52 0 -63 0 -11 0
+-60 0 -108 0 -48 -2 -92 -5 -98 -4 -5 -2 -9 2 -9 5 0 6 -30 3 -67 -3 -38 -3
+-88 0 -113 3 -25 2 -66 -1 -92 -3 -27 -1 -48 3 -48 5 0 6 -4 3 -10 -3 -5 -5
+-76 -5 -157 1 -82 1 -152 1 -158 0 -5 -2 -38 -3 -73 -2 -34 -1 -62 2 -62 3 0
+4 -26 2 -57 -4 -82 -3 -144 3 -153 3 -5 1 -11 -5 -15 -6 -4 -8 -11 -5 -16 4
+-5 6 -30 5 -56 0 -27 -1 -57 0 -68 0 -11 0 -34 0 -52 -1 -31 13 -41 85 -60 12
+-3 130 -36 205 -58 30 -9 62 -18 70 -20 8 -2 71 -20 140 -40 69 -20 132 -38
+140 -40 8 -2 15 -4 15 -5 0 -1 8 -3 18 -5 10 -2 51 -13 90 -25 40 -12 83 -24
+96 -27 13 -2 32 -8 43 -14 10 -5 18 -7 18 -3 0 3 7 1 15 -6 8 -7 15 -10 15 -7
+0 3 28 -4 63 -14 34 -11 69 -22 77 -23 8 -2 56 -16 105 -31 50 -14 97 -28 105
+-30 8 -2 49 -13 90 -25 41 -12 80 -23 85 -24 6 -1 30 -8 55 -15 25 -7 52 -15
+60 -17 8 -2 85 -24 170 -48 85 -25 156 -43 158 -42 2 2 3 12 3 22 -2 97 0 137
+5 145 3 5 1 9 -4 9 -4 0 -6 21 -3 48 3 26 4 67 1 92 -3 25 -3 56 1 70 3 14 3
+34 -1 45 -4 11 -4 33 0 50 3 16 3 44 0 60 -3 17 -3 49 1 72 3 24 3 43 0 43 -3
+0 -6 23 -6 50 0 28 3 50 6 50 3 0 3 19 -1 42 -3 24 -3 57 1 75 3 17 3 37 -1
+43 -4 6 -4 28 0 48 3 20 3 48 0 62 -4 14 -3 39 1 56 3 18 3 37 -1 43 -4 7 -4
+32 0 56 4 25 4 45 0 45 -3 0 -4 21 -1 48 4 26 4 68 1 94 -3 26 -3 54 0 64 4 9
+3 37 0 61 -4 24 -4 46 0 48 4 3 4 22 1 42 -4 21 -4 55 0 76 3 21 3 40 -1 42
+-4 2 -4 25 0 50 4 25 4 45 1 45 -3 0 -5 26 -3 57 1 32 2 78 1 103 0 25 0 51 0
+58 2 19 2 43 1 100 0 29 2 57 5 62 3 6 2 10 -3 10 -4 0 -6 21 -3 48 4 26 4 68
+1 94 -3 26 -3 54 0 63 3 10 4 36 0 59 -3 22 -3 66 0 97 3 31 3 67 0 80 -3 13
+-3 43 0 67 4 23 4 42 0 42 -3 0 -4 21 -1 48 3 26 4 67 1 92 -3 25 -3 56 1 70
+3 14 3 34 -1 45 -4 11 -4 33 0 50 3 16 3 44 0 60 -3 17 -3 49 1 73 3 23 3 42
+0 42 -3 0 -6 23 -6 50 0 28 4 50 8 50 5 0 5 4 2 10 -3 5 -5 33 -5 62 1 54 1
+78 -1 101 0 10 0 51 1 120 0 9 0 23 1 30 1 13 0 78 -2 117 -2 68 -4 90 -9 88
+-3 -1 -15 4 -28 11 -13 7 -31 14 -40 16 -29 7 -150 42 -297 85 -77 22 -147 42
+-155 44 -34 9 -246 69 -260 74 -8 3 -26 7 -40 9 -13 2 -30 9 -37 15 -7 6 -13
+8 -13 4 0 -3 -12 -1 -26 4 -14 6 -58 19 -97 30 -87 23 -172 47 -337 95 -69 20
+-132 38 -140 40 -8 2 -46 13 -85 25 -38 11 -79 22 -90 25 -19 4 -211 59 -247
+71 -13 4 -17 -4 -20 -46z"/>
+<path d="M1550 5050 c-20 -11 -62 -29 -195 -79 -60 -24 -117 -46 -126 -51 -8
+-4 -69 -29 -135 -55 -101 -40 -546 -218 -639 -255 -16 -7 -39 -16 -50 -20
+-315 -125 -345 -142 -384 -230 -20 -45 -21 -58 -21 -1767 0 -1173 4 -1731 11
+-1750 38 -103 138 -170 246 -165 27 2 174 54 258 92 11 5 79 32 150 60 72 28
+139 55 150 60 11 5 67 27 125 50 58 22 125 49 150 60 25 10 81 33 125 50 44
+17 89 35 100 40 11 5 79 32 152 61 l132 53 0 95 c1 53 2 124 3 159 2 34 1 62
+-2 62 -3 0 -4 28 -2 62 1 35 3 68 3 73 0 6 0 28 0 50 -1 22 -1 49 -1 60 1 11
+1 67 0 124 0 58 2 106 4 108 2 2 1 16 -3 31 -4 15 -4 41 -1 58 4 18 4 37 0 43
+-4 7 -4 32 0 56 4 25 3 45 -2 45 -5 0 -6 4 -3 10 3 5 6 45 5 87 -1 43 -1 87 0
+98 1 11 1 27 1 35 -3 123 -1 181 4 190 3 5 1 10 -5 10 -6 0 -9 4 -5 10 8 12 8
+417 0 430 -3 6 -2 10 3 10 5 0 6 19 2 43 -3 23 -3 56 1 74 3 17 3 36 -1 43 -4
+6 -4 31 0 55 4 25 4 45 1 45 -7 0 -4 217 3 236 3 8 1 14 -5 14 -6 0 -8 4 -4 9
+7 12 9 331 2 337 -3 3 -1 20 3 38 4 19 4 39 0 45 -4 7 -4 32 0 56 4 25 3 45
+-2 45 -5 0 -6 4 -3 10 3 5 6 45 5 87 -1 43 -1 87 0 98 2 25 2 18 1 145 -1 58
+0 133 1 168 2 34 1 62 -2 62 -3 0 -4 28 -2 62 4 77 2 131 -3 136 -2 3 0 13 5
+23 6 10 6 20 1 23 -4 3 -5 24 -1 46 4 21 5 42 2 45 -8 7 -35 5 -52 -5z"/>
+</g>
+</svg>
diff --git a/public/site.webmanifest b/public/site.webmanifest
new file mode 100644
index 0000000..b20abb7
--- /dev/null
+++ b/public/site.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "",
+ "short_name": "",
+ "icons": [
+ {
+ "src": "/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "background_color": "#ffffff",
+ "display": "standalone"
+}
diff --git a/theme.config.tsx b/theme.config.tsx
index 7afe51b..5815b76 100644
--- a/theme.config.tsx
+++ b/theme.config.tsx
@@ -29,6 +29,14 @@ const config: DocsThemeConfig = {
},
head: (
<>
+ {/* Favicons generated with https://realfavicongenerator.net */}
+ <link rel="apple-touch-icon" sizes="180x180"
href="/apple-touch-icon.png"/>
+ <link rel="icon" type="image/png" sizes="32x32"
href="/favicon-32x32.png"/>
+ <link rel="icon" type="image/png" sizes="16x16"
href="/favicon-16x16.png"/>
+ <link rel="manifest" href="/site.webmanifest"/>
+ <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000"/>
+ <meta name="msapplication-TileColor" content="#ffffff"/>
+ <meta name="theme-color" content="#ffffff"/>
<meta name="ahrefs-site-verification"
content="ef8280f8481d5ba95a69da0c39d5a06efcc8b8d55820581438c243e12b613846" />
</>
),