From 1f852bbc5f2b059a04676914d1c3372f75590be7 Mon Sep 17 00:00:00 2001 From: Yun Ji Date: Fri, 30 Jun 2023 11:19:28 +0300 Subject: [PATCH 1/3] docs: add contributors map json file --- src/assets/contributors-map.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/assets/contributors-map.json diff --git a/src/assets/contributors-map.json b/src/assets/contributors-map.json new file mode 100644 index 000000000..812443098 --- /dev/null +++ b/src/assets/contributors-map.json @@ -0,0 +1,9 @@ +[ + { + "first_name": "yun", + "last_name": "ji", + "github_id": "actuallyyun", + "home_coordinates": "41.26613040056221, 0.905152180850496", + "favorite_crag_uuid": "8fe4fa78-fda9-5742-b807-00b2c31d7bcd" + } +] From eb24895140ef2c0a83fd1f4285df81bcbac63d87 Mon Sep 17 00:00:00 2001 From: Yun Ji Date: Sun, 2 Jul 2023 11:17:01 +0300 Subject: [PATCH 2/3] use geojson format for contributor map data --- src/assets/contributors-map.json | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/assets/contributors-map.json b/src/assets/contributors-map.json index 812443098..d41566e18 100644 --- a/src/assets/contributors-map.json +++ b/src/assets/contributors-map.json @@ -1,9 +1,16 @@ -[ - { - "first_name": "yun", - "last_name": "ji", - "github_id": "actuallyyun", - "home_coordinates": "41.26613040056221, 0.905152180850496", - "favorite_crag_uuid": "8fe4fa78-fda9-5742-b807-00b2c31d7bcd" - } -] +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "firstName": "Yun", + "favoriteCrag": "8fe4fa78-fda9-5742-b807-00b2c31d7bcd" + }, + "geometry": { + "type": "Point", + "coordinates": [0.905152180850496, 41.26613040056221] + } + } + ] +} From ed6707de5ce5209447810048f042fda8da63e18e Mon Sep 17 00:00:00 2001 From: viet nguyen Date: Sun, 2 Jul 2023 15:15:46 -0700 Subject: [PATCH 3/3] refactor: rename file, add github id --- src/assets/contributors-map.geojson | 35 +++++++++++++++++++++++++++++ src/assets/contributors-map.json | 16 ------------- 2 files changed, 35 insertions(+), 16 deletions(-) create mode 100644 src/assets/contributors-map.geojson delete mode 100644 src/assets/contributors-map.json diff --git a/src/assets/contributors-map.geojson b/src/assets/contributors-map.geojson new file mode 100644 index 000000000..016b7601b --- /dev/null +++ b/src/assets/contributors-map.geojson @@ -0,0 +1,35 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "firstName": "Yun", + "githubId": "actuallyyun", + "favoriteCrag": "8fe4fa78-fda9-5742-b807-00b2c31d7bcd" + }, + "geometry": { + "type": "Point", + "coordinates": [ + 0.905152180850496, + 41.26613040056221 + ] + } + }, + { + "type": "Feature", + "properties": { + "firstName": "Viet", + "githubId": "vnugent", + "favoriteCrag": "efcc68af-ad61-5df6-b21a-b754b65e97d9" + }, + "geometry": { + "type": "Point", + "coordinates": [ + -0.892151, + 39.659768 + ] + } + } + ] +} \ No newline at end of file diff --git a/src/assets/contributors-map.json b/src/assets/contributors-map.json deleted file mode 100644 index d41566e18..000000000 --- a/src/assets/contributors-map.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "firstName": "Yun", - "favoriteCrag": "8fe4fa78-fda9-5742-b807-00b2c31d7bcd" - }, - "geometry": { - "type": "Point", - "coordinates": [0.905152180850496, 41.26613040056221] - } - } - ] -}