-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
286 lines (211 loc) · 10.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Sophie - Home</title>
<link rel="shortcut icon" href="assets/favicon.png" type="image/png-icon">
<script src='https://kit.fontawesome.com/cb6fbd44a4.js' crossorigin='anonymous'></script>
<link rel="stylesheet" href="styles/style.css">
</head>
<body class="index">
<!-- HEADER -->
<header class="header">
<!-- Logo -->
<div class="logo">
<!-- clicking on the logo takes you to the main page -->
<a href="index.html">Sophie</a>
</div>
<!-- Hamburger button -->
<button class="hamburger">
<i class="fas fa-bars" aria-label="Navigation menu"></i>
</button>
<!-- Header Nav -->
<nav class="nav">
<ul>
<li>
<a class="nav-link" href="./index.html">home</a>
</li>
<li>
<a class="nav-link" href="#about">about</a>
</li>
<li>
<a class="nav-link" href="./blog.html">blog</a>
</li>
<li>
<a class="nav-link" href="./contact.html">contact</a>
</li>
<li>
<button class="close-button" type="button">
<i class="far fa-times-circle" alt="close"></i>
</button>
</li>
</ul>
</nav>
<!-- End of Header Nav -->
</header>
<!-- END OF HEADER -->
<!-- MAIN -->
<main>
<!-- HERO -->
<section class="index-hero">
<div class="wrapper grid-parent">
<div class="index-hero-title">
<!-- I've added the span for accessibility reasons, since the circle image contains text -->
<img src="assets/circle-text.png" alt="" class="circle-text" aria-hidden>
<h1><span class="sr-only">It's all about</span>Sophie</h1>
</div>
<div class="index-hero-image">
<img src="assets/home-image-1.jpg"
alt="Sophie is standing in front of an orange background. She is smiling widely, sticking her tongue a little bit, and she's holding two halves of an orange in front of her eyes. She is wearing cozy orange sweater and her hair is styled into top buns">
</div>
</div>
</section>
<!-- END OF HERO -->
<!-- ABOUT SOPHIE-->
<section id="about" class="about">
<div class="wrapper">
<h2>who is sophie?</h2>
<p class="copy">Lorem ipsum dolor sit amet consectetur adipisicing elit. Nulla, quod! Fugiat ducimus sit
cum nihil labore, doloremque explicabo voluptates accusamus ipsum illo dolores cupiditate delectus
nesciunt neque porro repellendus voluptate iusto! Tempore rem odio adipisci assumenda, vero harum
eos vel?</p>
<a class="blue-button" href="#">Find out more</a>
</div>
</section>
<!-- END OF ABOUT SOPHIE-->
<!-- ARTICLES -->
<section class="articles">
<div class="wrapper">
<!-- I'm making sr-only titles for the sections that don't have titles in the design, so that a screen user can know which section they are in -->
<h2 class="sr-only">Articles</h2>
<!-- Article #1 -->
<article class="article first">
<!-- artice image -->
<div class="article-img first">
<img src="assets/home-image-2.jpg"
alt="A big fluffy dog is sitting inside an orange car looking out he window">
</div>
<!-- article copy -->
<div class="article-copy first">
<h3>Sophie's favourite things</h3>
<p class="copy">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptas quo
consectetur sequi, cupiditate dolore earum numquam voluptatem inventore laudantium labore.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae, nobis? </p>
<a href="./blog.html" class="blue-button">find out more</a>
</div>
</article>
<!-- End of Article #1 -->
<!-- Article #2 -->
<article class="article second">
<!-- article copy -->
<div class="article-copy second">
<h3>Where she's travelled</h3>
<p class="copy">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptas quo
consectetur sequi, cupiditate dolore earum numquam voluptatem inventore laudantium labore.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae, nobis? </p>
<a href="./blog.html" class="blue-button">find out more</a>
</div>
<!-- artice image -->
<div class="article-img second">
<img src="assets/home-image-3.jpg"
alt="A collection of torquose beach chairs and orange umbrellas on a beach">
</div>
</article>
<!-- End of Article #2 -->
</div>
</section>
<!-- END OF ARTICLES -->
<!-- MAIN NAV -->
<section class="main-nav">
<div class="wrapper">
<h2 class="sr-only">Navigation</h2>
<ul>
<li class="main-nav-item">
<a href="#gallery" class="main-nav-link">
<i class="far fa-image main-nav-icon" aria-hidden></i>
Photos
</a>
<p class="copy">Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestiae, optio!
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quas, nesciunt? Lorem ipsum dolor
sit amet consectetur adipisicing elit. Dolorem, facilis?</p>
</li>
<li class="main-nav-item">
<a href="#about" class="main-nav-link">
<i class="fas fa-user main-nav-icon" aria-hidden></i>
About
</a>
<p class="copy">Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestiae, optio! Lorem
ipsum dolor sit amet consectetur adipisicing elit.</p>
</li>
<li class="main-nav-item">
<a href="./blog.html" class="main-nav-link">
<i class="fas fa-desktop main-nav-icon" aria-hidden></i>
Blog
</a>
<p class="copy">Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestiae, optio Lorem
ipsum dolor sit.</p>
</li>
<li class="main-nav-item">
<a href="./contact.html" class="main-nav-link">
<i class="fas fa-phone main-nav-icon" aria-hidden></i>
Get in touch
</a>
<p class="copy">Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestiae, optio! Lorem
ipsum dolor, sit amet consectetur adipisicing elit. Dignissimos, assumenda!</p>
</li>
</ul>
</div>
</section>
<!-- END OF FACTS -->
<!-- BANNER - placeholder div for the banner with chairs-->
<div class="banner" aria-hidden></div>
<!-- END OF BANNER -->
<!-- JOURNEY -->
<section class="journey">
<div class="wrapper flex-parent">
<!-- journey image -->
<div class="journey-image">
<img src="assets/home-image-5.jpg"
alt="Sophie is posing ouside in an urban landscape. She is wearing a bright orange t-shirt, ripped blue jeans and sunglasses">
</div>
<!-- journey text -->
<div class="journey-copy">
<h2>Sophie's journey</h2>
<p class="copy">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi non labore
asperiores aspernatur, laborum magni dignissimos aliquam atque iusto saepe ratione hic nemo et,
pariatur provident rerum, dicta quis! Saepe, earum est vitae illum eos repudiandae doloremque
inventore numquam sed cum repellendus eligendi modi, nam porro itaque facilis, perferendis
neque! Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ea sed ut quos nobis vel
provident. Animi magni quibusdam officiis consectetur.</p>
<a href="#" class="blue-button">Find out more</a>
</div>
</div>
</section>
<!-- END OF JOURNEY -->
<!-- GALLERY -->
<section id="gallery" class="gallery">
<div class="wrapper flex-parent">
<img src="assets/home-image-6.jpg" alt="a blue bike with a basket in front of an orange wall">
<img src="assets/home-image-7.jpg"
alt="a three floors orange building with white window panes, shot from the bottom">
<img src="assets/home-image-8.jpg"
alt="a segment of an orange beach umbrella with 'banana beach' printed on it">
</div>
</section>
<!-- END OF GALLERY -->
</main>
<!-- END OF MAIN -->
<!-- FOOTER -->
<footer>
<div class="copyright">
<p>Copyright © 2020 Juno College</p>
</div>
</footer>
<!-- END OF FOOTER -->
<!-- jQuery script for the hamburger menu -->
<script src='https://code.jquery.com/jquery-3.4.0.min.js' integrity='sha256-BJeo0qm959uMBGb65z40ejJYGSgR7REI4+CW1fNKwOg=' crossorigin='anonymous'></script>
<script src="js/script.js"></script>
</body>
</html>