Skip to content

Commit

Permalink
feat: add png favicon (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathcolo authored Sep 17, 2024
1 parent c21aa79 commit cd7e6de
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/orbit_web.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defmodule OrbitWeb do
those modules here.
"""

def static_paths, do: ~w(assets fonts images favicon.ico robots.txt)
def static_paths, do: ~w(assets fonts images favicon robots.txt)

def router do
quote do
Expand Down
5 changes: 5 additions & 0 deletions lib/orbit_web/components/layouts/root.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="apple-touch-icon" href="/favicon/t-logo-180.png" type="image/png" />
<link rel="icon" href="/favicon/t-logo-32.png" sizes="32x32" type="image/png" />
<link rel="icon" href="/favicon/t-logo-16.ico" sizes="16x16" type="image/vnd.microsoft.icon" />

<meta name="csrf-token" content={get_csrf_token()} />

<% # Orbit metadata %>
Expand Down
Binary file removed priv/static/favicon.ico
Binary file not shown.
Binary file added priv/static/favicon/t-logo-16.ico
Binary file not shown.
Binary file added priv/static/favicon/t-logo-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added priv/static/favicon/t-logo-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cd7e6de

Please sign in to comment.