Skip to content

Commit

Permalink
Merge pull request #33 from jiftechnify/maskable-icon
Browse files Browse the repository at this point in the history
Configure maskable icon
  • Loading branch information
jiftechnify authored Oct 4, 2023
2 parents 7c9dce6 + c56c2af commit 2f55e23
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<meta property="og:site_name" content="nostatus" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@cstl_fy" />
<meta name="theme-color" content="#822ad2" />
<meta name="description" content="Nostr client for browsing your friends' status." />
<link rel="icon" sizes="16x16 32x32 48x48" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
Expand Down
Binary file added public/maskable_icon_x192.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 public/maskable_icon_x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,24 @@ export default defineConfig({
sizes: "512x512",
type: "image/png",
},
{
src: "/maskable_icon_x192.png",
sizes: "192x192",
type: "image/png",
purpose: "maskable",
},
{
src: "/maskable_icon_x512.png",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
},
],
theme_color: "#822ad2",
background_color: "#f1f5f9",
display: "standalone",
},
manifestFilename: 'manifest.json',
manifestFilename: "manifest.json",
devOptions: { enabled: true },
}),
],
Expand Down

0 comments on commit 2f55e23

Please sign in to comment.