Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

Add favicon and corresponding manifest (#791)

+9
packages/site/public/browserconfig.xml
···
+
<?xml version="1.0" encoding="utf-8"?>
+
<browserconfig>
+
<msapplication>
+
<tile>
+
<square70x70logo src="./favicon/favicon-32.png"/>
+
<TileColor>#fff</TileColor>
+
</tile>
+
</msapplication>
+
</browserconfig>
packages/site/public/favicon/favicon-16.png

This is a binary file and will not be displayed.

packages/site/public/favicon/favicon-192.png

This is a binary file and will not be displayed.

packages/site/public/favicon/favicon-32.png

This is a binary file and will not be displayed.

packages/site/public/favicon/favicon-512.png

This is a binary file and will not be displayed.

+29
packages/site/public/site.webmanifest
···
+
{
+
"name": "urql Documentation",
+
"short_name": "urql",
+
"icons": [
+
{
+
"src": "./favicon/favicon-32.png",
+
"sizes": "16x16",
+
"type": "image/png"
+
},
+
{
+
"src": "./favicon/favicon-32.png",
+
"sizes": "32x32",
+
"type": "image/png"
+
},
+
{
+
"src": "./favicon/favicon-192.png",
+
"sizes": "192x192",
+
"type": "image/png"
+
},
+
{
+
"src": "./favicon/favicon-32.png",
+
"sizes": "512x512",
+
"type": "image/png"
+
}
+
],
+
"theme_color": "#ffffff",
+
"background_color": "#ffffff",
+
"display": "standalone"
+
}
+26
packages/site/src/html.js
···
<Html lang="en">
<Head>
<meta charSet="utf-8" />
+
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+
<meta
+
name="description"
+
content="A highly customisable and versatile GraphQL client."
+
/>
+
<meta property="og:title" content="urql Documentation" />
+
<meta property="og:site_name" content="urql Documentation" />
+
<meta property="og:type" content="website" />
+
<meta
+
property="og:url"
+
content="http://www.formidable.com/open-source/urql/"
+
/>
+
<meta
+
property="og:description"
+
content="A highly customisable and versatile GraphQL client."
+
/>
+
<link
+
rel="icon"
+
type="image/png"
+
sizes="32x32"
+
href="./favicon/favicon-32.png"
+
/>
+
<link rel="manifest" href="./site.webmanifest" />
+
<meta name="msapplication-TileColor" content="#ff4081" />
+
<meta name="msapplica tion-config" content="./browserconfig.xml" />
+
<meta name="theme-color" content="#ffffff" />
<link
href="https://fonts.googleapis.com/css?family=Space+Mono&display=swap"
rel="stylesheet"
+1
packages/site/static.config.js
···
buildArtifacts: 'node_modules/.cache/react-static/artifacts/',
devDist: 'node_modules/.cache/react-static/dist/',
temp: 'node_modules/.cache/react-static/temp/',
+
public: 'public', // The public directory (files copied to dist during build)
},
basePath: 'open-source/urql',