Skip to content

Commit

Permalink
vote riders, vet the vote, the team rebrand
Browse files Browse the repository at this point in the history
  • Loading branch information
mojowen committed May 14, 2024
1 parent 47b3bda commit af12782
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
Binary file removed public/images/logos/all-vote-no-play.png
Binary file not shown.
Binary file added public/images/logos/the-team.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/logos/vet-vote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/logos/vote-riders.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 19 additions & 6 deletions src/components/page-partners/page-partners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ const partners: { img: string; name: string; url: string }[] = [
name: "ACLU Georgia",
url: "https://acluga.org/",
},
{
img: "all-vote-no-play.png",
name: "All Vote No Play",
url: "https://www.allvotenoplay.org/",
},
{
img: "alliance-for-youth-organizing.png",
name: "Alliance for Youth Organizing",
Expand Down Expand Up @@ -221,6 +216,11 @@ const partners: { img: string; name: string; url: string }[] = [
name: "UnidosUS",
url: "https://www.unidosus.org/",
},
{
img: "vet-the-vote.png",
name: "Vet the Vote",
url: "https://vetthe.vote/",
},
{
img: "voces.jpg",
name: "Voces",
Expand All @@ -236,6 +236,11 @@ const partners: { img: string; name: string; url: string }[] = [
name: "Voters Not Politicians",
url: "https://votersnotpoliticians.com/",
},
{
img: "vote-riders.png",
name: "Vote Riders",
url: "https://www.voteriders.org/",
},
{
img: "when-we-all-vote.png",
name: "When We All Vote",
Expand Down Expand Up @@ -356,6 +361,11 @@ const partners: { img: string; name: string; url: string }[] = [
name: "The Salty",
url: "https://www.saltydonut.com/",
},
{
img: "the-team.png",
name: "The Team",
url: "https://www.theteam.org/",
},
{
img: "tonys-chocolonely.png",
name: "Tony's Chocolonely",
Expand Down Expand Up @@ -388,6 +398,9 @@ const partners: { img: string; name: string; url: string }[] = [
},
];

const nameSort = ({ name: aName }: { name: String }, { name: bName }: { name: String }) =>
`${aName}`.toLowerCase().replace("the ", "") > `${bName}`.toLowerCase().replace("the ", "") ? 1 : -1;

@Component({
tag: "page-partners",
styleUrl: "page-partners.scss",
Expand All @@ -403,7 +416,7 @@ export class PagePartners {
<ui-card>
<h2>Past and Present Partners</h2>
<ul class="partners">
{partners.map(l => {
{partners.sort(nameSort).map(l => {
return (
<li>
<a href={l.url} target="blank">
Expand Down

0 comments on commit af12782

Please sign in to comment.