Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vote riders, vet the vote, the team rebrand #82

Merged
merged 1 commit into from
May 14, 2024
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
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
Loading