diff --git a/web/index.html b/web/index.html index 5291014..b339381 100644 --- a/web/index.html +++ b/web/index.html @@ -1,13 +1,14 @@ - - - + + + + - YG Safety + YG Safety Portal
diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 0000000..9da00f6 --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,36 @@ +{ + "short_name": "YG Safety Portal", + "name": "YG Safety Portal", + "icons": [ + { + "src": "/icon-512.png", + "type": "image/png", + "sizes": "512x512" + }, + { + "src": "/icon-192.png", + "type": "image/png", + "sizes": "192x192" + } + ], + "id": "/?source=pwa", + "start_url": "/?source=pwa", + "background_color": "#3367D6", + "display": "standalone", + "scope": "/", + "theme_color": "#F2A900", + "shortcuts": [ + { + "name": "Report an incident", + "short_name": "Report", + "description": "Report an incident", + "url": "/report-an-incident", + "icons": [{ "src": "/icon-192.png", "sizes": "192x192" }] + } + ], + "description": "Submit and view hazards and incidents", + "screenshots": [ + { "form_factor": "narrow", "sizes": "512x512", "type": "image/png", "src": "/icon-512.png" }, + { "form_factor": "wide", "sizes": "512x512", "type": "image/png", "src": "/icon-512.png" } + ] +} diff --git a/web/package-lock.json b/web/package-lock.json index ccbd4e9..af5be2a 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -53,9 +53,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz", - "integrity": "sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==", + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.6.tgz", + "integrity": "sha512-eNZXdfU35nJC2h24RznROuOpO94h6x8sg9ju0tT9biNtLZ2vuP8SduLqqV+/8+cebSLV9SJEAN5Z3zQbJG/M+Q==", "bin": { "parser": "bin/babel-parser.js" }, @@ -1270,6 +1270,18 @@ "fsevents": "~2.3.2" } }, + "node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/source-map-js": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", @@ -1447,18 +1459,6 @@ "typescript": "*" } }, - "node_modules/vue-tsc/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/vuetify": { "version": "3.6.7", "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-3.6.7.tgz", diff --git a/web/public/icon-192.png b/web/public/icon-192.png new file mode 100644 index 0000000..4c7fb6a Binary files /dev/null and b/web/public/icon-192.png differ diff --git a/web/public/icon-512.png b/web/public/icon-512.png new file mode 100644 index 0000000..5808891 Binary files /dev/null and b/web/public/icon-512.png differ diff --git a/web/public/icon.svg b/web/public/icon.svg new file mode 100644 index 0000000..7d74578 --- /dev/null +++ b/web/public/icon.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file