Skip to content

Commit

Permalink
uses pinboard 1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrothwell committed Nov 17, 2023
1 parent cb6d84f commit 290f0f6
Show file tree
Hide file tree
Showing 8 changed files with 125 additions and 85 deletions.
180 changes: 100 additions & 80 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@fortawesome/pro-light-svg-icons": "5.15.4",
"@fortawesome/pro-regular-svg-icons": "5.15.4",
"@fortawesome/pro-solid-svg-icons": "5.15.4",
"@phila/pinboard": "https://github.com/CityOfPhiladelphia/pinboard#e52a092",
"@phila/pinboard": "1.2.8",
"bulma": "^0.9.1",
"core-js": "^3.3.3",
"vue": "^2.6.10"
Expand Down
1 change: 1 addition & 0 deletions public/images/location-crosshairs-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/general/legendControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export default {
'width': '15px',
'height': '15px',
'font-size': '10px',
'background-color': '#0F4D90',
'background-color': '#9400c6',
// 'background-color': '#0F4D90',
},
'Official mail-in ballot drop boxes': {
'border-color': 'black',
Expand Down
5 changes: 5 additions & 0 deletions src/i18n/ch.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ export default {
'Election office': '选举办公室',
'Official mobile mail-in ballot return': '正式移動式郵寄选票投遞処',
'Official mail-in ballot drop box': '官方邮寄选票投票箱',
categoryType: {
'Election office': '选举办公室',
'Official mobile mail-in ballot return': '正式移動式郵寄选票投遞処',
'Official mail-in ballot drop box': '官方邮寄选票投票箱',
},
sections: {
'Election office': {
header: '选举办公室',
Expand Down
5 changes: 5 additions & 0 deletions src/i18n/en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ export default {
'Election office': 'Election offices',
'Official mobile mail-in ballot return': 'Official mobile mail-in ballot return',
'Official mail-in ballot drop box': 'Official mail-in ballot dropboxes',
categoryType: {
'Election office': 'Election offices',
'Official mobile mail-in ballot return': 'Official mobile mail-in ballot return',
'Official mail-in ballot drop box': 'Official mail-in ballot dropboxes',
},
sections: {
'Election office': {
header: 'Election offices',
Expand Down
5 changes: 5 additions & 0 deletions src/i18n/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ export default {
'Election office': 'Oficina Electoral',
'Official mobile mail-in ballot return': 'Sitio oficial para devolver boletas',
'Official mail-in ballot drop box': 'Buzón oficial de la votación por correo',
categoryType: {
'Election office': 'Oficina Electoral',
'Official mobile mail-in ballot return': 'Sitio oficial para devolver boletas',
'Official mail-in ballot drop box': 'Buzón oficial de la votación por correo',
},
sections: {
'Election office': {
englishName: 'Election office',
Expand Down
9 changes: 6 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ pinboard({
'Election office': {
title: 'Election offices',
titleSingular: 'Election office',
color: '#0F4D90',
color: '#9400c6',
// color: '#0F4D90',
},
'Official mobile mail-in ballot return': {
title: 'Official mobile mail-in ballot returns',
Expand All @@ -135,11 +136,13 @@ pinboard({
markerType: 'circle-marker',
circleMarkers:{
circleColors: {
'Election office': '#0f4d90',
// 'Election office': '#0f4d90',
'Election office': '#9400c6',
'Official mobile mail-in ballot return': '#721817',
'Official mail-in ballot drop box': '#4F6D0A',
},
weight: 0,
borderColor: 'white',
weight: 1,
radius: 8,
mobileRadius: 12,
size: 16,
Expand Down

0 comments on commit 290f0f6

Please sign in to comment.