-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
100 lines (83 loc) · 3.69 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
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Xterionix's Portfolio</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="fontawesome/css/all.min.css">
<link rel="stylesheet" href="css/templatemo-style.css">
</head>
<body class="loaded">
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<i class="fas fa-code mr-2"></i>
Xterionix's Portfolio
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link nav-link-1" aria-current="page" href="index.html">Addons</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link-1" aria-current="page" href="#">Animations</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link-1" aria-current="page" href="">Models</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link-1" aria-current="page" href="">Textures</a>
</li>
<li class="nav-item">
<a class="nav-link nav-link-1" aria-current="page" href="">Mods</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="d-flex justify-content-center align-items-center flex-column mb-5">
<h1 id="err">Could not find the page you are looking for</h1>
<a class="btn-primary" id="err-button" href="./index.html">Head Back</a>
</div>
<footer class="tm-bg-gray pt-5 pb-3 tm-text-gray tm-footer">
<div class="container-fluid">
<h3 class="tm-text-primary mb-4 tm-footer-title">About Me</h3>
<p>I'm a Bedrock Addon Developer, having worked on countless volunteer projects and quite a few
marketplace projects too! I've been playing the game for several years now. I also have some
experience with animating and modding in Java edition.</p>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
<script>
$("#search-input").keyup(function () {
filterItems()
});
$('.form-check-input').change(function () {
filterItems();
});
function filterItems() {
console.log('t')
const val = $.trim($("#search-input").val()).toLowerCase()
const checks = $('.form-check-input:checked')
$('.gallery-item').hide()
$('.gallery-item').filter(function () {
const item = $(this)
const target = $(this).data('target').toLowerCase()
const tags = $(this).data('tags').toLowerCase()
let matchedTitle = true
let matchedChecks = true
if (val !== '') matchedTitle = item.text().toLowerCase().includes(val)
checks.each(function () {
if (!tags.includes($(this).attr('id'))) matchedChecks = false
})
return matchedChecks && matchedTitle
}).show()
}
</script>