Skip to content

Commit

Permalink
feat: Generate favicons and icons for a wider range of devices and th…
Browse files Browse the repository at this point in the history
…emes
  • Loading branch information
mwiraszka committed Nov 20, 2024
1 parent 3d94ceb commit 82c5c7c
Show file tree
Hide file tree
Showing 15 changed files with 173 additions and 488 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ Welcome to the source code repository for the LCC web app! Here you'll find an o
v4.1.7 - November 19th, 2024
</summary>

- 🚀 Generate favicons and icons for a wider range of devices and themes
- 🚀 Improve safe mode notice text styling
- 🚀 Improve disabled button styling
- 🐛 Reverse logic of safe mode toggle switch in Member Editor form
- 🐛 Fix bug where a valid member ID in the URL was sometimes interpreted as invalid
- 🐛 Fix bug where sometimes previous event or member would be loaded up when editing
Expand Down
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"polyfills": ["zone.js", "window-global-fix.ts"],
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": ["src/favicon.ico", "src/assets", "src/manifest.webmanifest"],
"assets": ["src/favicon.ico", "src/favicon.svg", "src/assets", "src/manifest.webmanifest"],
"inlineStyleLanguage": "scss",
"styles": ["src/styles/main.scss"],
"scripts": [
Expand Down
Binary file modified src/assets/icons/apple-touch-icon.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 src/assets/icons/favicon-96x96.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 src/assets/icons/icon-192x192.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 src/assets/icons/icon-512x512.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 removed src/assets/lcc-logo-black.png
Binary file not shown.
135 changes: 0 additions & 135 deletions src/assets/lcc-logo-black.svg

This file was deleted.

346 changes: 0 additions & 346 deletions src/assets/lcc-logo-white.svg

This file was deleted.

Binary file added src/assets/lcc-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
141 changes: 141 additions & 0 deletions src/assets/lcc-logo.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 modified src/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions src/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 9 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,16 @@
<!-- icons -->
<link
rel="shortcut icon"
href="favicon.ico?v=151515" />
href="/favicon.ico" />
<link
rel="icon"
type="image/x-icon"
href="favicon.ico" />
type="image/svg+xml"
href="/favicon.svg" />
<link
rel="icon"
type="image/png"
sizes="96x96"
href="assets/icons/favicon-96x96.png" />
<link
rel="icon"
type="image/png"
Expand All @@ -53,7 +58,7 @@
<link
rel="mask-icon"
href="assets/icons/safari-pinned-tab.svg"
color="#5bbad5" />
color="#ffffff" />
<link
rel="manifest"
href="manifest.webmanifest" />
Expand Down
19 changes: 17 additions & 2 deletions src/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "London Chess Club",
"short_name": "LCC",
"description": "The official London Chess Club website",
"theme_color": "#3d668f",
"background_color": "#fafafa",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone",
"scope": "./",
"start_url": "./",
Expand All @@ -23,6 +23,21 @@
"sizes": "32x32",
"type": "image/png"
},
{
"src": "assets/icons/favicon-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "assets/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "assets/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "assets/icons/safari-pinned-tab.svg",
"sizes": "128x128",
Expand Down

0 comments on commit 82c5c7c

Please sign in to comment.