diff --git a/assets/static/android-chrome-192x192.png b/assets/static/android-chrome-192x192.png new file mode 100644 index 00000000..0e375b75 Binary files /dev/null and b/assets/static/android-chrome-192x192.png differ diff --git a/assets/static/android-chrome-512x512.png b/assets/static/android-chrome-512x512.png new file mode 100644 index 00000000..1320743b Binary files /dev/null and b/assets/static/android-chrome-512x512.png differ diff --git a/assets/static/apple-touch-icon.png b/assets/static/apple-touch-icon.png new file mode 100644 index 00000000..21b29970 Binary files /dev/null and b/assets/static/apple-touch-icon.png differ diff --git a/assets/static/browserconfig.xml b/assets/static/browserconfig.xml new file mode 100644 index 00000000..28bb142b --- /dev/null +++ b/assets/static/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #ee6c4d + + + diff --git a/assets/static/favicon-16x16.png b/assets/static/favicon-16x16.png new file mode 100644 index 00000000..2a840a0e Binary files /dev/null and b/assets/static/favicon-16x16.png differ diff --git a/assets/static/favicon-32x32.png b/assets/static/favicon-32x32.png new file mode 100644 index 00000000..6d232913 Binary files /dev/null and b/assets/static/favicon-32x32.png differ diff --git a/assets/static/favicon.ico b/assets/static/favicon.ico index 73de524a..7f192b65 100644 Binary files a/assets/static/favicon.ico and b/assets/static/favicon.ico differ diff --git a/assets/static/mstile-144x144.png b/assets/static/mstile-144x144.png new file mode 100644 index 00000000..105e1808 Binary files /dev/null and b/assets/static/mstile-144x144.png differ diff --git a/assets/static/mstile-150x150.png b/assets/static/mstile-150x150.png new file mode 100644 index 00000000..e4e6903e Binary files /dev/null and b/assets/static/mstile-150x150.png differ diff --git a/assets/static/mstile-310x150.png b/assets/static/mstile-310x150.png new file mode 100644 index 00000000..4903cd4a Binary files /dev/null and b/assets/static/mstile-310x150.png differ diff --git a/assets/static/mstile-310x310.png b/assets/static/mstile-310x310.png new file mode 100644 index 00000000..c0d7baf3 Binary files /dev/null and b/assets/static/mstile-310x310.png differ diff --git a/assets/static/mstile-70x70.png b/assets/static/mstile-70x70.png new file mode 100644 index 00000000..e7fa394b Binary files /dev/null and b/assets/static/mstile-70x70.png differ diff --git a/assets/static/safari-pinned-tab.svg b/assets/static/safari-pinned-tab.svg new file mode 100644 index 00000000..640fa9f3 --- /dev/null +++ b/assets/static/safari-pinned-tab.svg @@ -0,0 +1,48 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + + + + + + diff --git a/assets/static/site.webmanifest b/assets/static/site.webmanifest new file mode 100644 index 00000000..cafbccd8 --- /dev/null +++ b/assets/static/site.webmanifest @@ -0,0 +1,18 @@ +{ + "name": "Shift73k", + "short_name": "Shift73k", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ee6c4d", + "background_color": "#ee6c4d" +} diff --git a/lib/shift73k_web/endpoint.ex b/lib/shift73k_web/endpoint.ex index b74d04ff..519f1c99 100644 --- a/lib/shift73k_web/endpoint.ex +++ b/lib/shift73k_web/endpoint.ex @@ -21,11 +21,31 @@ defmodule Shift73kWeb.Endpoint do # # You should set gzip to true if you are running phx.digest # when deploying your static files in production. + # + # file list generated by simple ls -1 assets/static/ - then copy/paste here + static_files = ~w( + android-chrome-192x192.png + android-chrome-512x512.png + apple-touch-icon.png + browserconfig.xml + favicon-16x16.png + favicon-32x32.png + favicon.ico + mstile-144x144.png + mstile-150x150.png + mstile-310x150.png + mstile-310x310.png + mstile-70x70.png + robots.txt + safari-pinned-tab.svg + site.webmanifest + ) + plug(Plug.Static, at: "/", from: :shift73k, gzip: false, - only: ~w(css fonts images js favicon.ico robots.txt) + only: ~w(css fonts images js) ++ static_files ) # Code reloading can be explicitly enabled under the