-
Notifications
You must be signed in to change notification settings - Fork 87
/
manifest.ts
125 lines (124 loc) · 2.48 KB
/
manifest.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
import type { ManifestOptions } from "vite-plugin-pwa";
const manifest: Partial<ManifestOptions> = {
name: "Todo App",
short_name: "Todo App",
display: "standalone",
scope: "/",
start_url: "/",
theme_color: "#7764E8",
background_color: "#171D34",
description: "Todo app with many features, offline usage as a PWA. Made by github.com/maciekt07",
icons: [
{
src: "/logo192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "/logo256.png",
sizes: "256x256",
type: "image/png",
},
{
src: "/logo384.png",
sizes: "384x384",
type: "image/png",
},
{
src: "/logo512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "pwa/logoMaskable.png",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
},
],
shortcuts: [
{
name: "Add Task",
description: "Add Task",
url: "/add",
icons: [
{
src: "pwa/add.png",
sizes: "192x192",
type: "image/png",
},
],
},
{
name: "Categories",
description: "Task Categories",
url: "/categories",
icons: [
{
src: "pwa/categories.png",
sizes: "192x192",
type: "image/png",
},
],
},
{
name: "Transfer",
description: "Import or Export Task",
url: "/transfer",
icons: [
{
src: "pwa/transfer.png",
sizes: "192x192",
type: "image/png",
},
],
},
// {
// name: "Purge",
// description: "Purge Tasks",
// url: "/purge",
// icons: [
// {
// src: "pwa/purge.png",
// sizes: "192x192",
// type: "image/png",
// },
// ],
// },
{
name: "Profile",
description: "User Profile",
url: "/user",
icons: [
{
src: "pwa/profile.png",
sizes: "192x192",
type: "image/png",
},
],
},
],
screenshots: [
{
src: "pwa/wideScreenshot1.png",
sizes: "1460x959",
form_factor: "wide",
},
{
src: "pwa/wideScreenshot2.png",
sizes: "1460x959",
form_factor: "wide",
},
{
src: "pwa/narrowScreenshot1.png",
sizes: "1170x2532",
form_factor: "narrow",
},
{
src: "pwa/narrowScreenshot2.png",
sizes: "1170x2532",
form_factor: "narrow",
},
],
};
export default manifest;