diff --git a/lib/labelmaker_web.ex b/lib/labelmaker_web.ex index 081f748..a1c029e 100644 --- a/lib/labelmaker_web.ex +++ b/lib/labelmaker_web.ex @@ -17,7 +17,9 @@ defmodule LabelmakerWeb do those modules here. """ - def static_paths, do: ~w(assets fonts images labels favicon.ico robots.txt) + def static_paths, + do: + ~w(assets fonts images labels favicon.ico favicon.svg favicon-96x96.png apple-touch-icon.png web-app-manifest-192x192.png web-app-manifest-512x512.png site.webmanifest robots.txt) def router do quote do diff --git a/lib/labelmaker_web/components/layouts/root.html.heex b/lib/labelmaker_web/components/layouts/root.html.heex index ed7fbaf..4d44bf2 100644 --- a/lib/labelmaker_web/components/layouts/root.html.heex +++ b/lib/labelmaker_web/components/layouts/root.html.heex @@ -7,6 +7,12 @@ <.live_title default="labelmaker.xyz"> {assigns[:page_title]} + + + + + + diff --git a/priv/static/apple-touch-icon.png b/priv/static/apple-touch-icon.png new file mode 100644 index 0000000..59641a9 Binary files /dev/null and b/priv/static/apple-touch-icon.png differ diff --git a/priv/static/favicon-96x96.png b/priv/static/favicon-96x96.png new file mode 100644 index 0000000..34e30c0 Binary files /dev/null and b/priv/static/favicon-96x96.png differ diff --git a/priv/static/favicon.ico b/priv/static/favicon.ico index 7f372bf..481631e 100644 Binary files a/priv/static/favicon.ico and b/priv/static/favicon.ico differ diff --git a/priv/static/favicon.svg b/priv/static/favicon.svg new file mode 100644 index 0000000..09f426b --- /dev/null +++ b/priv/static/favicon.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/priv/static/site.webmanifest b/priv/static/site.webmanifest new file mode 100644 index 0000000..98d07a8 --- /dev/null +++ b/priv/static/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "Labelmaker", + "short_name": "Labelmaker", + "icons": [ + { + "src": "/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#6495ED", + "background_color": "#6495ED", + "display": "standalone" +} \ No newline at end of file diff --git a/priv/static/web-app-manifest-192x192.png b/priv/static/web-app-manifest-192x192.png new file mode 100644 index 0000000..14f817e Binary files /dev/null and b/priv/static/web-app-manifest-192x192.png differ diff --git a/priv/static/web-app-manifest-512x512.png b/priv/static/web-app-manifest-512x512.png new file mode 100644 index 0000000..aa6c518 Binary files /dev/null and b/priv/static/web-app-manifest-512x512.png differ