-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
250 lines (211 loc) · 9.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Photo Essay: New Yorkers protest May 26 massacre of Palestinians by Israel</title>
<!-- Google fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">
<style>
body {
margin: 0;
font-size: 20px;
font-family: Georgia, 'Times New Roman', Times, serif;
text-rendering: optimizeLegibility;
}
.content {
max-width: 640px;
margin: auto;
}
.header {
padding: 3em 0;
}
a {
color: #f05349;
}
.footer {
background: #f4f4f4;
text-align: center;
font-size: 0.8em;
margin-top: 4em;
padding: 4em 0;
}
figure {
margin: 0;
padding-bottom: 1.2em;
}
figcaption {
font-size: 0.8em;
text-align: center;
margin-top: 0.5em;
color: #666;
}
h1 {
font-family: 'Lora', Georgia, serif;
font-weight: bold;
font-size: 3em;
line-height: 1.1;
}
.subhead {
font-family: 'Lora', Georgia, serif;
}
iframe,
img,
video {
max-width: 100%;
}
p {
line-height: 1.6;
margin: 0;
padding-bottom: 1.2em;
}
ul {
margin: 0;
padding-bottom: 1em;
line-height: 1.6;
}
iframe {
padding-bottom: 1.2em;
}
.full-width figure {
text-align: center;
}
code {
font-family: 'Courier New', monospace;
background: #fff880;
}
.sticky-thing {
position: sticky;
top: 0;
height: 100vh;
width: 100%;
overflow: hidden;
}
.sticky-thing img,
.sticky-thing video {
width: 100%;
height: 100%;
object-fit: cover;
}
/* margin on mobile */
@media (max-width: 640px) {
body {
font-size: 18px;
}
.content {
padding-left: 0.5em;
padding-right: 0.5em;
}
}
</style>
<link href="scrolly-styles.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/intersection-observer.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/scrollama/3.2.0/scrollama.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/7.3.0/d3.min.js"></script>
</head>
<body>
<div class="content">
<div class="header">
<h1>Photo Essay: New Yorkers protest May 26 massacre of Palestinians by Israel</h1>
<p class="subhead">This is a scrolly-photoessay written as part of the Lede Program at the Columbia School of Journalism.</p>
</div>
<div class="byline">
<p>By <a href="https://www.linkedin.com/in/architjm/">Archit 🍉</a></p>
</div>
<p>Two days after the International Court of Justice <a href="https://www.aljazeera.com/program/newsfeed/2024/5/26/whats-happened-in-gaza-since-icj-ordered-israel-stop-rafah-assault">ordered</a> Israel to halt its on-going genocide of Palestinian people in the southernmost part of the Gaza Strip, the settler-colonial state <a href="https://www.aljazeera.com/news/2024/5/28/what-happened-when-israel-attacked-rafah">dropped</a> seven 900kg bombs as well as missiles on a displacement camp that they marked safe. At least 80 Palestinians were massacred in the attack. As per the White House, this attack did not <a href="https://www.politico.com/news/2024/05/28/rafah-strike-biden-red-line-00160258">cross</a> President Joe Biden's "red line." But it did finally cross conservative media personality Piers Morgan's "red line," who has finally demanded a <a href="https://thehill.com/policy/international/4687725-piers-morgan-benjamin-netanyahu-calls-for-cease-fire-rafah/">ceasefire</a>.</p>
<p>On May 27, people across the world <a href="https://www.theguardian.com/world/video/2024/may/28/tel-aviv-police-use-water-cannon-as-global-protests-ramp-up-after-israeli-strike-on-rafah-video">protested</a> against Israel's on-going genocide and the liberation of Palestine. The photo essay below shows images from the protest in New York, which began at Zuccotti Park at 2 p.m. The protest was organized by NYC Healthcare Workers For Palestine and Within Our Lifetime and had several hundred supporters from all ages and professions. The protest in New York City was just one of many global demonstrations calling for an end to the violence and support for Palestinian rights. These images capture the passion, dedication, and diversity of the protesters on May 26, 2024. Since then several protests have happened in NYC.</p>
</div>
<section id="scrolly-images" class="scrolly-container">
<div class="sticky-thing">
<img src="image1.jpg" alt="Protest image">
<video src="" style="display: none;" muted></video>
</div>
<div class="steps-container">
<div class="step" id="step1">
<div>
<p>As the rain poured, the protest continued with chants — "Disclose, Divest, We Will Not Stop, We Will Rest" and "Free, Free, Free Palestine." This was also live-streamed to viewers in Palestine. </p>
</div>
</div>
<div class="step" id="step2">
<p>A married couple of Jewish faith were distributing 🍉 pins.</p>
</div>
<div class="step" id="step3">
<p> Several protestors rushed to take their posters after the rain washed them.</p>
</div>
<div class="step" id="step4">
<p> Ejlat Feur, one of the makers of 🍉 pin, walks in front of New York Police Department on bikes. </p>
</div>
<div class="step" id="step5">
<p>A person who uses a wheelchair takes a 🍉 pin at the protest.</p>
</div>
<div class="step" id="step6">
<p> Some of the phrases on the person's umbrella said "GenocideJoe,", "Cease-fire Now", and. "Biden ➡️Traitor". </p>
</div>
<div class="step" id="step7">
<p>As the protestors cross the street, a person in a nearby car waves a Palestinian flag in a show of solidarity with the demonstration.</p>
</div>
<div class="step" id="step8">
<p>A volunteer on a bicycle rides alongside the demonstration to keep the protestors safe from pro-Israel aggressors.</p>
</div>
<div class="step" id="step9">
<p>Protestors march across a crosswalk, while on the opposite side, NYPD officers monitor the demonstration. Where do you stand?</p>
</div>
<div class="step" id="step10">
<p>Protestors march across a crosswalk, with one demonstrator leading chants in support of Gaza.</p>
</div>
</div>
<script>
(() => {
const scroller = scrollama()
scroller
.setup({
parent: document.querySelector("#scrolly-images"),
step: ".step",
offset: 0.6,
})
.onStepEnter(function ({ element, index, direction }) {
console.log("Entering step:", index, "Direction:", direction);
const event = new CustomEvent("stepin", { detail: { direction: direction } });
element.dispatchEvent(event);
})
.onStepExit(function ({ element, index, direction }) {
const event = new CustomEvent("stepout", { detail: { direction: direction } });
if (direction === "up" && element.previousElementSibling) {
const event = new CustomEvent("stepin", { detail: { direction: direction } });
element.previousElementSibling.dispatchEvent(event);
}
})
window.addEventListener("resize", scroller.resize)
})()
function updateMedia(selector, mediaType, src) {
const container = d3.select(selector).select(".sticky-thing");
if (mediaType === "image") {
container.select("img").style("display", "block").attr("src", src);
container.select("video").style("display", "none");
} else if (mediaType === "video") {
container.select("img").style("display", "none");
const video = container.select("video")
.style("display", "block")
.attr("src", src)
.node();
video.muted = true;
video.play();
}
}
d3.select("#step1").on('stepin', () => updateMedia("#scrolly-images", "image", "image1.jpg"));
d3.select("#step2").on('stepin', () => updateMedia("#scrolly-images", "image", "image2.jpg"));
d3.select("#step3").on('stepin', () => updateMedia("#scrolly-images", "image", "image3.jpg"));
d3.select("#step4").on('stepin', () => updateMedia("#scrolly-images", "image", "image4.jpg"));
d3.select("#step5").on('stepin', () => updateMedia("#scrolly-images", "image", "image5.jpg"));
d3.select("#step6").on('stepin', () => updateMedia("#scrolly-images", "image", "image6.jpg"));
d3.select("#step7").on('stepin', () => updateMedia("#scrolly-images", "image", "image7.jpg"));
d3.select("#step8").on('stepin', () => updateMedia("#scrolly-images", "image", "image8.jpg"));
d3.select("#step9").on('stepin', () => updateMedia("#scrolly-images", "image", "image9.jpg"));
d3.select("#step10").on('stepin', () => updateMedia("#scrolly-images", "video", "video10.mp4"));
</script>
</body>
</html>