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
This commit is contained in:
James E. Blair 2018-05-10 13:23:47 -07:00
parent dec9aa8abe
commit dceec76b19
17 changed files with 123 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
www/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

9
www/browserconfig.xml Normal file
View File

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

View File

@ -8,6 +8,13 @@
<head>
<title>Zuul: Community</title>
<meta charset="utf-8" />
<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="#071d49">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />

View File

@ -8,6 +8,13 @@
<head>
<title>Zuul: Documentation</title>
<meta charset="utf-8" />
<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="#071d49">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="../assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="../assets/css/main.css" />

BIN
www/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

BIN
www/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
www/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -8,6 +8,13 @@
<head>
<title>Zuul: Stop Merging Broken Code</title>
<meta charset="utf-8" />
<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="#071d49">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />

BIN
www/mstile-144x144.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
www/mstile-150x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
www/mstile-310x150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
www/mstile-310x310.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
www/mstile-70x70.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

74
www/safari-pinned-tab.svg Normal file
View File

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

After

Width:  |  Height:  |  Size: 4.9 KiB

19
www/site.webmanifest Normal file
View File

@ -0,0 +1,19 @@
{
"name": "Zuul",
"short_name": "Zuul",
"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"
}