forked from rfcaronan/theworldinsideourhome
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·252 lines (241 loc) · 9.54 KB
/
index.html
File metadata and controls
executable file
·252 lines (241 loc) · 9.54 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>The World Inside Our Home</title>
<!-- Standard meta -->
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- CSS link -->
<link rel="stylesheet" href="css/style.css" />
<!-- Google font link -->
<link
href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Pangolin&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Montez&display=swap"
rel="stylesheet"
/>
<!-- Load d3.js -->
<script type="text/javascript" src="https://d3js.org/d3.v4.js"></script>
<script
type="text/javascript"
src="https://d3js.org/d3-geo-projection.v2.min.js"
></script>
<script
type="text/javascript"
src="https://d3js.org/d3-scale-chromatic.v1.min.js"
></script>
<!-- Scrollmagic -->
<script
type="text/javascript"
src="//cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/ScrollMagic.min.js"
></script>
<script
type="text/javascript"
src="//cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/plugins/debug.addIndicators.min.js"
></script>
<script
type="text/javascript"
src="//cdnjs.cloudflare.com/ajax/libs/gsap/1.14.2/TweenMax.min.js"
></script>
<script
type="text/javascript"
src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"
></script>
</head>
<body>
<div id="body-container">
<!-- Project masthead -->
<div class="heading-container center-text" id="heading-container">
<!-- Project title -->
<div class="project-title">
<h1
class="project-title black-font bold-text center-text no-line-height"
>
<a href="index.html" class="black-font">The World Inside Our
<span class="home-cursive home-color">Home</span></a>
</h1>
</div>
<!-- Industry buttons -->
<div class="industry-buttons">
<!-- <button
id="buttonAbout"
class="about-button grey-hover"
type="button"
value="About"
>
<a href="about.html">About</a>
</button> -->
<button
id="buttonHome"
class="selected pop-btn pink-hover"
type="button"
value="Home"
>
Home
</button>
<button
id="buttonFood"
class="popup pop-btn"
type="button"
value="Food"
>
Food
</button>
<button
id="buttonTextile"
class="popup pop-btn"
type="button"
value="Textile"
>
Textile
</button>
<button
id="buttonWood"
class="popup pop-btn"
type="button"
value="Wood"
>
Wood
</button>
</div>
</div>
<div class="main-container main-container-flex">
<div class="left-side-container">
<!-- Image of the house -->
<div class="image-container">
<img
src="images/base_colored.png"
alt="House Colored"
class="house house-images"
id="house"
/>
<img
src="images/base_lines.png"
alt="House Blueprint Black/White"
class="house-base house-images"
id="house-base"
/>
<img
src="images/overlay_food.png"
alt="Food Products"
class="popupimg1 house-images"
id="foodProducts"
/>
<img
src="images/overlay_textile.png"
alt="Textile Items"
class="popupimg3 house-images"
id="textileProducts"
/>
<img
src="images/overlay_wood.png"
alt="Wooden Furniture"
class="popupimg2 house-images"
id="woodProducts"
/>
</div>
</div>
<div class="right-side-container popup-text-container">
<div class="project-intro" id="project-intro">
<div class="intro-text">
<p>Imagine this is your UK home.</p>
<p>
It’s full of things, but where did they come from? How much do you know about them? The things in our home are, in myriad ways, mysterious to most of us.
</p>
<p>
We’re here to unfurl some of the mysteries behind our connection to places and people around the world through the common things we have at home.
</p>
<p>
Select an industry to start exploring.
</p>
</div>
<div class="project-info-div">
<!-- Project members and publication date -->
<p class="project-info credits no-margin-bottom">Details on the project and sources and methodology are available in the <span class="text-with-underline grey-hover"><a href = about.html>About</a></span> and <span class="text-with-underline grey-hover"><a href = data.html>Methodology</a></span> pages.</p>
<br>
<p class="credits no-margin-bottom">
BY <span class="bold-text">ROWENA F. CARONAN</span>,
<span class="bold-text">NAIMISH KESWANI</span>, AND
<span class="bold-text">MARIA LAAR</span>
</p>
<p class="credits caption no-margin-bottom">
Illustration of homes edited by
<span class="bold-text">LARRY CAYCO</span>
</p>
<p class="credits no-margin-bottom">MAY 2020</p>
</div>
</div>
<div class="food-pop popup-div popup" id="foodpop">
<h2 class="heading-title black-font bold-text center-text">
Seven out of 10 countries supply food to the UK
</h2>
<p class="white-font">
Over the last decade, the UK has imported food from, on average, 177 countries each year. Imports from seven EU countries—the Netherlands, Ireland, France, Germany, Spain, Italy, and Belgium—have consistently made up nearly two-thirds of the total import bill each year.
</p>
<p class="white-font">
Use our map to explore the countries connected to what you eat.
<span class="popup-link black-font center-text bold-text"
><a
class="food-link popup-link black-font grey-hover"
href="food.html"
>Explore</a
></span
>
</p>
</div>
<div class="textile-pop popup-div popup" id="textilepop">
<h2 class="heading-title black-font bold-text center-text">
175 countries in the world are responsible for most of the clothing and textiles people in the UK use in their day to day lives
</h2>
<p class="white-font">
The United Kingdom imported clothing worth £20 billion in 2019, with China and Bangladesh capturing the lion’s share of the market. 66% of these imports come from non-EU countries, most of them based in Asia.
</p>
<p class="white-font">
Hit the explore button to learn more about the lifecycle of textiles in the United Kingdom.
<span class="popup-link black-font center-text bold-text"
><a
class="food-link popup-link black-font grey-hover"
href="textile.html"
>Explore</a
></span
>
</p>
</div>
<div class="wood-pop popup-div popup" id="woodpop">
<h4 class="heading-title black-font bold-text center-text">
In 2017, the UK imported 9.2 million m³ of wood
</h4>
<p class="white-font">
From 2008 to 2017, the UK has imported 82.6 million m³ of
wood. The top 5 importing countries in 2017 were Sweden, Russia, Canada, Finland and Latvia, followed by China, Ireland, Germany, and Ukraine. These are the countries from where wood has travelled in just one year. In the early 2000s, wood was coming from countries such as Guyana, Malaysia, and Chile.
</p>
<p class="white-font">
Hit explore to learn more about where UK sources its wood.
<span class="popup-link black-font center-text bold-text"
><a
class="food-link popup-link black-font grey-hover"
href="wood.html"
>Explore</a
></span>
</p>
</div>
</div>
</div>
</div>
<!-- START OF JAVASCRIPT LINKS -->
<script type="text/javascript" src="js/script.js"></script>
<!-- <script type="text/javascript"src="js/sticky.js"></script> -->
<!-- END OF JAVASCRIPT LINKS -->
</body>
</html>