-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
273 lines (257 loc) · 14.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>🌊 HOME | Beachstays</title>
<!-- LINK TO STYLESHEET -->
<link rel="stylesheet" href="./styles/styles.css">
<!-- FONTAWESOME ICONS-->
<script src="https://kit.fontawesome.com/542d40d4ae.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- HEADER -->
<header class="homeHeader">
<nav class="navBar">
<div class="wrapper">
<a class="logo" href="index.html">Beachstays</a>
<ul class="headerMenu">
<li><a class="highlight" href="index.html">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="./blog.html">Blog</a></li>
<li><a href="./contact.html">Contact</a></li>
</ul>
<div class="hamburgerButton navButton">
<button>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-menu">
<line x1="3" y1="12" x2="21" y2="12" id="id_107"></line>
<line x1="3" y1="6" x2="21" y2="6" id="id_108"></line>
<line x1="3" y1="18" x2="21" y2="18" id="id_109"></line>
</svg>
</button>
</div><!-- .hamburgerButton ends -->
</div><!-- .wrapper ends -->
</nav>
<div class="slideOutNav">
<div class="hamburgerButton xButton">
<button>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x">
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</button>
</div><!-- .hamburgerButton ends -->
<nav class="slideOutMenu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="./blog.html">Blog</a></li>
<li><a href="./contact.html">Contact</a></li>
</ul>
</nav>
</div><!-- .slideOutNav ends -->
<div class="headerImgContainer">
<img src="./assets/header-box.jpg" alt="black-rimmed polarized sunglasses on a beach">
</div> <!-- .headerImgContainer ends -->
<div class="headerTextContainer">
<h4>welcome to</h4>
<h1>Beachstays</h1>
</div> <!-- .headerTextContainer -->
</header>
<!-- MAIN -->
<main class="homeMain">
<!-- Section 1: VISIT -->
<section class="visit">
<div class="wrapper">
<div class="visitTextContainer">
<h2>Visit Guyana</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Eum tempora minima adipisci ab
exercitationem est accusamus. Laborum corporis veritatis tenetur pariatur totam minima aliquid
doloremque. Reprehenderit culpa ratione necessitatibus exercitationem aut quod minus sit
excepturi
optio blanditiis iusto, eum doloribus quia quos explicabo, officiis cum corporis! Reprehenderit
tenetur nostrum nam?</p>
<div class="buttonContainer">
<a href="#">Find Out More</a>
</div> <!-- .buttonContainer ends -->
</div> <!-- visitTextContainer ends -->
<div class="visitImgContainer">
<img src="./assets/small-box.jpg" alt="living room of a beach house with a beach view">
</div><!-- visitImgContainer ends -->
</div> <!-- .wrapper ends -->
</section> <!-- .visit section ends -->
<!-- Section 2: GALLERY -->
<section class="gallery">
<div class="wrapper">
<div class="galleryContainer">
<ul>
<li><img src="./assets/gallery-image1.jpg" alt="view of beach house with a dock"></li>
<li><img src="./assets/gallery-image2.jpg" alt="summer house at dusk"></li>
<li class="image3"><img src="./assets/gallery-image3.jpg"
alt="three-storey beach house with palm trees "></li>
</ul>
</div><!-- .galleryContainer ends -->
</div><!-- .wrapper ends -->
</section> <!-- .gallery section ends -->
<!-- Section 3: MAIN NAV -->
<section class="mainNav">
<div class="wrapper">
<ul>
<li>
<div class="iconContainer">
<a href="#">
<svg class="mainNavIcon" viewBox="-3 -3 30 30">
<path fill="currentColor" d="M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z" />
</svg>
</a>
</div><!-- .iconContainer ends -->
<div class="mainNavText">
<a href="#">
<h3>Beach houses</h3>
</a>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolore aliquam cupiditate
laborum voluptatum consequatur minima deleniti quibusdam ex minus.</p>
</div><!-- .mainNavText ends -->
</li>
<li>
<div class="iconContainer">
<a href="#">
<svg class="mainNavIcon" viewBox="-3 -3 30 30">
<path fill="currentColor"
d="M12,5.5A3.5,3.5 0 0,1 15.5,9A3.5,3.5 0 0,1 12,12.5A3.5,3.5 0 0,1 8.5,9A3.5,3.5 0 0,1 12,5.5M5,8C5.56,8 6.08,8.15 6.53,8.42C6.38,9.85 6.8,11.27 7.66,12.38C7.16,13.34 6.16,14 5,14A3,3 0 0,1 2,11A3,3 0 0,1 5,8M19,8A3,3 0 0,1 22,11A3,3 0 0,1 19,14C17.84,14 16.84,13.34 16.34,12.38C17.2,11.27 17.62,9.85 17.47,8.42C17.92,8.15 18.44,8 19,8M5.5,18.25C5.5,16.18 8.41,14.5 12,14.5C15.59,14.5 18.5,16.18 18.5,18.25V20H5.5V18.25M0,20V18.5C0,17.11 1.89,15.94 4.45,15.6C3.86,16.28 3.5,17.22 3.5,18.25V20H0M24,20H20.5V18.25C20.5,17.22 20.14,16.28 19.55,15.6C22.11,15.94 24,17.11 24,18.5V20Z" />
</svg>
</a>
</div><!-- .iconContainer ends -->
<div class="mainNavText">
<a href="#">
<h3>Community</h3>
</a>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolore aliquam cupiditate
laborum voluptatum consequatur
minima deleniti quibusdam ex minus.</p>
</div><!-- .mainNavText ends -->
</li>
<li>
<div class="iconContainer">
<a href="./blog.html">
<svg class="mainNavIcon" viewBox="-3 -3 30 30">
<path fill="currentColor"
d="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z" />
</svg>
</a>
</div><!-- .iconContainer ends -->
<div class="mainNavText">
<a href="./blog.html">
<h3>Blog</h3>
</a>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolore aliquam cupiditate
laborum voluptatum consequatur
minima deleniti quibusdam ex minus.</p>
</div><!-- .mainNavText ends -->
</li>
<li>
<div class="iconContainer">
<a href="./contact.html">
<svg class="mainNavIcon" viewBox="-3 -3 30 30">
<path fill="currentColor"
d="M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z" />
</svg>
</a>
</div><!-- .iconContainer ends -->
<div class="mainNavText">
<a href="./contact.html">
<h3>Get in Touch</h3>
</a>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolore aliquam cupiditate
laborum voluptatum consequatur
minima deleniti quibusdam ex minus.</p>
</div><!-- .mainNavText ends -->
</li>
</ul>
</div><!-- .wrapper ends -->
</section><!-- .mainNav section ends -->
<!-- SECTION 4: ARTICLES -->
<section class="articles">
<div class="planAhead">
<div class="articleImgContainer">
<img src="./assets/left-image.jpg"
alt="peach/pastel green tone beach house with palm tree leaves, with beautiful blue skies">
</div><!-- .articleImgContainer for PLAN AHEAD ends -->
<div class="articleTextContainer">
<h2>Plan ahead</h2>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Excepturi magni earum vero. Provident
excepturi repudiandae, ut assumenda quos, enim cumque quae.</p>
<div class="buttonContainer">
<a href="#">Read More</a>
</div> <!-- .buttonContainer ends -->
</div><!-- .articleTextContainer for PLAN AHEAD ends -->
</div><!-- .planAhead ends -->
<div class="newLocations">
<div class="articleImgContainer">
<img src="./assets/right-image.jpg"
alt="beautiful, emerald coast off of Julia Pfeiffer Burns State Park">
</div><!-- .articleImgContainer for NEW LOCATIONS ends -->
<div class="articleTextContainer">
<h2>New locations</h2>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Excepturi magni earum vero. Provident
excepturi repudiandae, ut assumenda quos, enim cumque quae.</p>
<div class="buttonContainer">
<a href="#">Read More</a>
</div> <!-- .buttonContainer ends -->
</div><!-- .articleTextContainer for NEW LOCATIONS ends -->
</div><!-- .newLocations ends -->
</section> <!-- .articles section ends -->
<!-- SECTION 5: Banner/IMAGE CAROUSEL -->
<!-- Citation: referenced https://blog.logrocket.com/build-image-carousel-from-scratch-vanilla-javascript/ to achieve image carousel -->
<section class="carousel">
<div class="slideshow">
<!-- Image Slide 1 -->
<div class="slide">
<img src="./assets/banner-image.jpg" alt="sandy beach coast with palm trees and huts">
</div>
<!-- Image Slide 2 -->
<div class="slide">
<img src="./assets/blog-image-1.jpg" alt="blue beach coast with surrounding rocks">
</div>
<!-- Image Slide 3 -->
<div class="slide">
<img src="./assets/contact-image-1.jpg" alt="sandy beach coast with waves">
</div>
<!-- Image Slide 4 -->
<div class="slide">
<img src="./assets/home-image-1.jpg"
alt="another view of sandy beach coast with palm trees and huts">
</div>
<!-- Change image buttons -->
<button class="change nextImage">❯</button>
<button class="change previousImage">
❮</button>
</div><!-- .slideshow ends -->
</section> <!-- .carousel section ends -->
<!-- SECTION 6: Free Trip -->
<section class="freeTrip">
<div class="wrapper">
<h2>Free trip with Beachstays</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestias laborum, error odit expedita
exercitationem vitae laudantium obcaecati debitis eaque dignissimos quos voluptas ducimus harum iure
facilis itaque illo, tempora atque! Laboriosam, ipsam fugit quibusdam nisi sunt dolores eaque
temporibus
porro!</p>
<div class="buttonContainer">
<a href="#">Find Out More</a>
</div> <!-- .buttonContainer ends -->
</div> <!-- .wrapper ends -->
</section> <!-- .freeTrip section ends -->
</main>
<footer>
<div class="wrapper">
<p>Copyright © 2019 HackerYou</p>
</div><!-- .wrapper ends -->
</footer>
<script src="./script.js"></script>
</body>
</html>