diff --git a/site/pages/index.tsx b/site/pages/index.tsx index 298ec10c4..6c6fff27f 100644 --- a/site/pages/index.tsx +++ b/site/pages/index.tsx @@ -56,6 +56,30 @@ export default function Home() { shape: 'poly', href: '#', }, + { + id: '9', + title: '1970', + name: '1970', + fillColor: '#1A82FF', + strokeColor: 'black', + coords: [ + 2279,279,2496,356,2616,562,2579,779,2407,929,2174,929,1995,779,1958,553,2077,360 + ], + shape: 'poly', + href: '#', + }, + { + id: '8', + title: '1970', + name: '1970', + fillColor: '#1ACBFF', + strokeColor: 'black', + coords: [ + 1707,535,1896,615,1980,809,1897,996,1710,1071,1515,989,1448,794,1523,614 + ], + shape: 'poly', + href: '#', + }, ] useEffect(() => { diff --git a/site/public/assets/polygons/octagon.svg b/site/public/assets/polygons/8.svg similarity index 100% rename from site/public/assets/polygons/octagon.svg rename to site/public/assets/polygons/8.svg diff --git a/site/public/assets/polygons/enneagon.svg b/site/public/assets/polygons/9.svg similarity index 100% rename from site/public/assets/polygons/enneagon.svg rename to site/public/assets/polygons/9.svg diff --git a/site/public/assets/polygons/colorized/8.svg b/site/public/assets/polygons/colorized/8.svg new file mode 100644 index 000000000..2a73f1c0e --- /dev/null +++ b/site/public/assets/polygons/colorized/8.svg @@ -0,0 +1,38 @@ + + + + + + diff --git a/site/public/assets/polygons/colorized/9.svg b/site/public/assets/polygons/colorized/9.svg new file mode 100644 index 000000000..cce7479a7 --- /dev/null +++ b/site/public/assets/polygons/colorized/9.svg @@ -0,0 +1,38 @@ + + + + + + diff --git a/site/public/regions/abruzzo/8/plan/plan.jpeg b/site/public/regions/abruzzo/8/plan/plan.jpeg new file mode 100644 index 000000000..4bffd53a4 Binary files /dev/null and b/site/public/regions/abruzzo/8/plan/plan.jpeg differ diff --git a/site/public/regions/abruzzo/8/plan/transition.gif b/site/public/regions/abruzzo/8/plan/transition.gif new file mode 100644 index 000000000..ebc4adb84 Binary files /dev/null and b/site/public/regions/abruzzo/8/plan/transition.gif differ diff --git a/site/public/regions/abruzzo/9/plan/plan.jpeg b/site/public/regions/abruzzo/9/plan/plan.jpeg new file mode 100644 index 000000000..4bffd53a4 Binary files /dev/null and b/site/public/regions/abruzzo/9/plan/plan.jpeg differ diff --git a/site/public/regions/abruzzo/9/plan/transition.gif b/site/public/regions/abruzzo/9/plan/transition.gif new file mode 100644 index 000000000..00db99f7f Binary files /dev/null and b/site/public/regions/abruzzo/9/plan/transition.gif differ diff --git a/site/static_data/decadesManifest.json b/site/static_data/decadesManifest.json index bb8f42478..58299147e 100644 --- a/site/static_data/decadesManifest.json +++ b/site/static_data/decadesManifest.json @@ -43,15 +43,15 @@ }, "8": { "name": "1960", - "color": "#2ecc71", - "polygon": "octagon.svg", - "enabled": false + "color": "#00B1FF", + "polygon": "8.svg", + "enabled": true }, "9": { "name": "1970", "color": "#0068FF", - "polygon": "enneagon.svg", - "enabled": false + "polygon": "9.svg", + "enabled": true }, "10": { "name": "1980", diff --git a/site/static_data/regions/abruzzo/8/manifest.json b/site/static_data/regions/abruzzo/8/manifest.json new file mode 100644 index 000000000..a45e6abe6 --- /dev/null +++ b/site/static_data/regions/abruzzo/8/manifest.json @@ -0,0 +1,140 @@ +{ + "rooms": [ + { + "id": "0", + "name": "Bagno", + "filename": "bagno80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 1.44232417885207, + "latitude": -0.367511889787425 + } + ] + }, + { + "id": "1", + "name": "Camera adulti", + "filename": "cameraadu80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 2.3149297060679324, + "latitude": -0.20572898218842983 + } + ] + }, + { + "id": "2", + "name": "Camera ragazzi", + "filename": "camerarag80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 2.359867377311474, + "latitude": -0.22520996545079242 + } + ] + }, + { + "id": "3", + "name": "Corridoio", + "filename": "corridoio80.jpg", + "links": [ + { + "nodeId": "1", + "longitude": 5.896252036417592, + "latitude": -0.17155530586609968 + }, + { + "nodeId": "2", + "longitude": 0.002335937629616648, + "latitude": -0.051315940366650103 + }, + { + "nodeId": "0", + "longitude": 0.10337406304776525, + "latitude": -0.03294094289173466 + }, + { + "nodeId": "7", + "longitude": 0.3478355893150185, + "latitude": -0.02861863754217575 + }, + { + "nodeId": "4", + "longitude": 0.3834034967890254, + "latitude": -0.04199830478329036 + }, + { + "nodeId": "5", + "longitude": 0.4853365137270894, + "latitude": -0.06160452452933307 + }, + { + "nodeId": "6", + "longitude": 0.862773360179425, + "latitude": -0.13304654377947656 + } + ] + }, + { + "id": "4", + "name": "Cucina", + "filename": "cucina80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 2.7372574172987614, + "latitude": -0.22115179529666684 + }, + { + "nodeId": "7", + "longitude": 4.339588313215577, + "latitude": -0.2164713849249862 + } + ] + }, + { + "id": "5", + "name": "Garage", + "filename": "garage80.jpg", + "links": [ + { + "nodeId": "6", + "longitude": 0.10658562598676391, + "latitude": -0.040154251354717285 + } + ] + }, + { + "id": "6", + "name": "Giardino", + "filename": "giardino80.jpg", + "links": [ + { + "nodeId": "5", + "longitude": 5.164444974383928, + "latitude": -0.18649274107908576 + } + ] + }, + { + "id": "7", + "name": "Sala", + "filename": "sala80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 5.493110085566132, + "latitude": -0.13095466183262028 + }, + { + "nodeId": "3", + "longitude": 4.029802180286774, + "latitude": -0.14455761762531627 + } + ] + } + ] +} \ No newline at end of file diff --git a/site/static_data/regions/abruzzo/8/plan/manifest.json b/site/static_data/regions/abruzzo/8/plan/manifest.json new file mode 100644 index 000000000..67e52fc20 --- /dev/null +++ b/site/static_data/regions/abruzzo/8/plan/manifest.json @@ -0,0 +1,92 @@ +{ + "name": "10", + "areas": [ + { + "id": "0", + "title": "Camera Adulti", + "name": "Camera Adulti", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [ + 788, 914, 1129, 914, 1129, 1139, 1167, 1142, 1166, 1225, 1021, 1226, + 1020, 1177, 787, 1175 + ], + "shape": "poly", + "href": "/abruzzo/10/0" + }, + { + "id": "1", + "title": "Giardino", + "name": "Giardino", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [577, 282, 1128, 282, 1130, 905, 439, 905, 435, 504, 576, 504], + "shape": "poly", + "href": "/abruzzo/10/1" + }, + { + "id": "2", + "title": "Corridoio", + "name": "Corridoio", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [ + 245, 987, 439, 984, 439, 911, 779, 914, 780, 1183, 1012, 1184, 1013, + 1226, 832, 1226, 831, 1435, 740, 1434, 739, 1088, 444, 1089, 444, 1235, + 244, 1235 + ], + "shape": "poly", + "href": "/abruzzo/10/2" + }, + { + "id": "3", + "title": "Garage", + "name": "Garage", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [243, 280, 567, 279, 567, 497, 431, 496, 431, 634, 244, 632], + "shape": "poly", + "href": "/abruzzo/10/3" + }, + { + "id": "4", + "title": "Camera Ragazzi", + "name": "Camera Ragazzi", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [839, 1234, 1167, 1235, 1166, 1436, 840, 1436], + "shape": "poly", + "href": "/abruzzo/10/4" + }, + { + "id": "5", + "title": "Bagno", + "name": "Bagno", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [243, 640, 430, 640, 430, 978, 243, 977], + "shape": "poly", + "href": "/abruzzo/10/5" + }, + { + "id": "6", + "title": "Sala", + "name": "Sala", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [450, 1094, 731, 1094, 732, 1436, 452, 1436], + "shape": "poly", + "href": "/abruzzo/10/6" + }, + { + "id": "7", + "title": "Cucina", + "name": "Cucina", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [44, 1240, 443, 1242, 443, 1437, 44, 1436], + "shape": "poly", + "href": "/abruzzo/10/7" + } + ] +} diff --git a/site/static_data/regions/abruzzo/9/manifest.json b/site/static_data/regions/abruzzo/9/manifest.json new file mode 100644 index 000000000..a45e6abe6 --- /dev/null +++ b/site/static_data/regions/abruzzo/9/manifest.json @@ -0,0 +1,140 @@ +{ + "rooms": [ + { + "id": "0", + "name": "Bagno", + "filename": "bagno80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 1.44232417885207, + "latitude": -0.367511889787425 + } + ] + }, + { + "id": "1", + "name": "Camera adulti", + "filename": "cameraadu80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 2.3149297060679324, + "latitude": -0.20572898218842983 + } + ] + }, + { + "id": "2", + "name": "Camera ragazzi", + "filename": "camerarag80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 2.359867377311474, + "latitude": -0.22520996545079242 + } + ] + }, + { + "id": "3", + "name": "Corridoio", + "filename": "corridoio80.jpg", + "links": [ + { + "nodeId": "1", + "longitude": 5.896252036417592, + "latitude": -0.17155530586609968 + }, + { + "nodeId": "2", + "longitude": 0.002335937629616648, + "latitude": -0.051315940366650103 + }, + { + "nodeId": "0", + "longitude": 0.10337406304776525, + "latitude": -0.03294094289173466 + }, + { + "nodeId": "7", + "longitude": 0.3478355893150185, + "latitude": -0.02861863754217575 + }, + { + "nodeId": "4", + "longitude": 0.3834034967890254, + "latitude": -0.04199830478329036 + }, + { + "nodeId": "5", + "longitude": 0.4853365137270894, + "latitude": -0.06160452452933307 + }, + { + "nodeId": "6", + "longitude": 0.862773360179425, + "latitude": -0.13304654377947656 + } + ] + }, + { + "id": "4", + "name": "Cucina", + "filename": "cucina80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 2.7372574172987614, + "latitude": -0.22115179529666684 + }, + { + "nodeId": "7", + "longitude": 4.339588313215577, + "latitude": -0.2164713849249862 + } + ] + }, + { + "id": "5", + "name": "Garage", + "filename": "garage80.jpg", + "links": [ + { + "nodeId": "6", + "longitude": 0.10658562598676391, + "latitude": -0.040154251354717285 + } + ] + }, + { + "id": "6", + "name": "Giardino", + "filename": "giardino80.jpg", + "links": [ + { + "nodeId": "5", + "longitude": 5.164444974383928, + "latitude": -0.18649274107908576 + } + ] + }, + { + "id": "7", + "name": "Sala", + "filename": "sala80.jpg", + "links": [ + { + "nodeId": "3", + "longitude": 5.493110085566132, + "latitude": -0.13095466183262028 + }, + { + "nodeId": "3", + "longitude": 4.029802180286774, + "latitude": -0.14455761762531627 + } + ] + } + ] +} \ No newline at end of file diff --git a/site/static_data/regions/abruzzo/9/plan/manifest.json b/site/static_data/regions/abruzzo/9/plan/manifest.json new file mode 100644 index 000000000..67e52fc20 --- /dev/null +++ b/site/static_data/regions/abruzzo/9/plan/manifest.json @@ -0,0 +1,92 @@ +{ + "name": "10", + "areas": [ + { + "id": "0", + "title": "Camera Adulti", + "name": "Camera Adulti", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [ + 788, 914, 1129, 914, 1129, 1139, 1167, 1142, 1166, 1225, 1021, 1226, + 1020, 1177, 787, 1175 + ], + "shape": "poly", + "href": "/abruzzo/10/0" + }, + { + "id": "1", + "title": "Giardino", + "name": "Giardino", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [577, 282, 1128, 282, 1130, 905, 439, 905, 435, 504, 576, 504], + "shape": "poly", + "href": "/abruzzo/10/1" + }, + { + "id": "2", + "title": "Corridoio", + "name": "Corridoio", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [ + 245, 987, 439, 984, 439, 911, 779, 914, 780, 1183, 1012, 1184, 1013, + 1226, 832, 1226, 831, 1435, 740, 1434, 739, 1088, 444, 1089, 444, 1235, + 244, 1235 + ], + "shape": "poly", + "href": "/abruzzo/10/2" + }, + { + "id": "3", + "title": "Garage", + "name": "Garage", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [243, 280, 567, 279, 567, 497, 431, 496, 431, 634, 244, 632], + "shape": "poly", + "href": "/abruzzo/10/3" + }, + { + "id": "4", + "title": "Camera Ragazzi", + "name": "Camera Ragazzi", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [839, 1234, 1167, 1235, 1166, 1436, 840, 1436], + "shape": "poly", + "href": "/abruzzo/10/4" + }, + { + "id": "5", + "title": "Bagno", + "name": "Bagno", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [243, 640, 430, 640, 430, 978, 243, 977], + "shape": "poly", + "href": "/abruzzo/10/5" + }, + { + "id": "6", + "title": "Sala", + "name": "Sala", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [450, 1094, 731, 1094, 732, 1436, 452, 1436], + "shape": "poly", + "href": "/abruzzo/10/6" + }, + { + "id": "7", + "title": "Cucina", + "name": "Cucina", + "fillColor": "#eab54d4d", + "strokeColor": "black", + "coords": [44, 1240, 443, 1242, 443, 1437, 44, 1436], + "shape": "poly", + "href": "/abruzzo/10/7" + } + ] +}