-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
90 lines (87 loc) · 3.49 KB
/
404.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Joseph Walewski</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
</head>
<body>
<div class="desktop_version">
<div class="header">
<a href="/index.html" class="logo">Joseph Walewski</a>
<div class="header-left">
<a href="/index.html">About Me</a>
<a href="/research.html">Research</a>
<a href="/running.html">Running</a>
<a href="/news.html">News</a>
</div>
<div class="header-right">
<a href="https://www.linkedin.com/in/josephwalewski/">LinkedIn</a>
<a href="https://github.com/jwalewski">GitHub</a>
<a href="https://www.instagram.com/jwalewski_/">Instagram</a>
</div>
</div>
<div id="first_content">
<h1>404 - Page Not Found</h1>
<p>Looks like the road ends here! Click on any of the above pages to return to the rest of the site.</p>
</div>
<div class="background-container-404">
</div>
<div class="fixed-footer">
<div class="container"><a href="https://github.com/jwalewski/josephwalewski.com">Built from scratch</a> by Joseph Walewski</div>
</div>
</div>
<div class="mobile_version">
<div class="header-mobile">
<div class="button-container header-button">
<button class="expand-button header-button">Menu</button>
<div class="expanded-content header-button">
<h2>Joseph Walewski</h2>
<div class="scrollable-content header-button">
<div class="header-left">
<a href="/index.html" class="logo">Home</a><br>
<a href="/about_me.html">About Me</a><br>
<a href="/research.html">Research</a><br>
<a href="/running.html">Running</a><br>
<a href="/news.html">News</a>
</div>
<div class="header-right">
<a href="https://www.linkedin.com/in/josephwalewski/">LinkedIn</a><br>
<a href="https://github.com/jwalewski">GitHub</a><br>
<a href="https://www.instagram.com/jwalewski_/">Instagram</a>
</div>
</div>
</div>
<div class="collapsed-content">
</div>
</div>
</div>
<div id="first_content">
<h1>404 - Page Not Found</h1>
<p>Looks like the road ends here! Click on any of the above pages to return to the rest of the site.</p>
</div>
<div class="background-container-404">
</div>
<div class="fixed-footer">
<div class="container"><a href="https://github.com/jwalewski/josephwalewski.com">Built from scratch</a> by Joseph Walewski</div>
</div>
</div>
<script>
var collapsibleButtons = document.querySelectorAll('.button-container');
collapsibleButtons.forEach(function(button) {
button.addEventListener('click', function () {
// Toggle the active class for the clicked button
this.classList.toggle('active');
// Toggle the content visibility for the clicked button
var content = this.querySelector('.expanded-content'); // Get the content div within the clicked button
if (content.style.maxHeight) {
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + 'px';
}
});
});
</script>
</body>
</html>