Skip to content

Commit afae1a8

Browse files
authored
blm: convert to banner (#3246)
We originally discussed keeping the BLM landing page up for a week. This is a suggested implementation for what we can replace it with. It makes a new landing page /en/black-lives-matter/ that preserves the entire original BLM landing site and adds a link to it using a new banner.
1 parent ce944b7 commit afae1a8

6 files changed

Lines changed: 256 additions & 201 deletions

File tree

build.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,13 @@ function getSource (callback) {
271271
current: latestVersion.current(versions),
272272
lts: latestVersion.lts(versions)
273273
},
274-
banner: {
274+
blacklivesmatter: {
275275
visible: true,
276+
text: '#BlackLivesMatter',
277+
link: '/en/black-lives-matter/'
278+
},
279+
banner: {
280+
visible: false,
276281
text: 'New security releases are available',
277282
link: '/en/blog/vulnerability/june-2020-security-releases/'
278283
}

layouts/css/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
$body-max-width: 980px;
22

3+
$black: #000;
34
$white: #fff;
45

56
$node-green: #43853d;

layouts/css/page-modules/_home.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
.home-blacklivesmatter {
2+
padding-top: 10px;
3+
font-size: 16px;
4+
color: $gray;
5+
}
6+
7+
.home-blacklivesmatter-banner {
8+
font-size: 130%;
9+
background-color: $node-gray;
10+
padding: 5px 15px;
11+
border-radius: 2px;
12+
margin-top: 1em;
13+
a {
14+
background-color: $black;
15+
color: $white;
16+
padding: .5em;
17+
transition: padding .2s ease-in-out;
18+
&:hover {
19+
padding: .6em;
20+
}
21+
}
22+
}
23+
124
.home-version {
225
padding-top: 10px;
326
font-size: 16px;

layouts/index.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212

1313
{{{ contents }}}
1414

15+
{{#if project.blacklivesmatter.visible}}
16+
<p class="home-blacklivesmatter home-blacklivesmatter-banner">
17+
<a href="{{ project.blacklivesmatter.link }}">{{ project.blacklivesmatter.text }}</a>
18+
</p>
19+
{{/if}}
20+
1521
{{#if project.banner.visible}}
1622
<p class="home-version home-version-banner">
1723
<a href="{{ project.banner.link }}">{{ project.banner.text }}</a>

locale/en/black-lives-matter.md

Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
---
2+
layout: black-lives-matter.hbs
3+
---
4+
5+
<section id="lives">
6+
7+
* Ahmaud Arbery
8+
* Akai Gurley
9+
* Akiel Denkins
10+
* Alfred Olango
11+
* Alton Sterling
12+
* Anthony Hill
13+
* Anthony Lamar Smith
14+
* Antwon Rose II
15+
* Ariane McCree
16+
* Botham Jean
17+
* Brandon Webber
18+
* Brendon Glenn
19+
* Breonna Taylor
20+
* Charly Keunang
21+
* Christian Taylor
22+
* Christopher Whitfield
23+
* Danny Ray Thomas
24+
* Dante Parker
25+
* Darius Tarver
26+
* DeAndre Ballard
27+
* DeJuan Guillory
28+
* Delrawn Small
29+
* De’Von Bailey
30+
* Dontre Hamilton
31+
* D’ettrick Griffin
32+
* Emantic Fitzgerald Bradford Jr
33+
* Eric Garner
34+
* Eric Logan
35+
* Ezell Ford
36+
* Finan H. Berhe
37+
* Freddie Gray
38+
* George Floyd
39+
* Gregory Gunn
40+
* Gregory Hill Jr
41+
* JaQuavion Slaton
42+
* Jamar Clark
43+
* Jamarion Robinson
44+
* Jamee Johnson
45+
* Jemel Roberson
46+
* Jerame Reid
47+
* Jimmy Atchison
48+
* John Crawford III
49+
* Jonathan Ferrell
50+
* Jonathan Hart
51+
* Jordan Baker
52+
* Jordan Edwards
53+
* Julius Johnson
54+
* Kajieme Powell
55+
* Keith Childress
56+
* Keith Lamont Scott
57+
* Kendrec McDade
58+
* Kwame Jones
59+
* Laquan McDonald
60+
* Larry Jackson Jr
61+
* Manuel Loggins Jr
62+
* Mario Woods
63+
* Maurice Granton
64+
* Michael Brown
65+
* Michael Dean
66+
* Mike Ramos
67+
* Miles Hall
68+
* Patrick Harmon
69+
* Philando Castile
70+
* Quintonio LeGrier
71+
* Ramarley Graham
72+
* Robert Lawrence White
73+
* Rumain Brisbon
74+
* Ryan Twyman
75+
* Samuel David Mallard
76+
* Samuel DuBose
77+
* Sandra Bland
78+
* Sean Reed
79+
* Stephon Clark
80+
* Steven Demarco Taylor
81+
* Tamir Rice
82+
* Terence Crutcher
83+
* Terrance Franklin
84+
* Terrence Sterling
85+
* Tony McDade
86+
* Tony Robinson
87+
* Trayvon Martin
88+
* Victor White III
89+
* Walter Scott
90+
* Wendell Allen
91+
* William Green
92+
* Willie McCoy
93+
* Yassin Mohamed
94+
* &hellip;[and](https://mappingpoliceviolence.org/) [countless](https://twitter.com/samswey/status/1259254114606886913)
95+
[more](https://apps.npr.org/documents/document.html?id=6933593-NPR-CodeSwitch-Saytheirnameslistv3)
96+
[lives](https://ebwiki.org/)
97+
not listed here, taken by violence and brutality.
98+
99+
</section>
100+
101+
White supremacy and police brutality are global problems. Every Black life
102+
lost to police murder globally matters and mattered. The above list
103+
contains the names of Black people murdered by police brutality in the
104+
U.S. since 2009. This is because the U.S. is the origin of the Black Lives
105+
Matter movement and currently the heart of the resistance.
106+
107+
## Where you can donate:
108+
109+
* Donate to the [Official George Floyd Memorial Fund](https://www.gofundme.com/f/georgefloyd).
110+
* Donate to the [I Run With Maud](https://www.gofundme.com/f/i-run-with-maud) fundraiser for Ahmaud Arbery.
111+
* Donate to the [Justice for Mike Ramos](https://www.gofundme.com/f/justice-for-mike-ramos) fundraiser.
112+
* Find and donate to bail funds via the [National Bail Fund Network](https://www.communityjusticeexchange.org/nbfn-directory).
113+
* [Reclaim the Block](https://www.facebook.com/reclaimtheblock/) has published a [Google Doc of organizations to donate to](https://docs.google.com/document/d/1yLWGTQIe3967hdc9RSxBq5s6KKZHe-3_mWp5oemd7OA/preview?pru=AAABcpUiX3k*Y6Q4I6UBtkH3lLz9GVLg0A).
114+
115+
<section id="update" class="center">
116+
117+
*We will update this list as appropriate*
118+
119+
</section>
120+
121+
## Our Commitment
122+
123+
It would be wrong for us to ignore the unearned privilege that exists in
124+
Node.js. Much of the project leadership is white, and a majority are men.
125+
We are and have been systematically complicit in perpetuating the issues
126+
that led us to where we are. We can't change how we've built out the
127+
project's leadership to date, but we can change how we build it moving
128+
forward.
129+
130+
We are dedicated to being a part of the solution. We will actively center
131+
the Black community and uplift Black voices. We will share projects
132+
founded and built by Black community members. We will hold ourselves
133+
accountable, fulfill our promises, and make changes as needed. While it is
134+
our responsibility to hold ourselves accountable, we welcome your help. We
135+
invite you to share ways that we can do better. Email
136+
[blacklivesmatter@nodejs.org](mailto:blacklivesmatter@nodejs.org)
137+
or reach out to any of our project leaders.
138+
139+
<section id="here-for-you">
140+
141+
To Black folks looking for access: We're here for you.
142+
143+
To Black people looking for amplification: We're here for you.
144+
145+
To Black members of our community seeking collaboration: We're here for
146+
you.
147+
148+
</section>
149+
150+
The responsibility to dismantle white supremacy does not fall on the Black
151+
community. It falls on the rest of us.
152+
153+
## Taking Action
154+
155+
We will work with any Black community member who wishes to contribute to
156+
Node.js. Please contact us at [blacklivesmatter@nodejs.org](mailto:blacklivesmatter@nodejs.org)
157+
or [@nodejs](https://twitter.com/nodejs) on Twitter with any questions.
158+
159+
We have an upcoming free online [collaboration summit](https://github.com/openjs-foundation/summit#upcoming-events).
160+
There are [many different sessions](https://github.com/openjs-foundation/summit/issues?q=is%3Aissue+is%3Aopen+label%3A%22Session+Proposal%22)
161+
across various [OpenJS projects](https://openjsf.org/projects/), including Node.js.
162+
We have an [orientation guide](https://github.com/openjs-foundation/summit/blob/master/2020-06-23-Austin/orientation.md)
163+
to help you figure out how you might want to take part. If you have any questions or
164+
want to talk about anything, please reach out to [blacklivesmatter@nodejs.org](mailto:blacklivesmatter@nodejs.org).
165+
166+
Moving forward we plan to offer ongoing support, mentorship, and sponsorship to
167+
help those from the Black community get involved in our project. We will
168+
also be analyzing our existing processes and governance to see what changes
169+
we can make to make sure our project is the kind of environment that the
170+
Black community wants to participate in.
171+
172+
Please feel welcome to contact
173+
[Technical Steering Committee](https://github.com/nodejs/node#tsc-technical-steering-committee)
174+
and [Community Committee](https://github.com/nodejs/community-committee#community-committee-members)
175+
members. The preceding links contain email addresses for all members. If
176+
you prefer, you can contact any of the following members on Twitter:
177+
178+
<section id="we-are-here-for-you">
179+
180+
* [Abraham Jr. Agiri](https://twitter.com/codeekage)
181+
* [Ben Michel](https://twitter.com/obensource)
182+
* [James M Snell](https://twitter.com/jasnell)
183+
* [Joe Sepi](https://twitter.com/joe_sepi)
184+
* [Matheus Marchini](https://twitter.com/mmarkini)
185+
* [Myles Borins](https://twitter.com/MylesBorins)
186+
* [Rich Trott](https://twitter.com/Trott)
187+
* [Shelley Vohr](https://twitter.com/codebytere)
188+
* [Tierney Cyren](https://twitter.com/bitandbang)
189+
190+
</section>
191+
192+
<hr id="break">
193+
194+
<section id="it-is-temporary">
195+
196+
If you're looking for docs, see https://nodejs.org/en/docs/.
197+
198+
To download Node.js, see https://nodejs.org/en/download/.
199+
200+
For information on the recent security release, see
201+
[the security release blog post](https://nodejs.org/en/blog/vulnerability/june-2020-security-releases/).
202+
203+
</section>

0 commit comments

Comments
 (0)