diff --git a/html/browserconfig.xml b/html/browserconfig.xml new file mode 100644 index 0000000..0d7c055 --- /dev/null +++ b/html/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #2b5797 + + + diff --git a/html/site.webmanifest b/html/site.webmanifest new file mode 100644 index 0000000..6a679f6 --- /dev/null +++ b/html/site.webmanifest @@ -0,0 +1,20 @@ +{ + "name": "CloudTube", + "short_name": "CloudTube", + "icons": [ + { + "src": "/static/images/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/static/images/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#36393f", + "background_color": "#36393f", + "start_url": "/", + "display": "standalone" +} diff --git a/html/static/images/android-chrome-192x192.png b/html/static/images/android-chrome-192x192.png new file mode 100644 index 0000000..efef973 Binary files /dev/null and b/html/static/images/android-chrome-192x192.png differ diff --git a/html/static/images/android-chrome-512x512.png b/html/static/images/android-chrome-512x512.png new file mode 100644 index 0000000..1f6c4d3 Binary files /dev/null and b/html/static/images/android-chrome-512x512.png differ diff --git a/html/static/images/apple-touch-icon.png b/html/static/images/apple-touch-icon.png new file mode 100644 index 0000000..9e84171 Binary files /dev/null and b/html/static/images/apple-touch-icon.png differ diff --git a/html/static/images/favicon-16x16.png b/html/static/images/favicon-16x16.png new file mode 100644 index 0000000..2ac1667 Binary files /dev/null and b/html/static/images/favicon-16x16.png differ diff --git a/html/static/images/favicon-32x32.png b/html/static/images/favicon-32x32.png new file mode 100644 index 0000000..595af67 Binary files /dev/null and b/html/static/images/favicon-32x32.png differ diff --git a/html/static/images/favicon.ico b/html/static/images/favicon.ico new file mode 100644 index 0000000..6020445 Binary files /dev/null and b/html/static/images/favicon.ico differ diff --git a/html/static/images/mstile-150x150.png b/html/static/images/mstile-150x150.png new file mode 100644 index 0000000..b327f87 Binary files /dev/null and b/html/static/images/mstile-150x150.png differ diff --git a/html/static/images/safari-pinned-tab.svg b/html/static/images/safari-pinned-tab.svg new file mode 100644 index 0000000..0a2668d --- /dev/null +++ b/html/static/images/safari-pinned-tab.svg @@ -0,0 +1,33 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + diff --git a/pug/includes/layout.pug b/pug/includes/layout.pug index 2cc0d91..6faa7a8 100644 --- a/pug/includes/layout.pug +++ b/pug/includes/layout.pug @@ -6,6 +6,18 @@ html - const theme = settings && ["dark", "light", "edgeless-light"][settings.theme] || "dark" link(rel="stylesheet" type="text/css" href=getStaticURL("sass", `/${theme}.sass`)) script(type="module" src=getStaticURL("html", "/static/js/focus.js")) + link(rel="apple-touch-icon" sizes="180x180" href="/static/images/apple-touch-icon.png") + link(rel="icon" type="image/png" sizes="32x32" href="/static/images/favicon-32x32.png") + link(rel="icon" type="image/png" sizes="16x16" href="/static/images/favicon-16x16.png") + link(rel="manifest" href="/site.webmanifest") + link(rel="mask-icon" href="/static/images/safari-pinned-tab.svg" color="#5bbad5") + link(rel="shortcut icon" href="/static/images/favicon.ico") + meta(name="apple-mobile-web-app-title" content="CloudTube") + meta(name="application-name" content="CloudTube") + meta(name="msapplication-TileColor" content="#2b5797") + meta(name="msapplication-config" content="/browserconfig.xml") + meta(name="theme-color" content="#36393f") + block head body.show-focus