diff --git a/web/server/server.go b/web/server/server.go index 1518c1b..7c6d009 100644 --- a/web/server/server.go +++ b/web/server/server.go @@ -18,6 +18,9 @@ func Serve(addr string) { r.LoadHTMLGlob("templates/*.html") + r.Static("/favicon.ico", "./static/service/favicon.ico") + r.Static("/skazanull.webmanifest", "./static/service/skazanull.webmanifest") + r.Static("/browserconfig.xml", "./static/service/browserconfig.xml") r.Static("/static", "./static") r.GET("/", api.MiddlewareAuth, root) r.GET("/quotes", api.MiddlewareAuth, middlewareAuth, quotes) diff --git a/web/static/images/android-icon-144x144.png b/web/static/images/android-icon-144x144.png new file mode 100644 index 0000000..7f509fa Binary files /dev/null and b/web/static/images/android-icon-144x144.png differ diff --git a/web/static/images/android-icon-192x192.png b/web/static/images/android-icon-192x192.png new file mode 100644 index 0000000..3580e8b Binary files /dev/null and b/web/static/images/android-icon-192x192.png differ diff --git a/web/static/images/android-icon-36x36.png b/web/static/images/android-icon-36x36.png new file mode 100644 index 0000000..483983e Binary files /dev/null and b/web/static/images/android-icon-36x36.png differ diff --git a/web/static/images/android-icon-48x48.png b/web/static/images/android-icon-48x48.png new file mode 100644 index 0000000..0fbea15 Binary files /dev/null and b/web/static/images/android-icon-48x48.png differ diff --git a/web/static/images/android-icon-72x72.png b/web/static/images/android-icon-72x72.png new file mode 100644 index 0000000..6ad2294 Binary files /dev/null and b/web/static/images/android-icon-72x72.png differ diff --git a/web/static/images/android-icon-96x96.png b/web/static/images/android-icon-96x96.png new file mode 100644 index 0000000..fc47157 Binary files /dev/null and b/web/static/images/android-icon-96x96.png differ diff --git a/web/static/images/apple-icon-114x114.png b/web/static/images/apple-icon-114x114.png new file mode 100644 index 0000000..096ff7a Binary files /dev/null and b/web/static/images/apple-icon-114x114.png differ diff --git a/web/static/images/apple-icon-120x120.png b/web/static/images/apple-icon-120x120.png new file mode 100644 index 0000000..22d2c75 Binary files /dev/null and b/web/static/images/apple-icon-120x120.png differ diff --git a/web/static/images/apple-icon-144x144.png b/web/static/images/apple-icon-144x144.png new file mode 100644 index 0000000..7f509fa Binary files /dev/null and b/web/static/images/apple-icon-144x144.png differ diff --git a/web/static/images/apple-icon-152x152.png b/web/static/images/apple-icon-152x152.png new file mode 100644 index 0000000..1aa9c39 Binary files /dev/null and b/web/static/images/apple-icon-152x152.png differ diff --git a/web/static/images/apple-icon-180x180.png b/web/static/images/apple-icon-180x180.png new file mode 100644 index 0000000..caaa266 Binary files /dev/null and b/web/static/images/apple-icon-180x180.png differ diff --git a/web/static/images/apple-icon-57x57.png b/web/static/images/apple-icon-57x57.png new file mode 100644 index 0000000..d55c15b Binary files /dev/null and b/web/static/images/apple-icon-57x57.png differ diff --git a/web/static/images/apple-icon-60x60.png b/web/static/images/apple-icon-60x60.png new file mode 100644 index 0000000..45bec22 Binary files /dev/null and b/web/static/images/apple-icon-60x60.png differ diff --git a/web/static/images/apple-icon-72x72.png b/web/static/images/apple-icon-72x72.png new file mode 100644 index 0000000..6ad2294 Binary files /dev/null and b/web/static/images/apple-icon-72x72.png differ diff --git a/web/static/images/apple-icon-76x76.png b/web/static/images/apple-icon-76x76.png new file mode 100644 index 0000000..6af5f2a Binary files /dev/null and b/web/static/images/apple-icon-76x76.png differ diff --git a/web/static/images/apple-icon-precomposed.png b/web/static/images/apple-icon-precomposed.png new file mode 100644 index 0000000..ca66687 Binary files /dev/null and b/web/static/images/apple-icon-precomposed.png differ diff --git a/web/static/images/apple-icon.png b/web/static/images/apple-icon.png new file mode 100644 index 0000000..ca66687 Binary files /dev/null and b/web/static/images/apple-icon.png differ diff --git a/web/static/images/favicon-16x16.png b/web/static/images/favicon-16x16.png new file mode 100644 index 0000000..e2f41f2 Binary files /dev/null and b/web/static/images/favicon-16x16.png differ diff --git a/web/static/images/favicon-32x32.png b/web/static/images/favicon-32x32.png new file mode 100644 index 0000000..4b3c420 Binary files /dev/null and b/web/static/images/favicon-32x32.png differ diff --git a/web/static/images/favicon-96x96.png b/web/static/images/favicon-96x96.png new file mode 100644 index 0000000..5ec81c6 Binary files /dev/null and b/web/static/images/favicon-96x96.png differ diff --git a/web/static/images/favicon.png b/web/static/images/favicon.png new file mode 100644 index 0000000..0d90950 Binary files /dev/null and b/web/static/images/favicon.png differ diff --git a/web/static/images/ms-icon-144x144.png b/web/static/images/ms-icon-144x144.png new file mode 100644 index 0000000..7f509fa Binary files /dev/null and b/web/static/images/ms-icon-144x144.png differ diff --git a/web/static/images/ms-icon-150x150.png b/web/static/images/ms-icon-150x150.png new file mode 100644 index 0000000..8a30bd2 Binary files /dev/null and b/web/static/images/ms-icon-150x150.png differ diff --git a/web/static/images/ms-icon-310x310.png b/web/static/images/ms-icon-310x310.png new file mode 100644 index 0000000..e0f3502 Binary files /dev/null and b/web/static/images/ms-icon-310x310.png differ diff --git a/web/static/images/ms-icon-70x70.png b/web/static/images/ms-icon-70x70.png new file mode 100644 index 0000000..a7e5e1e Binary files /dev/null and b/web/static/images/ms-icon-70x70.png differ diff --git a/web/static/service/browserconfig.xml b/web/static/service/browserconfig.xml new file mode 100644 index 0000000..185dd20 --- /dev/null +++ b/web/static/service/browserconfig.xml @@ -0,0 +1,11 @@ + + + + + + + + #8B6D5C + + + diff --git a/web/static/service/favicon.ico b/web/static/service/favicon.ico new file mode 100644 index 0000000..2f406ad Binary files /dev/null and b/web/static/service/favicon.ico differ diff --git a/web/static/service/skazanull.webmanifest b/web/static/service/skazanull.webmanifest new file mode 100644 index 0000000..87f10e4 --- /dev/null +++ b/web/static/service/skazanull.webmanifest @@ -0,0 +1,46 @@ +{ + "name": "SkazaNull", + "lang": "ru-RU", + "start_url": "/", + "scope": "/", + "display": "standalone", + "theme_color": "#8B6D5C", + "icons": [ + { + "src": "/static/images/android-icon-36x36.png", + "sizes": "36x36", + "type": "image/png", + "density": "0.75" + }, + { + "src": "/static/images/android-icon-48x48.png", + "sizes": "48x48", + "type": "image/png", + "density": "1.0" + }, + { + "src": "/static/images/android-icon-72x72.png", + "sizes": "72x72", + "type": "image/png", + "density": "1.5" + }, + { + "src": "/static/images/android-icon-96x96.png", + "sizes": "96x96", + "type": "image/png", + "density": "2.0" + }, + { + "src": "/static/images/android-icon-144x144.png", + "sizes": "144x144", + "type": "image/png", + "density": "3.0" + }, + { + "src": "/static/images/android-icon-192x192.png", + "sizes": "192x192", + "type": "image/png", + "density": "4.0" + } + ] +} diff --git a/web/templates/head.html b/web/templates/head.html index 5c86c5d..db2be9d 100644 --- a/web/templates/head.html +++ b/web/templates/head.html @@ -1,6 +1,23 @@ {{ define "head" }} + + + + + + + + + + + + + + + + +