Skip to content

Commit

Permalink
add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
skedwards88 committed Mar 25, 2024
1 parent 64a1270 commit 6f1646b
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/images/favicons/favicon.svg
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 src/images/favicons/icon_512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,10 @@
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Blobble</title>
<meta name="description" content="TODO description" />
<link
rel="icon"
href="assets/favicon.svg"
sizes="any"
type="image/svg+xml"
/>
<link rel="icon" href="assets/favicon.ico" />
<link rel="icon" href="assets/favicon.svg" sizes="any" type="image/svg+xml" />
<link rel="icon" href="assets/icon_512.png" />
<link rel="manifest" href="assets/manifest.json" />
<link rel="apple-touch-icon" href="assets/icon_192.png" />
<link rel="apple-touch-icon" href="assets/icon_512.png" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#373647" />
<meta name="application-name" content="Blobble" />
Expand Down
21 changes: 20 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@
"theme_color": "#373647",
"shortcuts": [],
"categories": ["games", "entertainment", "education"],
"icons": [],
"icons": [
{
"src": "favicon.svg",
"type": "image/svg+xml",
"sizes": "any",
"purpose": "any"
},
{
"src": "icon_512.png",
"type": "image/png",
"sizes": "512x512 192x192",
"purpose": "any"
},
{
"src": "icon_512.png",
"type": "image/png",
"sizes": "512x512",
"purpose": "maskable"
}
],
"screenshots": []
}
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ module.exports = (env, argv) => {
patterns: [
{from: "./src/manifest.json", to: "./assets/manifest.json"},
{from: "./src/privacy.html", to: "./privacy.html"},
{from: "./src/images/favicons/favicon.svg", to: "./assets/favicon.svg"},
{from: "./src/images/favicons/icon_512.png", to: "./assets/icon_512.png"},
],
options: {
concurrency: 100,
Expand Down

0 comments on commit 6f1646b

Please sign in to comment.