-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportfolio.html
177 lines (175 loc) · 6.94 KB
/
portfolio.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Portfolio</title>
<link
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
rel="stylesheet"
/>
<link
href="https://unpkg.com/nes.css@latest/css/nes.min.css"
rel="stylesheet"
/>
<link href="assets/css/style.css" rel="stylesheet" />
<link
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
</head>
<body class="text-center">
<div class="container p-3 d-flex flex-column h-100 mx-auto">
<header class="mb-auto nav-spacer">
<h3 class="masthead-brand">
<i class="nes-icon coin"></i> Mario Mario
</h3>
<nav class="nav nav-masthead justify-center">
<a class="nav-link" href="index.html">Home</a>
<a class="nav-link active" href="portfolio.html"
>Portfolio</a
>
<a class="nav-link" href="cv.html">CV</a>
<a class="nav-link" href="contact.html">Contact</a>
</nav>
</header>
<div class="container nes-container mb-4">
<div class="col-md-12">
<h1>Gallery</h1>
</div>
<div class="col-md-12 mb-4">
<button
type="button"
class="nes-btn filter-button"
data-filter="all"
>
All
</button>
<button
type="button"
class="nes-btn is-success filter-button"
data-filter="pipes"
>
Pipes
</button>
<button
type="button"
class="nes-btn is-warning filter-button"
data-filter="stars"
>
Stars
</button>
<button
type="button"
class="nes-btn is-error filter-button"
data-filter="flags"
>
Flags
</button>
<button
type="button"
class="nes-btn is-primary filter-button"
data-filter="mushrooms"
>
Mushrooms
</button>
</div>
<div class="row mb-4">
<div class="m-auto nes-pointer col-md-4 filter pipes">
<img
src="assets/img/portfolio/cabin.png"
class="img-responsive"
alt=""
/>
</div>
<div class="m-auto nes-pointer col-md-4 filter mushrooms">
<img
src="assets/img/portfolio/cake.png"
class="img-responsive"
alt=""
/>
</div>
<div class="m-auto nes-pointer col-md-4 filter stars">
<img
src="assets/img/portfolio/circus.png"
class="img-responsive"
alt=""
/>
</div>
</div>
<div class="row mb-4">
<div class="m-auto nes-pointer col-md-4 filter mushrooms">
<img
src="assets/img/portfolio/game.png"
class="img-responsive"
alt=""
/>
</div>
<div class="m-auto nes-pointer col-md-4 filter pipes">
<img
src="assets/img/portfolio/safe.png"
class="img-responsive"
alt=""
/>
</div>
<div class="m-auto nes-pointer col-md-4 filter mushrooms">
<img
src="assets/img/portfolio/submarine.png"
class="img-responsive"
alt=""
/>
</div>
</div>
<div class="row mb-4">
<div class="m-auto nes-pointer col-md-4 filter flags">
<img
src="assets/img/portfolio/submarine.png"
class="img-responsive"
alt=""
/>
</div>
<div class="m-auto nes-pointer col-md-4 filter stars">
<img
src="assets/img/portfolio/game.png"
class="img-responsive"
alt=""
/>
</div>
<div class="m-auto nes-pointer col-md-4 filter flags">
<img
src="assets/img/portfolio/cake.png"
class="img-responsive"
alt=""
/>
</div>
</div>
</div>
<footer class="mt-auto">
<p>
Website made with <i class="nes-icon is-small heart"></i>,
by <a target="_blank" href="#">Nisarg</a>
</p>
</footer>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('.filter-button').click(function () {
var value = $(this).attr('data-filter');
if (value == 'all') {
$('.filter').show('1000');
} else {
$('.filter')
.not('.' + value)
.hide('3000');
$('.filter')
.filter('.' + value)
.show('3000');
}
});
});
</script>
</body>
</html>