Skip to content

Commit

Permalink
fix: add correctly sized icon to manifest (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf authored Oct 9, 2024
1 parent 47d1c1f commit 025f70c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
Binary file added public/guild-castle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/guild-castle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion src/app/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,34 @@ export default function manifest(): MetadataRoute.Manifest {
background_color: "#6062eb",
display: "standalone",
start_url: "/",
screenshots: [
{
src: "banner.svg",
type: "wide",
sizes: "1791x565",
},
],
icons: [
{
src: `guild-icon.png`,
src: `guild-castle.svg`,
sizes: `64x64`,
type: "image/svg",
// @ts-ignore: "maskable any" is not typed out as an option
purpose: "maskable any",
},
{
src: `guild-castle.png`,
sizes: `144x144`,
type: "image/png",
// @ts-ignore: "maskable any" is not typed out as an option
purpose: "maskable any",
},
{
src: `guild-icon.png`,
sizes: `64x64`,
type: "image/png",
purpose: "maskable",
},
],
}
}

0 comments on commit 025f70c

Please sign in to comment.