Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion assets/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
}
}
</style>
<link rel="shortcut icon" href="/favicon.png">
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" sizes="any">
</head>

<body>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"short_name": "Hexdocs",
"icons": [
{
"src": "/favicon/web-app-manifest-192x192.png",
"src": "/assets/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/favicon/web-app-manifest-512x512.png",
"src": "/assets/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
Expand Down
8 changes: 4 additions & 4 deletions gleam.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ stylesheets = [

[[tools.lustre.html.links]]
rel = "icon"
href = "/favicon/favicon-96x96.png"
href = "/assets/favicon-96x96.png"
sizes="96x96"
type = "image/png"

[[tools.lustre.html.links]]
rel = "icon"
type = "image/svg+xml"
href = "/favicon/favicon.svg"
href = "/assets/favicon.svg"

[[tools.lustre.html.links]]
rel = "shortcut icon"
Expand All @@ -51,11 +51,11 @@ href = "/favicon.ico"
[[tools.lustre.html.links]]
rel = "apple-touch-icon"
sizes = "180x180"
href = "/favicon/apple-touch-icon.png"
href = "/assets/apple-touch-icon.png"

[[tools.lustre.html.links]]
rel = "manifest"
href = "/favicon/site.webmanifest"
href = "/assets/site.webmanifest"

[[tools.lustre.html.scripts]]
async = true
Expand Down
2 changes: 1 addition & 1 deletion src/hexdocs/view/home.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub fn home(model: Model) {
[id("logo"), class("flex align-middle justify-start gap-3")],
[
html.img([
attribute.src("/images/hexdocs-logo.svg"),
attribute.src("/assets/hexdocs-logo.svg"),
attribute.alt("HexDocs Logo"),
class("w-auto h-10 lg:h-12"),
]),
Expand Down
2 changes: 1 addition & 1 deletion src/hexdocs/view/search.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ fn hexdocs_logo() {
html.img([
class("w-auto h-6"),
attribute.alt("HexDocs Logo"),
attribute.src("/images/hexdocs-logo.svg"),
attribute.src("/assets/hexdocs-logo.svg"),
]),
html.div([class("flex items-center")], [
html.span(
Expand Down
Loading