-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
269 lines (243 loc) · 13.2 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
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Los Angeles Mountain Climbers Group">
<meta name="keywords" content="LosAngelesMountain, Mountain climbing, hike">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>LOSANGELES MOUNTAINS</title>
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Oswald:200,300,regular,500,600,700&subset=cyrillic,cyrillic-ext,latin,latin-ext,vietnamese">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:100,100italic,300,300italic,regular,italic,700,700italic,900,900italic&subset=latin,latin-ext">
</head>
<body>
<div class="body-container">
<section class="homepage" id="homepage">
<div class="homepage-content">
<div class="navbar">
<a href="#homepage">
<img
class="logo"
src="images/logo1.png"
alt=""
/>
</a>
<div class="nav">
<a href="#history">01. HISTORY</a>
<a href="#team">02. TEAM</a>
</div>
</div>
<img
class="intro-image"
src="images/losangeles_mountains_copy.png"
alt="Los Angeles mountains"
/>
</div>
</section>
<section class="history-slider" id="history">
<div class="history-navigation">
<div class="double-logo">
<a href="#homepage">
<div class="logo-sticky">
<img class="img" src="images/logo1.png" alt="" width="45" height="45">
<img
class="img"
src="images/losangeles_mountains_2.png"
alt="LOSANGELES MOUNTAINS"
/>
</div>
</a>
</div>
<div class="history-nav">
<a href="#history">01. HISTORY</a>
<a href="#team">02. TEAM</a>
</div>
</div>
<div class = "slideshow-container">
<div class="slider-background slides fade" style="background-image: url(images/peak-2.jpg);">
<div class="section-head">
<div class="title-wrapper">
<p class="history-title">HISTORY</p>
<p class="history-label">01.</p>
</div>
<p class="history-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin in ante viverra, rutrum erat rutrum, consectetur mi. Proin at maximus est. Nullam purus ex, iaculis sed erat sed, blandit tincidunt quam. Cras scelerisque id quam sed dignissim Pellentesque urna nunc, gravida quis hendrerit ac, tristique ut quam. Vivamus suscipit dignissim tortor nec congue.</p>
</div>
</div>
<div class="slider-background slides fade" style="background-image: url(images/peak-2.jpg);">
<div class="section-head">
<div class="title-wrapper">
<p class="history-title">HISTORY</p>
<p class="history-label">01.</p>
</div>
<p class="history-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin in ante viverra, rutrum erat rutrum, consectetur mi. Proin at maximus est. Nullam purus ex, iaculis sed erat sed, blandit tincidunt quam. Cras scelerisque id quam sed dignissim Pellentesque urna nunc, gravida quis hendrerit ac, tristique ut quam. Vivamus suscipit dignissim tortor nec congue.</p>
</div>
</div>
<div class="slider-background slides fade" style="background-image: url(images/peak-2.jpg);">
<div class="section-head">
<div class="title-wrapper">
<p class="history-title">HISTORY</p>
<p class="history-label">01.</p>
</div>
<p class="history-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin in ante viverra, rutrum erat rutrum, consectetur mi. Proin at maximus est. Nullam purus ex, iaculis sed erat sed, blandit tincidunt quam. Cras scelerisque id quam sed dignissim Pellentesque urna nunc, gravida quis hendrerit ac, tristique ut quam. Vivamus suscipit dignissim tortor nec congue.</p>
</div>
</div>
<div class="slider-background slides fade" style="background-image: url(images/peak-2.jpg);">
<div class="section-head">
<div class="title-wrapper">
<p class="history-title">HISTORY</p>
<p class="history-label">01.</p>
</div>
<p class="history-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin in ante viverra, rutrum erat rutrum, consectetur mi. Proin at maximus est. Nullam purus ex, iaculis sed erat sed, blandit tincidunt quam. Cras scelerisque id quam sed dignissim Pellentesque urna nunc, gravida quis hendrerit ac, tristique ut quam. Vivamus suscipit dignissim tortor nec congue.</p>
</div>
</div>
<div class="slider-indicators">
<div class="slider-nav">
<div class="thumbnails">
<span onclick="currentSlide(1)"><img class="thumbnail-rectangle" src="images/thumbnail-1.jpg" alt=""></span>
<span onclick="currentSlide(2)"><img class="thumbnail-rectangle" src="images/thumbnail-2.jpg" alt=""></span>
<span onclick="currentSlide(3)"><img class="thumbnail-rectangle" src="images/thumbnail-1.jpg" alt=""></span>
</div>
<div class="thumbnails-small">
<span onclick="currentSlide(1)"><img class="thumbnail-rectangle" src="images/thumbnail-1.jpg" alt=""></span>
<span onclick="currentSlide(2)"><img class="thumbnail-rectangle" src="images/thumbnail-2.jpg" alt=""></span>
</div>
<div class="ellipse-nav">
<span class="ellipse-indicator" onclick="currentSlide(1)"></span>
<span class="ellipse-indicator" onclick="currentSlide(2)"></span>
<span class="ellipse-indicator" onclick="currentSlide(3)"></span>
</div>
</div>
</div>
</div>
</section>
<section class="team" id="team">
<div class="climb-content">
<div class="climb-wrapper">
<p class="climb-title">CLIMB</p>
<p class="climb-number">02.</p>
</div>
<p class="climb-text">Cras scelerisque id quam sed dignissim Pellentesque urna nunc, gravida quis hendrerit ac, tristique ut quam. Vivamus suscipit dignissim tortor nec congue.</p>
</div>
<div class="schedule-content">
<div class="tab-navs">
<button class="tab-link" onclick="viewMountainSchedule(event, 'mountain-one')"><p>MOUNTAIN 1</p></button>
<button class="tab-link" onclick="viewMountainSchedule(event, 'mountain-two')"><p>MOUNTAIN 2</p></button>
</div>
<div class="tab-content-class">
<div id= "mountain-one" class="tab-content">
<div class="mountain-content">
<p class="schedule">SCHEDULE</p>
<p class="schedule-dates">17 Nov 2016 Vestibulum viverra<br><span class="text-style"> </span><br>13 Dec 2016 Vestibulum viverra<br>28 Dec 2016 Vestibulum viverra<br><span class="text-style"> </span><br>9 Feb 2017 Vestibulum viverra</p>
</div>
</div>
<div id="mountain-two" class="tab-content">
<div class="mountain-content">
<p class="schedule">SCHEDULE</p>
<p class="schedule-dates">25 Nov 2016 Vestibulum viverra<br>28 Nov 2016 Vestibulum viverra<br><span class="text-style"> </span><br>18 Dec 2016 Vestibulum viverra<br><span class="text-style"> </span><br>7 Jan 2017 Vestibulum viverra</p>
</div>
</div>
</div>
<div class="accordion-content">
<button class="accordion">Mountain 1</button>
<div class="panel" style="background-image: url(images/mountain-one.png);">
<div class="mountain-content">
<p class="schedule">SCHEDULE</p>
<p class="schedule-dates">17 Nov 2016 Vestibulum viverra<br><span class="text-style"> </span><br>13 Dec 2016 Vestibulum viverra<br>28 Dec 2016 Vestibulum viverra<br><span class="text-style"> </span><br>9 Feb 2017 Vestibulum viverra</p>
</div>
</div>
<button class="accordion">Mountain 2</button>
<div class="panel" style="background-image: url(images/mountain-two.png);">
<div class="mountain-content">
<p class="schedule">SCHEDULE</p>
<p class="schedule-dates">25 Nov 2016 Vestibulum viverra<br>28 Nov 2016 Vestibulum viverra<br><span class="text-style"> </span><br>18 Dec 2016 Vestibulum viverra<br><span class="text-style"> </span><br>7 Jan 2017 Vestibulum viverra</p>
</div>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="footer-content">
<div class="footer-logo">
<a href="#homepage">
<img
class="img"
src="images/logo.png"
alt=""
/>
<img
class="img"
src="images/losangeles_mountains.png"
alt="LOSANGELES MOUNTAINS"
/>
</a>
</div>
<p class="footer-copyright">COPYRIGHT 2016. ALL RIGHTS RESERVED.</p>
</div>
</footer>
</div>
<script>
let slideIndex = 0;
showSlides();
function showSlides() {
let i;
let slides = document.getElementsByClassName("slides");
let dots = document.getElementsByClassName("ellipse");
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
slideIndex++;
if (slideIndex > slides.length) {slideIndex = 1}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
setTimeout(showSlides, 2000);
}
</script>
<script>
function viewMountainSchedule(event, mountain) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tab-content");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tab-link");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(mountain).style.display = "block";
event.currentTarget.className += " active";
var tabContentClass = document.querySelector(".tab-content-class");
if(mountain == "mountain-one") {
imageUrl = "images/mountain-one.png";
} else if(mountain == "mountain-two") {
imageUrl = "images/mountain-two.png";
}
tabContentClass.style.backgroundImage = "url("+ imageUrl + ")";
}
document.addEventListener("DOMContentLoaded", function () {
viewMountainSchedule({ currentTarget: document.querySelector(".tab-link") }, "mountain-one");
});
</script>
<script>
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
/* Toggle between adding and removing the "active" class,
to highlight the button that controls the panel */
this.classList.toggle("active");
/* Toggle between hiding and showing the active panel */
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}
</script>
</body>
</html>