Skip to content

Commit af6fb17

Browse files
authored
Update favicon to new Hex logo (#126)
Use the new multi-resolution favicon (16/32/48 .ico) and add an SVG so the app's auth-error and not-found pages render the icon crisply at any DPI. Replace the single-size PNG link with rel=icon SVG + .ico fallback.
1 parent 50bf4fe commit af6fb17

5 files changed

Lines changed: 21 additions & 2 deletions

File tree

lib/hexdocs/templates/auth_error.html.eex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Authentication error - HexDocs</title>
77
<link rel="stylesheet" href="/css/app.css">
8-
<link rel="shortcut icon" href="/favicon.png">
8+
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
9+
<link rel="icon" href="/favicon.ico" sizes="any">
910
</head>
1011

1112
<body>

lib/hexdocs/templates/not_found.html.eex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
88
<title>Page not found - HexDocs</title>
99
<link rel="stylesheet" href="/css/app.css">
10-
<link rel="shortcut icon" href="/favicon.png">
10+
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
11+
<link rel="icon" href="/favicon.ico" sizes="any">
1112
</head>
1213

1314
<body>

priv/static/favicon.ico

0 Bytes
Binary file not shown.

priv/static/favicon.png

-1.82 KB
Binary file not shown.

priv/static/favicon.svg

Lines changed: 17 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)