diff --git a/nuxt.config.js b/nuxt.config.js index 1e920c6..939f1cd 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -9,8 +9,7 @@ module.exports = { title: 'Home' || '', meta: [ { charset: 'utf-8' }, - { name: 'viewport', content: 'width=device-width, initial-scale=1' }, - { hid: 'description', name: 'description', content: '' } + { name: 'viewport', content: 'width=device-width, initial-scale=1' } ], link: [ { rel: 'icon', type: 'image/png', href: '/index.png' }, diff --git a/package.json b/package.json index c55db5d..448cdaa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prociv-website", - "version": "1.0.4", + "version": "1.0.5", "description": "Sito della protezione civile di settimo milanese", "author": "Andrea Tombolato (https://github.com/andreacw5)", "private": true, diff --git a/src/assets/img/activity.jpg b/src/assets/img/activity.jpg deleted file mode 100644 index 7bfd9d0..0000000 Binary files a/src/assets/img/activity.jpg and /dev/null differ diff --git a/src/assets/img/groups.jpg b/src/assets/img/groups.jpg deleted file mode 100644 index 76a4e62..0000000 Binary files a/src/assets/img/groups.jpg and /dev/null differ diff --git a/src/assets/img/hq.png b/src/assets/img/hq.png deleted file mode 100644 index d19393c..0000000 Binary files a/src/assets/img/hq.png and /dev/null differ diff --git a/src/assets/img/hq.webp b/src/assets/img/hq.webp new file mode 100644 index 0000000..7f00639 Binary files /dev/null and b/src/assets/img/hq.webp differ diff --git a/src/assets/img/lazy.webp b/src/assets/img/lazy.webp index 523d5f2..3af81ee 100644 Binary files a/src/assets/img/lazy.webp and b/src/assets/img/lazy.webp differ diff --git a/src/assets/img/reportage_car.webp b/src/assets/img/reportage_car.webp index 7083b05..9526fab 100644 Binary files a/src/assets/img/reportage_car.webp and b/src/assets/img/reportage_car.webp differ diff --git a/src/assets/img/vehicles/cars/land.webp b/src/assets/img/vehicles/cars/land.webp new file mode 100644 index 0000000..4d9aefd Binary files /dev/null and b/src/assets/img/vehicles/cars/land.webp differ diff --git a/src/assets/img/vehicles/cars/mitsubishi.webp b/src/assets/img/vehicles/cars/mitsubishi.webp new file mode 100644 index 0000000..03a95c2 Binary files /dev/null and b/src/assets/img/vehicles/cars/mitsubishi.webp differ diff --git a/src/assets/img/vehicles/ducato/ducato.jpg b/src/assets/img/vehicles/ducato/ducato.jpg deleted file mode 100644 index d147b04..0000000 Binary files a/src/assets/img/vehicles/ducato/ducato.jpg and /dev/null differ diff --git a/src/assets/img/vehicles/iveco/iveco2.jpg b/src/assets/img/vehicles/iveco/iveco2.jpg deleted file mode 100644 index 372f70c..0000000 Binary files a/src/assets/img/vehicles/iveco/iveco2.jpg and /dev/null differ diff --git a/src/assets/img/vehicles/land/land.jpg b/src/assets/img/vehicles/land/land.jpg deleted file mode 100644 index 4ba7746..0000000 Binary files a/src/assets/img/vehicles/land/land.jpg and /dev/null differ diff --git a/src/assets/img/vehicles/land/land2.jpg b/src/assets/img/vehicles/land/land2.jpg deleted file mode 100644 index 9b1ff82..0000000 Binary files a/src/assets/img/vehicles/land/land2.jpg and /dev/null differ diff --git a/src/assets/img/vehicles/mitsu/mitsubishi.jpg b/src/assets/img/vehicles/mitsu/mitsubishi.jpg deleted file mode 100644 index 0758fad..0000000 Binary files a/src/assets/img/vehicles/mitsu/mitsubishi.jpg and /dev/null differ diff --git a/src/assets/img/vehicles/mitsu/mitsubishi3.jpg b/src/assets/img/vehicles/mitsu/mitsubishi3.jpg deleted file mode 100644 index 4f15d2b..0000000 Binary files a/src/assets/img/vehicles/mitsu/mitsubishi3.jpg and /dev/null differ diff --git a/src/assets/img/vehicles/trucks/ducato.webp b/src/assets/img/vehicles/trucks/ducato.webp new file mode 100644 index 0000000..f85b60a Binary files /dev/null and b/src/assets/img/vehicles/trucks/ducato.webp differ diff --git a/src/assets/img/vehicles/trucks/iveco.webp b/src/assets/img/vehicles/trucks/iveco.webp new file mode 100644 index 0000000..9359ecb Binary files /dev/null and b/src/assets/img/vehicles/trucks/iveco.webp differ diff --git a/src/assets/img/volunteers/groups.webp b/src/assets/img/volunteers/groups.webp new file mode 100644 index 0000000..82bccfc Binary files /dev/null and b/src/assets/img/volunteers/groups.webp differ diff --git a/src/components/activity/ActivityTypeIcon.vue b/src/components/activity/ActivityTypeIcon.vue deleted file mode 100644 index e886d2d..0000000 --- a/src/components/activity/ActivityTypeIcon.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - - - diff --git a/src/components/navigation/LowerBar.vue b/src/components/navigation/LowerBar.vue index e4bb765..cd542a7 100644 --- a/src/components/navigation/LowerBar.vue +++ b/src/components/navigation/LowerBar.vue @@ -31,8 +31,8 @@ {{ $t('menu.home') }} {{ $t('menu.about') }} - {{ $t('menu.activity') }} - {{ $t('menu.headquarters') }} + {{ $t('operations.title') }} + {{ $t('headquarters.title') }} {{ $t('menu.volunteer') }} {{ $t('menu.vehicles') }} diff --git a/src/components/activity/ActivityCard.vue b/src/components/operations/OperationCard.vue similarity index 69% rename from src/components/activity/ActivityCard.vue rename to src/components/operations/OperationCard.vue index 9c457f2..14d5a16 100644 --- a/src/components/activity/ActivityCard.vue +++ b/src/components/operations/OperationCard.vue @@ -2,17 +2,17 @@ - + {{ activity.title }} - {{ activity.startDate | formatDate('dd/MM/yyyy') }} - {{ activity.description }} + {{ activity.startDate | formatDate('dd/MM/yyyy') }} - {{ activity.location }} - {{ $t('activity.type.' + activity.type) }} + {{ $t('operations.type.' + activity.type) }} {{ dateDifferences(activity.startDate, activity.endDate) }} @@ -23,11 +23,11 @@ + + diff --git a/src/components/activity/ActivityList.vue b/src/components/operations/OperationsList.vue similarity index 77% rename from src/components/activity/ActivityList.vue rename to src/components/operations/OperationsList.vue index e553f14..c8b25db 100644 --- a/src/components/activity/ActivityList.vue +++ b/src/components/operations/OperationsList.vue @@ -18,13 +18,13 @@ - + @@ -32,11 +32,11 @@ -@keyframes swing { - 0% { - transform: rotate(3deg); - } - 100% { - transform: rotate(-3deg); - } -} - -@keyframes swing2 { - 0% { - transform: rotate(-3deg); - } - 100% { - transform: rotate(3deg); - } -} -@keyframes swing3 { - 0% { - transform: rotate(-3deg); - } - 100% { - transform: rotate(8deg); - } -} -h1 { - font-family: "Fjalla One"; - text-align: center; - color: #666; -} -h4 { - text-align: center; - color: #666; + diff --git a/src/pages/about.vue b/src/pages/about/index.vue similarity index 98% rename from src/pages/about.vue rename to src/pages/about/index.vue index 1f61f95..6bc22ad 100644 --- a/src/pages/about.vue +++ b/src/pages/about/index.vue @@ -120,7 +120,7 @@ export default { { name: "og:description", content: "" }, { name: "og:type", content: "website" }, { name: "og:url", content: "https://procivsettimomi.it" }, - { name: "og:image", content: "/assets/img/activity.jpg" }, + { name: "og:image", content: "/assets/img/lazy.webp" }, ] } }; diff --git a/src/pages/alerts.vue b/src/pages/alerts.vue index 65bce9d..4995598 100644 --- a/src/pages/alerts.vue +++ b/src/pages/alerts.vue @@ -4,6 +4,122 @@
+ + + + + Le fasi operative + + + Quando c'è un'allerta, Regioni e comuni valutano, in base alla propria organizzazione e al proprio territorio, quale fase operativa del piano di Protezione Civile attivare: + ATTENZIONE, PRE-ALLARME, ALLARME. In caso di allerta rossa sul territorio, si attiva almeno la fase di pre-allarme. + + + + + + + + + mdi-alert-circle-outline + ATTENZIONE + + + + Il comune si prepara a rispondere all'eventuale emergenza attivando risorse e prodecure + + +

VERIFICA

+

la prontezza operativa della propria struttura in contatto con Regione e Prefettura.
+ Verifica le reperibilità del personale e dei volontari

+
+
+
+ + + + mdi-alert-circle-outline + PRE-ALLARME + + + + Il comune si mobilita per prevenire o ridurre i possibili danni a persone, animali e cose + + +

ATTIVA

+

il Centro Operativo Comunale per coordinbare gli interventi
+ il personale e i volontari iniziano le attività di monitoraggio di sottopassi, argini, ponti,...

+
+
+
+ + + + mdi-alert-circle-outline + ALLARME + + + + Il comune pienamente operativo per fronteggiare effetti e danni previsti o in atto + + +

COORDINA

+

tutte le attività di assistenza e soccorso alla popolazione
+ l'evacuazione delle aree a rischio e il soccorso ai cittadini in difficoltà

+
+
+
+
+
+ + + + I colori delle allerte + + +

Il dipartimento di protezione civile invia bollettini giornalieri codificando lo stato delle zone tramite codici colori, verde, giallo, arancione e rosso. In base al colore assegnato il territorio dovrà attivare le risorse opportune per verificare, mitigare ed eventualmente gestire l'emergenza in arrivo. Più l'allerta è importante, peggiori sono i possibili danni previsti

+ + + + + mdi-alert-circle-outline + Giallo + + + +

Il territorio è soggetto a condizioni meteorologiche avverse, ma non è previsto alcun fenomeno particolarmente pericoloso

+
+
+
+ + + + mdi-alert-circle-outline + Arancione + + + +

Il territorio è soggetto a condizioni meteorologiche avverse, ma non è previsto alcun fenomeno particolarmente pericoloso

+
+
+
+ + + + mdi-alert-circle-outline + Rosso + + + +

Il territorio è soggetto a condizioni meteorologiche avverse, ma non è previsto alcun fenomeno particolarmente pericoloso

+
+
+
+
+
+
+
+
diff --git a/src/pages/headquarter.vue b/src/pages/headquarter.vue index 139e7e6..c74854f 100644 --- a/src/pages/headquarter.vue +++ b/src/pages/headquarter.vue @@ -1,7 +1,7 @@