Browse Source

Add favicon

This adds the favicon (and associated variants and metatadata)
to the root of the site.

At this point, modern browsers do support serving most (if not all)
of this out of alternative paths.  The advantage of serving them
from the site root is:

* Subpages can get the favicon (and possibly some windows/apple
  desktop icons) without any added HTML.  This means our doc builds
  will automatically have favicons.

The disadvantages are:

* It's messy.
* The preview builds don't show the changes.
* If we ever change the icons, we may need to force refreshes in
  clients by adding more HTML tags anyway, including to the doc
  builds.

The single advantage seems worth it to me at the moment, however.
I could easily be swayed the other way.

Change-Id: I1e6ca4e5e424540047265c194c6dba000aad195c
changes/85/567685/3
James E. Blair 1 year ago
parent
commit
dceec76b19

BIN
www/android-chrome-192x192.png View File


BIN
www/android-chrome-512x512.png View File


BIN
www/apple-touch-icon.png View File


+ 9
- 0
www/browserconfig.xml View File

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<browserconfig>
3
+    <msapplication>
4
+        <tile>
5
+            <square150x150logo src="/mstile-150x150.png"/>
6
+            <TileColor>#00aba9</TileColor>
7
+        </tile>
8
+    </msapplication>
9
+</browserconfig>

+ 7
- 0
www/community.html View File

@@ -8,6 +8,13 @@
8 8
   <head>
9 9
     <title>Zuul: Community</title>
10 10
     <meta charset="utf-8" />
11
+    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
12
+    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
13
+    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
14
+    <link rel="manifest" href="/site.webmanifest">
15
+    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#071d49">
16
+    <meta name="msapplication-TileColor" content="#00aba9">
17
+    <meta name="theme-color" content="#ffffff">
11 18
     <meta name="viewport" content="width=device-width, initial-scale=1" />
12 19
     <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
13 20
     <link rel="stylesheet" href="assets/css/main.css" />

+ 7
- 0
www/docs/index.html View File

@@ -8,6 +8,13 @@
8 8
   <head>
9 9
     <title>Zuul: Documentation</title>
10 10
     <meta charset="utf-8" />
11
+    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
12
+    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
13
+    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
14
+    <link rel="manifest" href="/site.webmanifest">
15
+    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#071d49">
16
+    <meta name="msapplication-TileColor" content="#00aba9">
17
+    <meta name="theme-color" content="#ffffff">
11 18
     <meta name="viewport" content="width=device-width, initial-scale=1" />
12 19
     <!--[if lte IE 8]><script src="../assets/js/ie/html5shiv.js"></script><![endif]-->
13 20
     <link rel="stylesheet" href="../assets/css/main.css" />

BIN
www/favicon-16x16.png View File


BIN
www/favicon-32x32.png View File


BIN
www/favicon.ico View File


+ 7
- 0
www/index.html View File

@@ -8,6 +8,13 @@
8 8
   <head>
9 9
     <title>Zuul: Stop Merging Broken Code</title>
10 10
     <meta charset="utf-8" />
11
+    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
12
+    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
13
+    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
14
+    <link rel="manifest" href="/site.webmanifest">
15
+    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#071d49">
16
+    <meta name="msapplication-TileColor" content="#00aba9">
17
+    <meta name="theme-color" content="#ffffff">
11 18
     <meta name="viewport" content="width=device-width, initial-scale=1" />
12 19
     <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
13 20
     <link rel="stylesheet" href="assets/css/main.css" />

BIN
www/mstile-144x144.png View File


BIN
www/mstile-150x150.png View File


BIN
www/mstile-310x150.png View File


BIN
www/mstile-310x310.png View File


BIN
www/mstile-70x70.png View File


+ 74
- 0
www/safari-pinned-tab.svg View File

@@ -0,0 +1,74 @@
1
+<?xml version="1.0" standalone="no"?>
2
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="576.000000pt" height="576.000000pt" viewBox="0 0 576.000000 576.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+<metadata>
8
+Created by potrace 1.11, written by Peter Selinger 2001-2013
9
+</metadata>
10
+<g transform="translate(0.000000,576.000000) scale(0.100000,-0.100000)"
11
+fill="#000000" stroke="none">
12
+<path d="M2782 5203 c-49 -87 -99 -174 -111 -193 -11 -19 -44 -77 -73 -128
13
+-29 -51 -64 -113 -78 -136 -14 -24 -71 -124 -128 -222 -57 -99 -107 -186 -112
14
+-194 -11 -17 -67 -115 -84 -145 -24 -42 -138 -241 -146 -255 -14 -21 -68 -117
15
+-98 -170 -14 -25 -30 -52 -36 -60 -10 -14 -73 -16 -518 -15 -280 0 -508 -1
16
+-508 -2 0 -2 152 -201 204 -268 13 -16 49 -63 79 -103 l55 -73 0 -362 0 -362
17
+-85 -150 c-48 -82 -94 -163 -104 -180 -11 -16 -22 -37 -26 -45 -4 -8 -26 -48
18
+-50 -88 -24 -40 -43 -77 -43 -82 0 -6 -4 -10 -10 -10 -5 0 -10 -4 -10 -10 0
19
+-5 -32 -64 -71 -132 -40 -67 -80 -136 -89 -153 -9 -16 -68 -118 -130 -225 -62
20
+-107 -126 -220 -143 -250 -16 -30 -34 -60 -39 -67 -5 -7 -17 -27 -27 -45 -10
21
+-18 -53 -94 -96 -168 -117 -202 -117 -202 -141 -245 -12 -22 -53 -94 -92 -160
22
+l-70 -120 1439 -3 c791 -1 2086 -1 2878 0 l1438 3 -139 240 c-77 132 -142 248
23
+-145 258 -3 9 -9 17 -14 17 -5 0 -9 4 -9 9 0 5 -57 108 -126 228 -70 120 -138
24
+238 -152 263 -14 25 -42 74 -64 109 -21 34 -38 64 -38 66 0 2 -27 49 -60 104
25
+-33 56 -60 103 -60 105 0 2 -18 34 -40 70 -22 36 -40 70 -40 76 0 5 -4 10 -10
26
+10 -5 0 -10 4 -10 10 0 5 -14 33 -31 62 -44 73 -67 114 -102 178 -16 30 -36
27
+62 -43 71 -8 8 -14 19 -14 23 0 4 -28 53 -62 109 l-63 102 -2 369 -1 370 26
28
+35 c33 44 23 31 135 176 50 66 111 146 135 178 l42 57 -72 0 c-40 1 -82 1 -93
29
+1 -24 0 -126 0 -140 1 -34 0 -233 -1 -250 -2 -11 -1 -24 -1 -30 -1 -67 2 -266
30
+3 -290 1 -11 -1 -27 -1 -35 -1 -8 1 -35 1 -60 1 -50 0 -55 6 -131 145 -18 33
31
+-66 116 -106 184 -40 67 -73 124 -73 126 0 2 -47 84 -103 182 -57 98 -115 198
32
+-129 223 -14 25 -48 85 -77 133 -28 49 -51 93 -51 98 0 5 -4 9 -10 9 -5 0 -10
33
+4 -10 9 0 5 -41 80 -91 167 -50 88 -100 175 -111 194 -83 147 -122 210 -128
34
+210 -4 0 -48 -71 -98 -157z m118 -444 c0 -5 25 -54 56 -107 31 -53 68 -117 82
35
+-141 44 -80 82 -146 91 -161 5 -8 47 -80 93 -160 46 -80 88 -152 93 -162 6 -9
36
+17 -29 26 -45 9 -15 42 -73 74 -128 90 -157 95 -165 95 -171 0 -2 -24 -4 -52
37
+-4 -29 0 -80 0 -113 0 -33 -1 -64 0 -70 1 -5 1 -13 1 -17 0 -8 -1 -78 -1 -223
38
+-1 -60 -1 -114 -1 -120 -1 -5 -1 -46 -1 -90 0 -44 0 -87 0 -95 0 -8 0 -73 0
39
+-145 0 -250 2 -270 2 -302 1 -18 0 -33 2 -33 6 0 3 16 32 35 64 19 32 35 61
40
+35 64 0 4 5 12 10 19 6 7 56 91 111 187 104 181 106 185 150 260 15 25 38 65
41
+51 90 14 25 60 106 103 180 43 74 83 144 90 155 25 45 41 65 52 65 7 0 13 -5
42
+13 -11z m1373 -1383 c-3 -6 -13 -19 -21 -28 -8 -10 -12 -26 -9 -38 3 -11 2
43
+-22 -3 -25 -4 -2 -4 -22 0 -44 4 -22 3 -45 -1 -52 -6 -11 -266 -13 -1346 -14
44
+-736 -1 -1345 1 -1354 3 -17 4 -22 39 -20 124 1 20 -3 39 -9 43 -5 3 -14 14
45
+-20 25 -9 17 33 18 1390 18 1032 0 1398 -4 1393 -12z m-2541 -534 c1 -26 1
46
+-74 -2 -107 l-5 -60 -103 0 -102 0 1 90 c0 50 0 95 -1 100 -1 6 -2 12 -1 15 0
47
+3 48 7 105 7 l104 2 4 -47z m2001 35 c2 -7 4 -55 3 -107 l-1 -95 -855 0 -855
48
+0 -3 106 -3 106 855 1 c652 1 855 -2 859 -11z m506 -6 c0 -9 0 -47 0 -86 0
49
+-38 0 -78 0 -87 0 -10 -3 -18 -7 -19 -29 -5 -185 -4 -192 1 -9 6 -13 79 -11
50
+176 l1 32 104 0 c90 0 105 -2 105 -17z m-2509 -574 c2 -490 1 -1619 -2 -1622
51
+-4 -4 -70 -7 -145 -6 l-62 1 1 94 c0 52 -2 98 -5 103 -3 5 -2 26 3 46 4 20 4
52
+39 -1 42 -4 3 -6 11 -4 18 9 23 11 82 4 115 -4 17 -3 34 1 37 4 3 4 21 0 40
53
+-4 19 -4 51 0 70 4 19 4 37 -1 40 -4 3 -6 11 -4 18 9 23 11 82 4 115 -4 17 -3
54
+34 1 37 4 3 4 21 0 40 -4 19 -4 51 0 70 4 19 4 37 -1 40 -4 3 -6 11 -4 18 9
55
+23 11 82 4 115 -4 17 -3 34 1 37 4 3 4 21 0 40 -4 19 -5 50 -1 68 4 17 6 43 4
56
+57 -2 19 -3 153 -2 275 0 6 0 35 0 65 0 77 0 93 4 107 3 7 37 12 104 12 l101
57
+1 0 -93z m1001 25 c0 -37 1 -424 3 -859 l2 -793 -63 0 c-35 -1 -173 -1 -308
58
+-1 -135 0 -267 0 -295 1 l-50 0 0 860 0 859 355 0 355 0 1 -67z m1004 -793 l0
59
+-859 -82 0 c-108 -1 -565 -1 -600 0 l-28 0 0 860 0 860 355 -1 355 -1 0 -859z
60
+m505 823 c0 -21 1 -44 1 -52 0 -8 0 -51 0 -95 0 -44 0 -87 0 -95 0 -8 0 -49 0
61
+-90 0 -41 0 -83 0 -92 0 -10 0 -43 0 -73 0 -30 0 -61 0 -67 0 -7 0 -48 -1 -90
62
+-1 -42 1 -81 4 -87 4 -5 2 -12 -4 -16 -6 -4 -8 -11 -4 -16 3 -5 5 -65 4 -132
63
+0 -67 -1 -139 -1 -159 1 -36 1 -100 0 -170 0 -18 0 -73 0 -123 0 -49 -1 -94
64
+-1 -100 0 -5 1 -26 2 -45 0 -19 1 -68 0 -107 l-1 -73 -34 -1 c-122 -2 -167 -1
65
+-171 4 -4 4 -8 1511 -4 1693 0 21 5 22 104 22 l105 0 1 -36z m-3011 -1062 l0
66
+-620 -92 0 c-368 -2 -620 0 -624 4 -3 3 3 18 13 33 10 15 26 42 34 58 9 17 79
67
+138 155 270 76 132 146 253 154 270 9 16 18 32 21 35 5 5 107 180 160 275 90
68
+161 169 295 174 295 2 0 4 -279 5 -620z m3321 610 c0 -6 16 -36 35 -66 19 -30
69
+48 -78 63 -107 16 -28 40 -71 55 -94 15 -24 27 -45 27 -47 0 -3 25 -46 55 -96
70
+30 -50 55 -93 55 -95 0 -2 22 -42 49 -87 46 -79 174 -301 229 -397 14 -25 38
71
+-68 55 -95 43 -74 77 -134 77 -139 0 -2 -161 -4 -359 -5 l-358 0 -1 619 c0
72
+359 4 619 9 619 5 0 9 -5 9 -10z"/>
73
+</g>
74
+</svg>

+ 19
- 0
www/site.webmanifest View File

@@ -0,0 +1,19 @@
1
+{
2
+    "name": "Zuul",
3
+    "short_name": "Zuul",
4
+    "icons": [
5
+        {
6
+            "src": "/android-chrome-192x192.png",
7
+            "sizes": "192x192",
8
+            "type": "image/png"
9
+        },
10
+        {
11
+            "src": "/android-chrome-512x512.png",
12
+            "sizes": "512x512",
13
+            "type": "image/png"
14
+        }
15
+    ],
16
+    "theme_color": "#ffffff",
17
+    "background_color": "#ffffff",
18
+    "display": "standalone"
19
+}

Loading…
Cancel
Save