diff --git a/frontend/package.json b/frontend/package.json
index dbf3b82..f0327bf 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -20,7 +20,6 @@
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.30.0",
- "kolorist": "^1.8.0",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.0",
"svelte": "^4.0.0",
diff --git a/frontend/src/lib/components/Header.svelte b/frontend/src/lib/components/Header.svelte
index 268043b..361af02 100644
--- a/frontend/src/lib/components/Header.svelte
+++ b/frontend/src/lib/components/Header.svelte
@@ -1,5 +1,5 @@
@@ -19,4 +19,4 @@
footer {
background: white;
}
-
\ No newline at end of file
+
diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js
index 94f837f..7fc2a19 100644
--- a/frontend/svelte.config.js
+++ b/frontend/svelte.config.js
@@ -3,12 +3,12 @@ import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
- // Consult https://kit.svelte.dev/docs/integrations#preprocessors
- // for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
- precompress: false,
+ fallback: null,
+ precompress: true,
+ strict: true
}),
},
};
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index f5ba4b9..4c38d77 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -7,7 +7,28 @@ const config = {
sveltekit(),
SvelteKitPWA({
registerType: 'autoUpdate',
- strategies: 'generateSW'
+ strategies: 'generateSW',
+ manifest: {
+ start_url: '/',
+ background_color: "#213c8b",
+ theme_color: "#de0e1b",
+ name: "PianelloExperience",
+ display: "fullscreen",
+ short_name: "PianelloExperience",
+ description: "Pianello Experience",
+ icons: [
+ {
+ src: "/images/app-icon-512x512.png",
+ sizes: "512x512",
+ type: "image/png",
+ },
+ {
+ src: "/images/app-icon-192x192.png",
+ sizes: "192x192",
+ type: "image/png",
+ },
+ ],
+ },
})
],
test: {
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 53af988..45ee883 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -2741,11 +2741,6 @@ known-css-properties@^0.27.0:
resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.27.0.tgz#82a9358dda5fe7f7bd12b5e7142c0a205393c0c5"
integrity sha512-uMCj6+hZYDoffuvAJjFAPz56E9uoowFHmTkqRtRq5WyC5Q6Cu/fTZKNQpX/RbzChBYLLl3lo8CjFZBAZXq9qFg==
-kolorist@^1.8.0:
- version "1.8.0"
- resolved "https://registry.yarnpkg.com/kolorist/-/kolorist-1.8.0.tgz#edddbbbc7894bc13302cdf740af6374d4a04743c"
- integrity sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==
-
leaflet@^1.9.4:
version "1.9.4"
resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.9.4.tgz#23fae724e282fa25745aff82ca4d394748db7d8d"