Compare commits

..

2 Commits

Author SHA1 Message Date
Julien Calixte
a40108ea04 Use Tabler coffee icon
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 23:11:36 +01:00
Julien Calixte
b2e10b85f2 Add SVG app icon, fix missing PWA icons
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 23:11:01 +01:00
2 changed files with 14 additions and 15 deletions

9
public/icons/icon.svg Normal file
View File

@@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#fdf6ec" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect width="24" height="24" rx="4" fill="#6f4e37"/>
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M3 14c.83 .642 2.077 1.017 3.5 1c1.423 .017 2.67 -.358 3.5 -1c.83 -.642 2.077 -1.017 3.5 -1c1.423 -.017 2.67 .358 3.5 1"/>
<path d="M8 3a2.4 2.4 0 0 0 -1 2a2.4 2.4 0 0 0 1 2"/>
<path d="M12 3a2.4 2.4 0 0 0 -1 2a2.4 2.4 0 0 0 1 2"/>
<path d="M3 10h14v5a6 6 0 0 1 -6 6h-2a6 6 0 0 1 -6 -6v-5"/>
<path d="M16.746 16.726a3 3 0 1 0 .252 -5.555"/>
</svg>

After

Width:  |  Height:  |  Size: 630 B

View File

@@ -15,7 +15,7 @@ export default defineConfig({
vue(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['icons/*.png', 'icons/*.svg'],
includeAssets: ['icons/*.svg'],
manifest: {
name: 'Coffee Map',
short_name: 'Coffee',
@@ -27,20 +27,10 @@ export default defineConfig({
start_url: '/',
icons: [
{
src: 'icons/icon-192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: 'icons/icon-512.png',
sizes: '512x512',
type: 'image/png',
},
{
src: 'icons/icon-512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable',
src: 'icons/icon.svg',
sizes: 'any',
type: 'image/svg+xml',
purpose: 'any maskable',
},
],
},