-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
338 lines (269 loc) · 10.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Karl Mavko - Unreal Engine Portfolio</title>
<link rel="icon" type="svg" href="houndhelmet.svg" alt="Logo">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
<script src="https://kit.fontawesome.com/800fd0f8b9.js" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://unpkg.com/vue@3"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap');
html{
background-color: black;
}
:root {
--bg: #333335;
--card-bg: #0f0f0f;
--othercolor: #54DBBB;
}
body {
background: var(--bg);
}
.box {
background: var(--card-bg);
}
input::placeholder {
color: antiquewhite;
}
.navbar {
background: var(--card-bg);
}
.navbar-item {
color: ghostwhite;
}
/* Card start*/
.card {
overflow: hidden;
background-color: #0f0f0f;
color: var(--bg);
}
.card.large {
border-radius: 5px;
}
.title.no-padding {
margin-bottom: 0 !important;
}
.footer {
background: var(--card-bg);
color: ghostwhite;
}
.footer p{
color: ghostwhite;
}
strong {
color: ghostwhite;
}
.footer a:hover {
/* color: crimson; */
}
.fa {
color: ghostwhite;
margin: 10px
}
.logo{
max-height: 3rem !important;
}
.title,.content{
color:ghostwhite;
}
.logocontainer{
/* border-radius: 2px !important;
border-color: var(--othercolor) !important; */
}
.name{
font-family: 'Roboto', sans-serif;
/* color: #ff6f13ff; */
}
.cardvideo{
object-fit: cover;
width: 100%;
height: 258px;
}
.button{
color: black !important;
background-color: var(--othercolor) !important;
}
.button.is-info.is-hovered, .button.is-info:hover{
background-color: var(--othercolor) !important;
}
.fa-brands{
color: var(--othercolor);
}
.dropdown-item{
color: ghostwhite;
background-color: var(--card-bg);
}
.dropdown-content{
color: ghostwhite;
background-color: var(--card-bg) !important;
}
</style>
</head>
<body>
<!-- START NAV -->
<nav class="navbar">
<div class="container">
<div class="navbar-brand">
<a class="navbar-item logocontainer" href="#" style="padding-right: 3px;">
<img class="logo" src="houndhelmet.svg" alt="Logo">
</a>
<p class="navbar-item title is-marginless is-size-1 name">
Karl Mavko
</p>
<div class="navbar-item ml-auto is-hidden-desktop">
<p class="title is-marginless has-text-weight-normal has-text-centered is-hidden-mobile">
Unreal Engine</p>
<p class="title is-marginless has-text-weight-light ml-2 mr-2 is-hidden-mobile">Portfolio</p>
<div class="dropdown is-right">
<div class="dropdown-trigger">
<button class="button" aria-haspopup="true" aria-controls="dropdown-menu">
<span class="icon is-small">
<i class="fas fa-bars" aria-hidden="true"></i>
</span>
</button>
</div>
<div class="dropdown-menu" id="dropdown-menu" role="menu">
<div class="dropdown-content">
<a class="dropdown-item" href="https://www.linkedin.com/in/karl-m-b98594188/">
<i class="fa-brands fa-linkedin mr-1"></i> Linkedin
</a>
<a class="dropdown-item" href="https://github.com/Megafunk/">
<i class="fa-brands fa-github mr-1"></i> GitHub
</a>
</div>
</div>
</div>
</div>
</div>
<div class="navbar-menu">
<div class="navbar-end">
<p class="navbar-item title is-marginless has-text-weight-normal has-text-centered ">
Unreal Engine <span class="has-text-weight-light ml-2">Portfolio</span>
</p>
<a class="navbar-item" href="https://www.linkedin.com/in/karl-m-b98594188/">
<i class="fa-brands fa-linkedin mr-1"></i> Linkedin
</a>
<a class="navbar-item" href="https://github.com/Megafunk/">
<i class="fa-brands fa-github mr-1"></i> GitHub
</a>
</div>
</div>
</div>
</nav>
<!-- END NAV -->
<div class="container">
<div class="section">
<div class="columns">
<div class="column " style="padding-bottom: 0%;">
<p class="title is-hidden-tablet mt-0 has-text-centered" style="color: ghostwhite;">Portfolio</p>
<p class="subtitle is-marginless" style="color: ghostwhite;">Projects</p>
<p class="is-size-6 is-hidden-touch" style="color: ghostwhite;">Hover to play videos!</p>
<p class="is-size-6 is-hidden-desktop" style="color: ghostwhite;">Tap to play videos!</p>
</div>
</div>
<div id="app" class="row columns is-multiline">
<div v-for="card in cardData" key="card.id" class="column is-4">
<div class="card large">
<div class="card-image">
<figure>
<video class="cardvideo " playsinline="" muted="" loop="">
<source type="video/mp4" :src="card.video">
</video>
</figure>
</div>
<div class="card-content">
<div class="media" style="margin-bottom: .75rem;">
<div class="media-content has-text-centered">
<a class="button title is-5 is-info"
:href="card.project.link" style="margin-bottom: .5rem;">{{card.project.title}}</a>
<p>
<span class="title is-6 no-padding">
{{card.project.role}} </span> </p>
<!-- <p class="subtitle is-6">{{card.project.title}}</p> -->
</div>
</div>
<div class="content is-size-6" style="white-space: pre-wrap;">
{{card.content}}
<div class="background-icon"><span class="icon-twitter"></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="content has-text-centered">
<p>
<i class="fa-solid fa-envelope mr-1"></i> </strong> karlmavko@gmail.com <br>
</p>
</div>
</div>
</footer>
<script>
let cardsData = [
{
video: 'https://i.imgur.com/ymKtzyW.mp4',
project: {
title: 'ECS Projectiles Plugin',
link: 'https://github.com/EmpiresCommunity/ECSProjectiles',
role: 'Programming'
},
content: 'FLECS combined with Niagara to make a high performance fully simulated projectile and VFX system. Open source.'
},
{
video: 'https://i.imgur.com/H49jnAU.mp4',
project: {
title: 'Empires UE4 Remake',
link: 'https://www.empiresmod.com/team/',
role: 'Gameplay Programming'
},
content: 'Multiplayer shooter with 64 player servers and commanders that place buildings. I created the networked grenades system and various fixes.'
},
{
video: 'https://i.imgur.com/SURHtBC.mp4',
project: {
title: 'Community Mass Sample',
link: 'https://github.com/Megafunk/MassSample/',
role: 'Programming and Documentation'
},
content: 'Mass is a new ECS library introduced by UE5. This is a public sample demonstrating how to set it up and create new features for it. WIP!'
},
{
video: 'https://i.imgur.com/sigC4Hk.mp4',
project: {
title: 'Chess 3 Gamejam',
link: 'https://megafunk.itch.io/chess-3',
role: 'Programming and Design'
},
content: 'The unwanted gamejam sequel to the ancient classic. Blueprint project made in a weekend. And yes, somebody made Chess 2!'
}
]
Vue.createApp({
data() {
return {
cardData: cardsData
}
}
}).mount('#app')
$(document).ready(function() {
$(".cardvideo").on("mouseover", function(event)
{
this.play();
}).on('mouseout', function(event)
{
this.pause();
this.currentTime = 0;
});
})
$(".dropdown").on('click', function(event){
$(".dropdown").toggleClass("is-active");
});
</script>
</body>
</html>