-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
277 lines (249 loc) · 13.3 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="vendors/css/grid.css">
<link rel="stylesheet" href="style.css">
<script src="https://unpkg.com/ionicons@4.4.4/dist/ionicons.js"></script>
</head>
<body>
<div class="container">
<header id="home">
<div class="row">
<nav class="navigation absolute-navigation">
<a class="mobile-nav-icon js--nav-icon"><ion-icon name="menu"></ion-icon></a>
<ul class="menu js--main-nav">
<li class="">
<a class="" href="#home">Home</a>
</li>
<li class="">
<a class="" href="#about-me">About me</a>
</li>
<li class="">
<a class="" href="#portfolio">Portfolio</a>
</li>
<li class="">
<a class="" href="#contact">Contact</a>
</li>
</ul>
</nav>
</div>
<div class="profile-heading">
<figure class="profile-img">
<img class="img-center" src="./vandermolen.jpg" alt="profile picture of the portfolio">
</figure>
<h1>Portfolio<br> J. van der Molen</h1>
</div>
</header>
<section class="about-me js--section-about-me" id="about-me">
<div class="row">
<h2>About me</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam.
Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce
nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent
taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur sodales
ligula in libero. Sed dignissim lacinia nunc. Curabitur tortor. Pellentesque nibh. Aenean quam. In
scelerisque sem at dolor. Maecenas mattis. Sed convallis tristique sem. Proin ut ligula vel nunc
egestas porttitor. Morbi lectus risus, iaculis vel, suscipit quis, luctus non, massa. Fusce ac turpis
quis ligula lacinia aliquet. Mauris ipsum. Nulla metus metus, ullamcorper vel, tincidunt sed, euismod
in, nibh. Quisque volutpat condimentum velit. Class aptent taciti sociosqu ad litora torquent per
conubia nostra, per inceptos himenaeos. Nam nec ante. Sed lacinia, urna non tincidunt mattis, tortor
neque adipiscing diam, a cursus ipsum ante quis turpis. Nulla facilisi. Ut fringilla. Suspendisse
potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices.
Suspendisse in justo eu magna luctus suscipit. Sed lectus. Integer euismod lacus luctus magna. Quisque
cursus, metus vitae pharetra auctor, sem massa mattis sem, at interdum magna augue eget diam.
</p>
</div>
</section>
<section class="portfolio-section" id="portfolio">
<div class="row">
<h2>Portfolio</h2>
</div>
<div class="row">
<ul class="portfolio-projects clearfix">
<li>
<figure class="portfolio-img">
<a href="./cat-clock/index.html">
<img src="./cat-clock.JPG" class="img-portfolio" alt="Link to portfolio project about a cat clock">
</a>
</figure>
</li>
<li>
<figure class="portfolio-img">
<a href="./documentationpage/index.html">
<img src="./documentationpage.jpg" class="img-portfolio" alt="Link to portfolio project about Node js">
</a>
</figure>
</li>
<li>
<figure class="portfolio-img">
<a href="./productpage/index.html">
<img src="./coffeebeans.JPG" class="img-portfolio" alt="Link to portfolio project about coffee beans">
</a>
</figure>
</li>
<li>
<figure class="portfolio-img">
<a href="./tributepage/index.html">
<img src="./fischer.JPG" class="img-portfolio" alt="Link to portfolio project about Bobby Fisher">
</a>
</figure>
</li>
</ul>
</div>
<div class="row">
<ul class="portfolio-projects">
<li>
<figure class="portfolio-img">
<a href="./quotemachine/index.html">
<img src="./quotemachine.jpg" class="img-portfolio" alt="Link to portfolio project about Bobby Fisher">
</a>
</figure>
</li><li>
<figure class="portfolio-img">
<a href="./survey%20form/index.html">
<img src="./surveyform.jpg" class="img-portfolio" alt="Link to portfolio project about a cat clock">
</a>
</figure>
</li><li>
<figure class="portfolio-img">
<a href="./weather/index.html">
<img src="./weather.jpg" class="img-portfolio" alt="Link to portfolio project about a cat clock">
</a>
</figure></li><li>
<figure class="portfolio-img">
<a href="./Omnifood/index.html">
<img src="./projectcourseomnifood.JPG" class="img-portfolio" alt="Link to portfolio project about coffee beans">
</a>
</figure></li>
</ul>
</div>
</section>
<div class="background-form">
<section class="form">
<div class="row" id="contact">
<h2>Contact</h2>
<form>
<div class="row">
<div class="col span-1-of-3">
<label for="surName">Surname </label></div>
<div class="col span-2-of-3">
<input type="text" class="form-control border-top-0 border-right-0 border-left-0 bg-dark text-light" id="surName" placeholder="Surname">
</div>
</div>
<div class="row">
<div class="col span-1-of-3">
<label for="lastName">Last name</label>
</div>
<div class="col span-2-of-3">
<input type="text" class="form-control border-top-0 border-right-0 border-left-0 bg-dark text-light" id="lastName" placeholder="Lastname"></div>
</div>
<div class="row">
<div class="col span-1-of-3">
<label for="E-mail">E-mail</label>
</div>
<div class="col span-2-of-3">
<input type="email" class="form-control border-top-0 border-right-0 border-left-0 bg-dark text-light" id="email" placeholder="info@example.com">
</div>
</div>
<div class="row">
<div class="col span-1-of-3">
<label for="exampleFormControlTextarea1">Message</label>
</div>
<div class="col span-2-of-3">
<textarea class="form-control" id="message" rows="5"></textarea>
</div>
</div>
<div class="row">
<div class="col span-1-of-3"></div>
<div class="col span-2-of-3">
<input type="submit" class="btn">
</div>
</div>
</form>
</div>
</section>
</div>
<footer class="">
<div class="row">
<p>
Written and coded by
J van der Molen in 2018.
</p>
<div class="icons">
<a href="https://www.linkedin.com/in/jarich-van-der-molen/" target="_blank"><ion-icon name="logo-linkedin" class="linkedin"></ion-icon></a>
<a href="https://www.github.com/fromthemolen" target="_blank"><ion-icon name="logo-github" class="github"></ion-icon></a>
</div>
</div>
</footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="./vendors/js/jquery.waypoints.min.js"></script>
<script>
$(document).ready(function() { // Select all links with hashes
$('a[href*="#"]')
// Remove links that don't actually link to anything
.not('[href="#"]')
.not('[href="#0"]')
.click(function(event) {
// On-page links
if (
location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '')
&&
location.hostname == this.hostname
) {
// Figure out element to scroll to
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
// Does a scroll target exist?
if (target.length) {
// Only prevent default if animation is actually gonna happen
event.preventDefault();
$('html, body').animate({
scrollTop: target.offset().top
}, 1000, function() {
// Callback after animation
// Must change focus!
var $target = $(target);
$target.focus();
if ($target.is(":focus")) { // Checking if the target was focused
return false;
} else {
$target.attr('tabindex','-1'); // Adding tabindex for elements not focusable
$target.focus(); // Set focus again
};
});
}
}
});
})
$(function() {
var waypoint1 = new Waypoint({
element: document.getElementsByClassName("js--section-about-me"),
handler: function(direction) {
if(direction == "down"){
$("nav").addClass('sticky');
$("nav").removeClass('absolute-navigation');
}else{
$("nav").removeClass('sticky');
$("nav").addClass('absolute-navigation');
}
},
offset: 20
});
$('.js--nav-icon').on('click', function(event) {
var nav = $('.js--main-nav');
nav.slideToggle(200);
var icon = $('.js--nav-icon ion-icon');
if(icon.attr('name') === 'close'){
icon.removeAttr("name");
icon.attr('name', 'menu');
}else{
icon.removeAttr('name');
icon.attr('name', 'close');
}
});
});
</script>
</body>
</html>