Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Diversity, Equity, and Inclusion
program-area: Diversity / Equity and Inclusion
program-area: Diversity / Equity / Inclusion
description: >
Hack for LA believes in radical inclusivity, and this extends to the causes of
our projects, from promoting inclusive language online to improving student
Expand All @@ -25,6 +25,6 @@ projects:
- id: 222602391
name: New Schools Today
image: /assets/images/projects/new-schools-today.jpg
image_alt: Team of students each with a laptop sitting around the conference table, attentively engege in a video conference call meeting.
image_alt: Team of students each with a laptop sitting around the conference table, attentively engage in a video conference call meeting.
link: https://www.hackforla.org/projects/new-schools-today
---
2 changes: 1 addition & 1 deletion _projects/new-schools-today.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ location:
visible: true
status: On Hold
program-area:
- Diversity, Equity & Inclusion
- Diversity / Equity / Inclusion
---
2 changes: 1 addition & 1 deletion _projects/writeforall.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ partner: Seeking
visible: true
status: On Hold
program-area:
- Diversity, Equity & Inclusion
- Diversity / Equity / Inclusion
---
14 changes: 7 additions & 7 deletions assets/js/current-projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ document.addEventListener("DOMContentLoaded",function(){
})

/**
* Retieves project data from jekyll _projects collection using liquid and transforms it into a javascript object
* Retrieves project data from jekyll _projects collection using liquid and transforms it into a javascript object
* The function returns a javascript array of objects representing all the projects under the _projects directory
*/
function retrieveProjectDataFromCollection(){
Expand Down Expand Up @@ -129,7 +129,7 @@ function retrieveProjectDataFromCollection(){
}

/**
* Given an input hehe of a project data array object as returned by the function `retrieveProjectDataFromCollection()`, this
* Given an input of a project data array object as returned by the function `retrieveProjectDataFromCollection()`, this
* function sorts the project twice.
* 1. It sort all projects in the array alphabetically on their `status` value
* 2. It sort all project by title for each status type
Expand Down Expand Up @@ -220,7 +220,7 @@ function updateUI(){
// The function updates the frequency of each filter based on the cards that are displayed on the page.
updateFilterFrequency(filterParams);

// Updates the filter tags show on the page based on the url paramenter
// Updates the filter tags show on the page based on the url parameter
updateFilterTagDisplayState(filterParams);

// Add onclick event handlers to filter tag buttons and a clear all button if filter-tag-button exists in the dom
Expand Down Expand Up @@ -253,7 +253,7 @@ function updateFilterFrequency(){
let filterFrequencyObject = allFilters.reduce((acc,curr)=> (acc[curr]=0,acc),{});


// Update values on the filterFrquencyObject if item in onPageFilter array exist as a key in this object.
// Update values on the filterFrequencyObject if item in onPageFilter array exist as a key in this object.
for(const item of onPageFilters){
if(item in filterFrequencyObject){
filterFrequencyObject[item] += 1;
Expand Down Expand Up @@ -318,7 +318,7 @@ function updateProjectCardDisplayState(filterParams){
}

/**
* Updates the filter tags show on the page based on the url paramenter
* Updates the filter tags show on the page based on the url parameter
*/
function updateFilterTagDisplayState(filterParams){
// Clear all filter tags
Expand Down Expand Up @@ -412,7 +412,7 @@ function filterTagOnClickEventHandler(){

/**
* Clear All Button Event Handler
* The function clears all URL parmeter by setting the history to '/'
* The function clears all URL parameter by setting the history to '/'
*/
function clearAllEventHandler(){
//Update URL parameters
Expand Down Expand Up @@ -514,7 +514,7 @@ return `
}

/**
* Takes a filter category name and array of filter stirings and returns the html string representing a single filter component
* Takes a filter category name and array of filter strings and returns the html string representing a single filter component
*/
function dropDownFilterComponent(categoryName,filterArray,filterTitle){
return `
Expand Down