feat: Added images to PWA shortcuts (#3744)

This commit is contained in:
Brian Choromanski 2024-06-17 16:33:41 -04:00 committed by GitHub
parent c18b9d3184
commit 598b0f3707
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 0 deletions

View File

@ -401,12 +401,24 @@ export default {
"short_name": "Shopping Lists",
"description": "Open the shopping lists",
"url": "/shopping-lists",
"icons": [
{
"src": "/svgs/mdiFormatListChecks.svg",
"sizes": "256x256",
}
]
},
{
"name": "Meal Planner",
"short_name": "Meal Planner",
"description": "Open the meal planner",
"url": "/group/mealplan/planner/view",
"icons": [
{
"src": "/svgs/mdiCalendarMultiselect.svg",
"sizes": "256x256",
}
]
},
],
},

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-calendar-multiselect" viewBox="0 0 24 24"><path d="M19,19V8H5V19H19M16,1H18V3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H6V1H8V3H16V1M7,10H9V12H7V10M15,10H17V12H15V10M11,14H13V16H11V14M15,14H17V16H15V14Z" /></svg>

After

Width:  |  Height:  |  Size: 297 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-format-list-checks" viewBox="0 0 24 24"><path d="M3,5H9V11H3V5M5,7V9H7V7H5M11,7H21V9H11V7M11,15H21V17H11V15M5,20L1.5,16.5L2.91,15.09L5,17.17L9.59,12.59L11,14L5,20Z" /></svg>

After

Width:  |  Height:  |  Size: 221 B