From b26c794c3b4f8a5ec7892c512193f11656264814 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 13 Oct 2018 09:44:12 +0200 Subject: fix favicon --- shardweb/assets/static/favicon.ico | Bin 24722 -> 16958 bytes shardweb/assets/static/favicon.png | Bin 0 -> 4548 bytes shardweb/lib/endpoint.ex | 2 +- shardweb/lib/templates/layout/app.html.eex | 4 ++++ 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 shardweb/assets/static/favicon.png diff --git a/shardweb/assets/static/favicon.ico b/shardweb/assets/static/favicon.ico index cbb6b79..a1ffdc7 100644 Binary files a/shardweb/assets/static/favicon.ico and b/shardweb/assets/static/favicon.ico differ diff --git a/shardweb/assets/static/favicon.png b/shardweb/assets/static/favicon.png new file mode 100644 index 0000000..c7db470 Binary files /dev/null and b/shardweb/assets/static/favicon.png differ diff --git a/shardweb/lib/endpoint.ex b/shardweb/lib/endpoint.ex index fb8a48f..bc75357 100644 --- a/shardweb/lib/endpoint.ex +++ b/shardweb/lib/endpoint.ex @@ -9,7 +9,7 @@ defmodule ShardWeb.Endpoint do # when deploying your static files in production. plug Plug.Static, at: "/", from: :shardweb, gzip: false, - only: ~w(css fonts font-awesome images js favicon.ico robots.txt) + only: ~w(css fonts font-awesome images js favicon.ico favicon.png robots.txt) # Code reloading can be explicitly enabled under the # :code_reloader configuration of your endpoint. diff --git a/shardweb/lib/templates/layout/app.html.eex b/shardweb/lib/templates/layout/app.html.eex index 9c5a358..c6ebcd2 100644 --- a/shardweb/lib/templates/layout/app.html.eex +++ b/shardweb/lib/templates/layout/app.html.eex @@ -11,6 +11,10 @@ Shard. + " /> + " type="image/png" /> + + " rel="stylesheet"> -- cgit v1.2.3