Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Fix favicon (#245)
Browse files Browse the repository at this point in the history
* Fix favicon

* Add favicon

* Added favicon images

---------

Co-authored-by: Gonzalo Torres <[email protected]>
  • Loading branch information
jrchatruc and saugon authored Sep 25, 2023
1 parent a147b66 commit 4e21bc8
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ starknet_explorer-*.tar

# Ignore assets that are produced by build tools.
/priv/static/assets/
/priv/static

# Ignore digested assets cache.
/priv/static/cache_manifest.json
Expand Down
2 changes: 1 addition & 1 deletion lib/starknet_explorer_web.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defmodule StarknetExplorerWeb do
those modules here.
"""

def static_paths, do: ~w(assets fonts images favicon-16x16.png favicon-32x32.png robots.txt)
def static_paths, do: ~w(assets fonts images robots.txt)

def router do
quote do
Expand Down
4 changes: 2 additions & 2 deletions lib/starknet_explorer_web/components/layouts/root.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="csrf-token" content={get_csrf_token()} />
<!-- Favicon -->
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="icon" type="image/png" sizes="32x32" href={~p"/images/favicon.ico"} />
<link rel="icon" type="image/png" sizes="16x16" href={~p"/images/favicon.ico"} />
<!-- Primary Meta Tags -->
<title>Madara Explorer</title>
<meta name="title" content="Madara Explorer" />
Expand Down
Binary file added priv/static/favicon-16x16.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-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.

0 comments on commit 4e21bc8

Please sign in to comment.