Add new logo and new homepage image

This commit is contained in:
Daniele Pancottini 2023-04-25 19:57:34 +02:00
parent 2a99e3a129
commit 71b02bbf7d
3 changed files with 68 additions and 67 deletions

View File

@ -5,7 +5,7 @@ import { useDisclosure } from '@chakra-ui/react'
import PolygonModal from '@components/common/HomePage/PolygonModal/PolygonModal'
export default function Home() {
const imagePath = 'homepageBackgroundImage.png'
const imagePath = 'homepageBackgroundImage2.png'
const [mapContainerWidth, setMapContainerWidth] = useState<
number | undefined
@ -23,9 +23,8 @@ export default function Home() {
fillColor: '#FF279E',
strokeColor: 'black',
coords: [
4634, 1239, 4945, 1320, 5162, 1541, 5252, 1857, 5176, 2149, 4941,
2385, 4630, 2474, 4319, 2385, 4092, 2154, 4017, 1833, 4097, 1541,
4323, 1324,
4634, 1239, 4945, 1320, 5162, 1541, 5252, 1857, 5176, 2149, 4941, 2385,
4630, 2474, 4319, 2385, 4092, 2154, 4017, 1833, 4097, 1541, 4323, 1324,
],
shape: 'poly',
href: '#',
@ -50,8 +49,8 @@ export default function Home() {
fillColor: '#2C28FF',
strokeColor: 'black',
coords: [
3046, 207, 3280, 289, 3430, 486, 3430, 740, 3287, 952, 3044, 1032,
2799, 947, 2648, 740, 2646, 504, 2808, 279,
3046, 207, 3280, 289, 3430, 486, 3430, 740, 3287, 952, 3044, 1032, 2799,
947, 2648, 740, 2646, 504, 2808, 279,
],
shape: 'poly',
href: '#',
@ -63,7 +62,8 @@ export default function Home() {
fillColor: '#1A82FF',
strokeColor: 'black',
coords: [
2279,279,2496,356,2616,562,2579,779,2407,929,2174,929,1995,779,1958,553,2077,360
2279, 279, 2496, 356, 2616, 562, 2579, 779, 2407, 929, 2174, 929, 1995,
779, 1958, 553, 2077, 360,
],
shape: 'poly',
href: '#',
@ -75,7 +75,8 @@ export default function Home() {
fillColor: '#1ACBFF',
strokeColor: 'black',
coords: [
1707,535,1896,615,1980,809,1897,996,1710,1071,1515,989,1448,794,1523,614
1707, 535, 1896, 615, 1980, 809, 1897, 996, 1710, 1071, 1515, 989, 1448,
794, 1523, 614,
],
shape: 'poly',
href: '#',
@ -110,7 +111,7 @@ export default function Home() {
parentWidth={mapContainerWidth}
responsive={true}
src={imagePath}
map={{ name: "my-map", areas: mapAreas }}
map={{ name: 'my-map', areas: mapAreas }}
></ImageMapper>
<PolygonModal
key={decadeClicked}

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 804 KiB