Skip to content

Commit 0733539

Browse files
committed
Uses @vite-pwa/assets-generator to generate icons
1 parent 87012ed commit 0733539

File tree

7 files changed

+1236
-15
lines changed

7 files changed

+1236
-15
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
dist
1313
dist-ssr
1414
*.local
15+
public/generated-icons/apple-touch-icon-180x180.png
16+
public/generated-icons/favicon.ico
17+
public/generated-icons/maskable-icon-512x512.png
18+
public/generated-icons/pwa-192x192.png
19+
public/generated-icons/pwa-512x512.png
20+
public/generated-icons/pwa-64x64.png
1521

1622
# misc
1723
.DS_Store

index.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/png" href="/icons/NotesTogether-Icon-36x36.png" />
65
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
76
<meta name="theme-color" content="#d1e8f1" />
87
<meta
98
name="description"
109
content="Free your mind from mundane details! Toss in text and pictures. Be confident you can find any note on any device. Take control of your data with remoteStorage. Never spend time tidying up — unless you want to!"
1110
/>
12-
<link rel="apple-touch-icon" href="/icons/NotesTogether-Icon-1024x1024.png" />
11+
<link rel="icon" href="/generated-icons/favicon.ico" sizes="any">
12+
<link rel="icon" href="/generated-icons/NotesTogether-Icon.svg" type="image/svg+xml" sizes="any">
13+
<link rel="apple-touch-icon" href="/icons/NotesTogether-Icon-1024x1024.png" sizes="4270x4270" />
14+
<link rel="apple-touch-icon" href="/generated-icons/apple-touch-icon-180x180.png" sizes="180x180">
1315
<link rel="manifest" href="/manifest.webmanifest" />
1416
<title>%VITE_APP_TITLE%</title> <!-- overridden by useEffect in App.jsx -->
1517
</head>

0 commit comments

Comments
 (0)