From 776f563c796ec4993916073c8256fb8e0bdb6be2 Mon Sep 17 00:00:00 2001 From: simon bailly Date: Mon, 29 Jul 2024 12:35:32 +0400 Subject: [PATCH 1/9] Terms and Conditions --- src/views/AboutPage.vue | 51 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/src/views/AboutPage.vue b/src/views/AboutPage.vue index 5872038..4a0d2b7 100644 --- a/src/views/AboutPage.vue +++ b/src/views/AboutPage.vue @@ -4,8 +4,55 @@ From fba88f82bda78b372490518469160186c0f60d3b Mon Sep 17 00:00:00 2001 From: simon bailly Date: Mon, 29 Jul 2024 14:22:32 +0400 Subject: [PATCH 2/9] Cookies accept or decline --- package-lock.json | 17 +++++++++++++++++ package.json | 1 + src/App.vue | 30 ++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/package-lock.json b/package-lock.json index 3509c58..996847b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "leaflet.locatecontrol": "^0.81.0", "primeicons": "^6.0.1", "vue": "^3.2.47", + "vue-cookie-accept-decline": "^6.1.0", "vue-leaflet-markercluster": "^0.6.1", "vue-router": "^4.1.6", "vuefire": "^3.1.24" @@ -1906,6 +1907,11 @@ "node": ">=8" } }, + "node_modules/tiny-cookie": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/tiny-cookie/-/tiny-cookie-2.5.1.tgz", + "integrity": "sha512-w8FlBk1LMEBA7NY1lreQu4iTma/jxRQaKc2ucXFIv9/pDDPcnFrgO4swahGFAwJebHjwrHTyeoI7moH7G9YzSg==" + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -2007,6 +2013,17 @@ } } }, + "node_modules/vue-cookie-accept-decline": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/vue-cookie-accept-decline/-/vue-cookie-accept-decline-6.1.0.tgz", + "integrity": "sha512-zFqCat7n6hlTx7cYXVzK+fOxcdQRf05hxN2BsxNEqYULZfQW/v/D3iwzqWrm0BceU7jtluUZ1rX1UW3hcfC2FA==", + "dependencies": { + "tiny-cookie": "^2.3.2" + }, + "peerDependencies": { + "vue": "^3.2.31" + } + }, "node_modules/vue-demi": { "version": "0.14.9", "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.9.tgz", diff --git a/package.json b/package.json index 1320146..3cd4f18 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "leaflet.locatecontrol": "^0.81.0", "primeicons": "^6.0.1", "vue": "^3.2.47", + "vue-cookie-accept-decline": "^6.1.0", "vue-leaflet-markercluster": "^0.6.1", "vue-router": "^4.1.6", "vuefire": "^3.1.24" diff --git a/src/App.vue b/src/App.vue index e0df20d..6eece5c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,8 @@