-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start work * add pins to map * update ten year map page * update position of pins * address PR comments * Merge master * Clean up and refactor a few things * add hatfield info * adjust pins on screen resize * Merge branch 'master' into add-ten-year-map-page * remove unused code, add test for ten year map page * update hatfield info * Merge branch 'master' into add-ten-year-map-page * address PR comments * adjust third image, fix carousel * address PR comments related to tidying CSS * addressed PR comments Co-Authored-By: faucomte97 <[email protected]>
- Loading branch information
1 parent
4266b74
commit 9c7c69d
Showing
13 changed files
with
634 additions
and
227 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
let currentActivePin; | ||
|
||
function setActivePin(city) { | ||
if (currentActivePin) { | ||
currentActivePin.setAttribute("fill", "#FFC709"); | ||
} | ||
|
||
currentActivePin = document.getElementById(city + "-pin").getElementsByTagName("svg")[0] | ||
currentActivePin.setAttribute("fill", "#EE0857"); | ||
} | ||
|
||
$(document).ready(function () { | ||
setActivePin("hatfield"); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
TEN_YEAR_MAP_BANNER = { | ||
"title": "Celebrate", | ||
"subtitle": "Join us in celebrating our 10 year anniversary", | ||
"text": "", | ||
"image_class": "banner--picture--educate", | ||
"alt": "Female teacher helping young female student on a laptop", | ||
} | ||
|
||
TEN_YEAR_MAP_HEADLINE = { | ||
"title": "Code for Life is turning 10!", | ||
"description": "For our 10th anniversary, we're going global! Click on the pins on the map " | ||
"to check out what events are being run by our amazing volunteers from around the world.", | ||
} |
Oops, something went wrong.