-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
396 lines (337 loc) · 17.4 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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
<!DOCTYPE html>
<html lang="en">
<head>
<title>Adventures & Asanas</title>
<!---- Page meta data --->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Adventures & Asanas is a personal blog that explores a particular lifestyle both on and off the yoga mat.">
<meta property="og:title" content="Adventures & Asanas">
<meta property="og:description" content="Adventures & Asanas is a personal blog that explores a particular lifestyle both on and off the yoga mat.">
<meta property="og:url" content="https://yogamae.ca/">
<!---- Use 300 x 200 minimum for image ---->
<meta property="og:image" content="https://s-duffey.github.io/yoga_website/Images/Home_page/adventures-1.jpg">
<!---- CSS Links --->
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./CSS/yoga.css">
<link href="https://fonts.googleapis.com/css?family=Hind+Madurai|Lato&display=swap" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-138320725-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-138320725-4');
</script>
</head>
<body>
<!-- Navbar (sit on top) -->
<div class="w3-top">
<nav class="w3-bar" class="navigation" id="myNavbar">
<a class="navigation__link w3-bar-item w3-button w3-hover-black w3-hide-medium w3-hide-large w3-right " href="#navDemo" onclick="toggleFunction()" title="Toggle Navigation Menu">
<i class="fa fa-bars"></i>
</a>
<a href="#home" class="navigation__link w3-bar-item w3-button">Home</a>
<!--<a href="#schedule" class="navigation__link w3-bar-item w3-button">Schedule</a>-->
<a href="#about" class="navigation__link w3-bar-item w3-button w3-hide-small"> Sierra</a>
<a href="#adventures" class="navigation__link w3-bar-item w3-button w3-hide-small"> Adventures</a>
<a href="#contact" class="navigation__link w3-bar-item w3-button w3-hide-small"> Contact</a>
</nav>
<!-- Navbar on small screens -->
<div id="navDemo" class="w3-bar-block w3-white w3-hide w3-hide-large w3-hide-medium">
<!--<a href="#schedule" class="mobile-nav-link w3-bar-item w3-button" onclick="toggleFunction()">Schedule</a>-->
<a href="#about" class="mobile-nav-link w3-bar-item w3-button" onclick="toggleFunction()">Sierra</a>
<a href="#adventures" class="mobile-nav-link w3-bar-item w3-button" onclick="toggleFunction()">Adventures</a>
<a href="#contact" class="mobile-nav-link w3-bar-item w3-button" onclick="toggleFunction()">Contact</a>
</div>
</div>
<main>
<!-- First Parallax Image with Logo Text -->
<div id="home" class="page-section bgimg-1 w3-display-container w3-opacity-min">
<div class="w3-display-middle" style="font-family: 'Overlock', 'Georgia';">
<h1><span class="display-rounded w3-center w3-padding-large w3-black w3-xlarge w3-wide w3-animate-opacity">Adventures & Asanas</span></h1>
</div>
</div>
<!---- Container (About) -->
<div class="page-section w3-content w3-container w3-padding-50" id="top">
<h2> About </h2>
<p> Adventures & Asanas is a personal blog that explores a particular lifestyle both on and off the yoga mat. Adventures & Asanas sends the message that yoga is so much more than just the physical practice and gravity-defying poses, it's truly a way of living in joy and exploring what the world has to offer. </p>
<p> Adventures & Asanas explores three main topics: </p>
<ul>
<li> yoga </li>
<li> travel </li>
<li> nature </li>
</ul>
</div>
<!--<div class="page-section w3-content w3-container w3-padding-50" id="schedule"></div>-->
<!-- Container (Teaching Schedule) -->
<!-- Add Google Calendar for automatic updates -->
<!----
<div class="page-section w3-content w3-container w3-padding-50" id="schedule">
<h2> Teaching Schedule </h2>
<dl>
<dt> Friday, June 22 </dt>
<dd> 7:30pm Warm Yin at Elevate Yoga </dd>
<dt> Friday, June 22 </dt>
<dd> 7:30pm Warm Yin at Elevate Yoga </dd>
<dt> Friday, June 22 </dt>
<dd> 7:30pm Warm Yin at Elevate Yoga </dd>
</dl>
</div>
<br>
--->
<!----
<div id="about">
<div class="w3-row w3-center highlight-bar w3-padding-25">
<div class="w3-quarter w3-section">
<span class="w3-xlarge">2</span><br>
Hatha
</div>
<div class="w3-quarter w3-section">
<span class="w3-xlarge">26</span><br>
Vinyasa
</div>
<div class="w3-quarter w3-section">
<span class="w3-xlarge">89+</span><br>
Yin
</div>
<div class="w3-quarter w3-section">
<span class="w3-xlarge">200</span><br>
Forrest
</div>
</div>
<br>
--->
<!-- Container (About Section) -->
<div class="page-section w3-content w3-container w3-padding-50">
<h2>Sierra Duffey</h2>
<p>Hello! My name is Sierra and I’m a yoga teacher in Ottawa.
<br><br>
A year into university I knew I needed to find an activity that would
physically keep me in shape and help me deal with stress. With a
yoga studio just down the street from my first apartment, it made
sense to start there! I’ve been practicing regularly ever since,
always coming back to yoga as a way to calm down, sustain my
energy and bring out my best self.
<br><br>
A few years in, I knew I wanted to teach and allow others to explore yoga in their own way. My first 200-hr training program was the perfect way to bring my own voice to my sequences but also to teach in a way that gives space for students to make the practice for themselves.</p>
<div class="w3-row">
<div class="w3-col m6 w3-right w3-padding-large">
<img src="./Images/Home_page/Sierra_1.png" class="w3-round w3-image" alt="Headshot of Sierra" width="500" height="333">
</div>
<p>With an insatiable lust for travel, a love of tea, good books and acoustic music, and a cheerful spirit, I’m excited to contribute back to the yoga community that gave me an entirely new love for life.</p>
<h3> Private Lessons </h3>
<p> If you're looking to deepen your personal practice, work with an injury or improve something specific, I offer private and semi-private lessons. Private lessons can be done in your home or mine and range from anywhere from 1 - 5 students.</p>
<p> Private lessons can focus on a specific style of yoga, or work towards more challenging postures or practices. Each student will complete an information form and we'll chat about your goals before the lesson! </p>
<a href="https://square.site/book/D55K883B482Z9/sierra-duffey-yoga-ottawa-on" class="w3-button w3-padding-large blue-rounded" style="padding: 30px;">Book a lesson</a>
</div>
<br>
</div>
</div>
<div id="adventures">
<!-- Second Parallax Image with Portfolio Text -->
<div class="page-section bgimg-2 w3-display-container w3-opacity-min" >
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide"><h2 class="header-style small-display-rounded">Adventures</h2></span>
</div>
</div>
<!-- Container (Blog Section) -->
<div class="w3-content w3-container w3-padding-25">
<p class="w3-center"><em>Here are some of my latest travels, education and adventures related to yoga.<br> Click on the images to read each blog post.</em></p><br>
<!-- Responsive Grid. Four columns on tablets, laptops and desktops. Will stack on mobile devices/small screens (100% width) -->
<div class="w3-row-padding w3-center w3-section">
<div class="w3-col m3">
<a href="./Blogs/the-perfect-weekend-in-montreal.html" class="hover-clickable">
<img src="./Images/Thumbnails/thumbnail_the-perfect-weekend-in-montreal.jpg" style="width:100%;" onclick="onClick(this)" class="w3-hover-opacity" alt="A landscape photo of the Montreal skyline">
<h3> The Perfect Weekend in Montreal </h3>
<p> One of my favourite things about Montreal is how unassuming the entrances to restaurants, shops and venues appear to be. But once you walk inside, you are almost always transported to somewhere new... </p>
</a>
</div>
<div class="w3-col m3">
<a href="./Blogs/tips-for-a-solid-meditation-practice.html" class="hover-clickable">
<img src="./Images/Thumbnails/thumbnail_tips-for-a-solid-meditation-practice.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="A landscape photo of a log sitting in a calm lake.">
<h3> Tips for a Solid Meditation Practice </h3>
<p> Okay let’s just put this out there - meditation is hard. But there’s a reason so many people continue to do it. The effects of a regular meditation practice on mental and physical health are truly life-changing.... </p>
</a>
</div>
<div class="w3-col m3">
<a href="./Blogs/Food%20Finds.html" class="hover-clickable">
<img src="./Images/Thumbnails/Food.jpg" style="width:100%;" onclick="onClick(this)" class="w3-hover-opacity" alt="Crispy fish and chips on a white plate">
<h3> Fresh Foods Finds in Seattle </h3>
<p> Now that I’ve been to Seattle several times over the past year I can safely say I’ve made a dent in the Seattle culinary scene, exploring multiple neighbourhoods and sipping on many, many coffees. If you’re planning a trip to the Emerald City anytime soon...</p>
</a>
</div>
<!----- Seattle Blog
<div class="w3-row-padding w3-center">
<div class="w3-col m3">
<a href="./Blogs/Seattle.html" class="hover-clickable">
<img src="./Images/Banner_images/Lake_Crescent.jpg" style="width:100%; height:188px;"
onclick="onClick(this)" class="w3-hover-opacity" alt="Landscape view of Lake Crescent">
<h3> Why Travelling with a Friend is Pretty Awesome (Seattle, WA) </h3>
<p> This is a preview of my first adventure. This is what the opening sentences of the blog would be, a few words... </p>
</a>
</div>
----->
<!----
<div class="w3-col m3">
<a href="#" class="hover-clickable">
<img src="./Images/Home_page/Backbend.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="Man doing backbend on a pillow">
<h3> Yin Training </h3>
<p> This is a preview of my first adventure. This is what the opening sentences of the blog would be, a few words... </p>
</a>
</div>
<div class="w3-col m3">
<a href="#" class="hover-clickable">
<img src="./Images/Banner_images/Seattle.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="Aerial view of a city">
<h3> Teach Your Truth </h3>
<p> This is a preview of my first adventure. This is what the opening sentences of the blog would be, a few words... </p>
</a>
</div>
---->
</div>
<div style="text-align: center;">
<a href="./Blogs/Adventures.html" class="w3-button w3-padding-large blue-rounded" style="margin-top:25px; margin-bottom:25px;">All Adventures</a>
</div>
</div>
<!-- Modal for full size images on click-->
<div id="modal01" class="w3-modal w3-black" onclick="this.style.display='none'">
<span class="w3-button w3-large w3-black w3-display-topright" title="Close Modal Image"><i class="fa fa-remove"></i></span>
<div class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
<img id="img01" class="w3-image">
<p id="caption" class="w3-opacity w3-large"></p>
</div>
</div>
</div>
<div id="contact">
<!-- Third Parallax Image with Portfolio Text -->
<div class="page-section bgimg-3 w3-display-container w3-opacity-min">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide"><h2 class="header-style small-display-rounded">Get in touch</h2></span>
</div>
</div>
<!-- Container (Contact Section) -->
<div class="w3-content w3-container w3-padding-25">
<div class="w3-row w3-padding-32 w3-section">
<div class="w3-col m6 w3-panel">
<a href="mailto:[email protected]" class="social-icon">
<i class="fa fa-envelope-o w3-hover-opacity icon-size"><span class="wb-invis">Email</span></i>
</a>
<a href="https://www.instagram.com/yoga.mae_/" class="social-icon">
<i class="fa fa-instagram w3-hover-opacity icon-size"><span class="wb-invis"> Instagram </span></i>
</a>
<!---- Pinterest link
<a href="#" class="social-icon">
<i class="fa fa-pinterest-p w3-hover-opacity icon-size"><span class="wb-invis"> Pinterest </span></i>
</a>
---->
<img src="./Images/Home_page/contact_2.png" class="w3-round w3-image hide-image" alt="Sierra facing the water with arms reaching behind head" width="500" height="425">
</div>
<div class="w3-col m6 w3-panel">
<p>Leave me a message and I'll get back to you as soon as I can!</p>
<form action="https://formspree.io/[email protected]" method="POST" class="contact-form">
<label for="formname"> Full name </label>
<input id="formname" type="text" name="fullname" required="yes">
<label for="formemail"> Email </label>
<input id="formemail" type="email" name="emailaddress" required="yes">
<label for="formmessage"> Message </label>
<textarea id="formmessage" name="message" row="10" cols="30" required="yes" maxlength="500" required="yes"></textarea>
<input type="hidden" name="_next" value="https://s-duffey.github.io/yoga_website/">
<button class="w3-button blue-rounded w3-right w3-section" type="submit" value="submit" onclick="alert('Thank you! Your message has been submitted')">
<i class="fa fa-paper-plane"></i> Send message
</button>
</form>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="w3-center w3-padding-64">
<div class="w3-xlarge w3-section">
<a href="mailto:[email protected]" class="social-icon">
<i class="fa fa-envelope-o w3-hover-opacity"><span class="wb-invis"> Email </span></i>
</a>
<a href="https://www.instagram.com/yoga.mae_/" class="social-icon">
<i class="fa fa-instagram w3-hover-opacity"><span class="wb-invis"> Intstagram </span></i>
</a>
<!--- Pinterest link
<a href="#" class="social-icon">
<i class="fa fa-pinterest-p w3-hover-opacity .wb-invis"><span class="wb-invis"> Pinterest </span></i>
</a>
--->
</div>
<p style="color:white"> © Sierra Duffey</p>
</footer>
<script>
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
// Change style of navbar on scroll
window.onscroll = function() {myFunction()};
function myFunction() {
var navbar = document.getElementById("myNavbar");
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
navbar.className = "w3-bar" + " w3-card" + " w3-animate-top" + " w3-white";
} else {
navbar.className = navbar.className.replace(" w3-card w3-animate-top w3-white", "");
}
}
// Used to toggle the menu on small screens when clicking on the menu button
function toggleFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script>
$(document).ready(function() {
$('.navigation__link').bind('click', function(e) {
e.preventDefault(); // prevent hard jump, the default behavior
var target = $(this).attr("href"); // Set the target as variable
// perform animated scrolling by getting top-position of target-element and set it as scroll target
$('html, body').stop().animate({
scrollTop: $(target).offset().top
}, 600, function() {
location.hash = target; //attach the hash (#jumptarget) to the pageurl
});
return false;
});
$('.mobile-nav-link').bind('click', function(e) {
e.preventDefault(); // prevent hard jump, the default behavior
var target = $(this).attr("href"); // Set the target as variable
// perform animated scrolling by getting top-position of target-element and set it as scroll target
$('html, body').stop().animate({
scrollTop: $(target).offset().top
}, 600, function() {
location.hash = target; //attach the hash (#jumptarget) to the pageurl
});
return false;
});
});
$(window).scroll(function() {
var scrollPos = $(document).scrollTop();
$('.navigation__link').each(function () {
var currLink = $(this);
var refElement = $(currLink.attr("href"));
if (refElement.position().top <= scrollPos && refElement.position().top + refElement.height() > scrollPos) {
$('.navigation a').removeClass("active");
currLink.addClass("active");
}
else{
currLink.removeClass("active");
}
});
}).scroll();
</script>
</body>
</html>