-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
359 lines (344 loc) · 11.3 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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Bootstrap CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<!-- Fullpage.js CSS -->
<link
rel="stylesheet"
type="text/css"
href="./node_modules/fullpage.js/dist/fullpage.css"
/>
<!-- My CSS -->
<link rel="stylesheet" href="./styles/style.css" />
<link rel="stylesheet" href="./styles/index.css" />
<title>The Green Recipes Archive</title>
<link rel="icon" type="image/x-icon" href="./assets/imgs/Favicon.png" />
</head>
<body>
<!-- header -->
<div class="flex-row head" id="head">
<div class="flex-row">
<a href="index.html"
><p class="pageSelected">the green recipes archive</p></a
>
</div>
<div class="flex-row" style="gap: 20px">
<a href="./pages/archive.html"
><p class="pageNotSelected">archive</p></a
>
<a href="./pages/about.html#1"><p class="pageNotSelected">about</p></a>
</div>
</div>
<!-- slides -->
<div class="container" id="landingContainer">
<div
style="
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
"
>
<h1 style="font-style: italic">The</h1>
<h1>GREEN</h1>
<h1>RECIPES</h1>
<h1 style="font-style: italic">Archive</h1>
</div>
<div
class="roundTag center"
style="transform: translate(100vw, -75px)"
id="tag2"
>
<p>sustainability</p>
</div>
<div
class="roundTag center"
style="transform: translate(-100vw, 15px)"
id="tag3"
>
<p>Environment</p>
</div>
<h1 id="landingArrow" onclick="fullpage_api.moveSectionDown()">↓</h1>
</div>
<div id="runningTxtDiv">
<script>
// SCROLLING TEXT
let leftValue = 0;
let updMsg =
"how fast foods are talking about environment & sustainability";
function text(msg, ctrlwidth) {
msg = " — " + msg;
newmsg = msg;
while (newmsg.length < ctrlwidth) {
newmsg += msg;
}
document.write('<FORM NAME="Scrolltext">');
document.write(
'<INPUT id="runningTxt" NAME="text" VALUE= "' +
newmsg +
'" SIZE= ' +
ctrlwidth +
" disabled>"
);
document.write("</FORM>");
rollmsg(updMsg);
}
function rollmsg(msg) {
updMsg = msg;
leftValue += 10;
document.getElementById("runningTxt").scrollTo({
top: 0,
left: leftValue,
behavior: "smooth",
});
msg = " — " + msg;
newmsg = msg;
while (newmsg.length < ctrlwidth) {
newmsg += msg;
}
document.getElementById("runningTxt").attributes[2].value = newmsg;
setTimeout("rollmsg(updMsg)", 100);
}
msg = "how fast foods are talking about environment & sustainability";
ctrlwidth = innerWidth;
text(msg, ctrlwidth);
</script>
</div>
<img
src="./assets/imgs/landingHands.png"
class="bigCenterImg"
id="landingImg"
/>
<div id="fullpage">
<div class="section"></div>
<div class="section alTop">
<h2>
<b>34%</b> of all man-made <b>CO2</b> emissions are generated by the
food industry, particularly fast food companies.
<br />
<div class="roundTag normal">
<a
href="https://report.ipcc.ch/ar6wg3/pdf/IPCC_AR6_WGIII_SummaryForPolicymakers.pdf"
target="_blank"
>
<p>ipcc annual report 2022</p></a
>
</div>
</h2>
<div id="rect" class="rect"></div>
<img
src="assets/imgs/misurini.png"
alt="misura"
class="bigCenterImg"
style="height: 90%; left: 60px; bottom: 0; z-index: 0"
/>
</div>
<div class="section alTop">
<h2>
The interest in <b>sustainability</b> has risen from 2008 (defined as
the Earth’s year by UN) in and now it is on everyone’s lips.
<br />
<div class="roundTag normal">
<a
href="https://drive.google.com/file/d/1hq1SnR1yJd0eETU2mO6MgLmlwgUEjjdQ/view"
target="_blank"
>
<p>report: the green fever</p></a
>
</div>
</h2>
<img
class="bigCenterImg"
src="./assets/imgs/2008.png"
style="height: 65%"
/>
</div>
<div class="section alTop">
<h2>
Even fast food companies have therefore decided to give space to the
<b>environmental issue</b> on their websites.
</h2>
<img class="bigCenterImg" src="./assets/imgs/Sustainability page.png" />
</div>
<div class="section alTop">
<h2>
However, are companies really <b>doing something</b> for the
environment or...
</h2>
<img
class="bigCenterImg"
src="./assets/imgs/another recipe2.png"
style="height: 70%"
/>
<img
id="imgToMove"
class="bigCenterImg"
src="./assets/imgs/another recipe1.png"
style="height: 70%"
/>
</div>
<div class="section alTop">
<h2>
This project looks at the websites of the
<b>Top 8 fast food companies</b> in the world.
</h2>
<img
id="imgToAppear"
class="bigCenterImg"
src="./assets/imgs/loghi.png"
/>
</div>
<div class="section alTop">
<h2 id="textToChange">
To better understand their green communication, several
environment-related <b>keywords</b> were chosen to be looked for in
each website...
</h2>
<div class="rect" id="clip-circle">
<img
src="./assets/imgs/website.png"
class="bigCenterImg"
style="height: 40%; bottom: 40px"
/>
</div>
</div>
<div class="section alTop">
<h2>
Each sentence was classified based on specific discriminants:
<b>topic, communication aim, evidence</b>.
</h2>
<img
src="./assets/imgs/GIF-ricetta.gif"
class="bigCenterImg"
style="height: 55%"
/>
</div>
<div class="section alTop">
<h2>
These discriminants are now ingredients of <b>9 recipes</b>, showing
the most <b>recurring patterns</b> of the dataset, from the most to
the less used:
</h2>
<a href="./pages/archive.html">
<img
src="./assets/imgs/Last page.png"
class="bigCenterImg"
style="
height: 85%;
bottom: -20px;
right: 0;
transform: translateX(-40%);
"
/>
<img
src="./assets/imgs/allRecipe.png"
class="bigCenterImg"
id="allRecipesImg"
/>
</a>
</div>
<!-- footer -->
<div class="section fp-auto-height">
<div class="newFooter">
<div
class="flex-row"
style="
padding: 20px 40px 0 40px;
margin-top: 0px;
justify-content: space-between;
border-top: 1px solid;
"
>
<div class="flex-column" style="width: 20%">
<p style="font-size: 1rem">AUTHORS:</p>
<p style="font-size: 10pt; margin-top: -8px">
SILVIA ALTAMURA <br />
ANA DORIC <br />
WANLIN LI <br />
JESSICA MORESCHI <br />
MARTINA PAGGI <br />
MATTEO REPETTO <br />
LUCREZIA VALENTINI
</p>
</div>
<div class="flex-column" style="width: 20%">
<p style="font-size: 1rem">FACULTY:</p>
<p style="font-size: 10pt; margin-top: -8px">
MICHELE MAURI <br />ÁNGELES BRIONES <br />GABRIELE COLOMBO
<br />SIMONE VANTINI <br />SALVATORE ZINGALE
</p>
</div>
<div class="flex-column" style="width: 20%">
<p style="font-size: 1rem">TEACHING ASSISTANTS:</p>
<p style="font-size: 10pt; margin-top: -8px">
ELENA AVERSA <br />ANDREA BENEDETTI <br />TOMMASO ELLI
<br />BEATRICE GOBBO <br />ARIANNA BELLANTUONO
</p>
</div>
<div class="flex-column" style="width: 30%; gap: 20px">
<div class="flex-row" style="gap: 20px">
<a href="https://densitydesign.org/" target="_blank"> <img src="./assets/imgs/logo density.svg" style="height: 50px;"></a>
<a href="https://www.polimi.it/" target="_blank"> <img src="./assets/imgs/logoPoli.svg" style="height: 50px"></a>
</div>
<p style="font-size: 10pt">
MEDIAZIONI ALGORITMICHE. DESIGN IN A DATA INTENSIVE SOCIETY.
<br />The Final Synthesis Design Studio is a course at
Politecnico di Milano for the Master's Degree in Communication
Design.
</p>
</div>
</div>
</div>
</div>
<!-- never displayed section, just to allow last scroll to archive -->
<div class="section"></div>
</div>
<!-- ******************* Utilities ******************* -->
<!-- Javascript libraries -->
<!-- d3.js -->
<script src="https://d3js.org/d3.v7.min.js"></script>
<!-- jQuery and Popper. They are required by Bootstrap, we discourage using jQuery -->
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"
></script>
<!-- Bootstrap -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"
></script>
<!-- Mark js -->
<script
src="./node_modules/mark.js/dist/mark.min.js"
charset="UTF-8"
></script>
<script src="./node_modules/mark.js/dist/mark.js" charset="UTF-8"></script>
<!-- Fullpage js -->
<script src="./node_modules/fullpage.js/vendors/easings.min.js"></script>
<script
type="text/javascript"
src="./node_modules/fullpage.js/dist/fullpage.js"
></script>
<!-- My js file -->
<script src="./scripts/index.js"></script>
</body>
</html>