Repository navigation
Expand file tree
/
Copy pathprojects.html
More file actions
470 lines (423 loc) · 22.4 KB
/
Copy pathprojects.html
File metadata and controls
470 lines (423 loc) · 22.4 KB
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
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
<!DOCTYPE html>
<html lang="en" class="h-full" xmlns:x-transition="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Projects - Prangell</title>
<!-- Primary Meta Tags -->
<meta name="title" content="Projects - Prangell">
<meta name="description" content="A collection of my development projects with their wiki pages. Additionally it shows my journey through learning.">
<meta name="author" content="Prangell">
<meta name="keywords" content="web development, programming, developer portfolio">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://prangellplays.github.io/Projects">
<meta property="og:site_name" content="Prangell">
<meta property="og:title" content="Projects - Prangell">
<meta property="og:description" content="A collection of my development projects with their wiki pages. Additionally it shows my journey through learning.">
<meta property="og:image" content="https://prangellplays.github.io/assets/site-image.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:locale" content="en_US">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://prangellplays.github.io/Projects">
<meta property="twitter:title" content="Projects - Prangell">
<meta property="twitter:description" content="A collection of my development projects with their wiki pages. Additionally it shows my journey through learning.">
<meta property="twitter:image" content="https://prangellplays.github.io/assets/site-image.png">
<meta property="twitter:creator" content="@PrangellDev">
<!-- Theme Color for browsers -->
<meta name="theme-color" content="#EC4899">
<style>
[x-cloak] { display: none !important; }
</style>
<link rel="stylesheet" href="/css/styles.css" />
<link rel="stylesheet" href="/css/animations.css" />
<link rel="stylesheet" href="/css/index.css" />
<script nonce="SUIiDKvdAKfAQ83JF6r8WpO/NmruLpbv8ihFYt+TqvM=" defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
<link rel="icon" href="assets/prangell-icon.png"/>
</head>
<body class="min-h-full flex flex-col bg-gradient-to-br from-primary-50 to-secondary-50">
<header b-fjjvsfsfew class="bg-white shadow-sm relative">
<nav b-fjjvsfsfew class="container mx-auto px-4 py-4" x-data="{ isOpen: false, activeSection: window.location.pathname }" role="navigation" aria-label="Main navigation">
<div b-fjjvsfsfew class="flex justify-between items-center">
<!-- Logo -->
<a b-fjjvsfsfew href="/"
class="text-2xl font-display font-bold bg-clip-text hover:opacity-80 transition-all duration-300 group focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 rounded-lg px-2 py-1"
aria-label="Home">
<span b-fjjvsfsfew class="inline-flex items-center gap-2">
Prangell
</span>
</a>
<!-- Mobile menu button -->
<button b-fjjvsfsfew @click="isOpen = !isOpen"
class="md:hidden p-2 rounded-lg hover:bg-gray-100 transition-colors focus:outline-none focus:ring-2 focus:ring-primary-500"
:aria-expanded="isOpen"
aria-controls="mobile-menu"
aria-label="Toggle navigation menu">
<svg b-fjjvsfsfew class="h-6 w-6 text-gray-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path b-fjjvsfsfew x-show="!isOpen" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
<path b-fjjvsfsfew x-show="isOpen" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
</svg>
</button>
<!-- Desktop menu -->
<div b-fjjvsfsfew class="hidden md:flex space-x-8">
<a b-fjjvsfsfew href="projects.html"
class="nav-link group relative flex items-center gap-1 px-2 py-1 rounded-lg transition-all duration-300"
:class="{ 'nav-link-active': activeSection.includes('projects.html') }"
@mouseenter="$refs.projectsEmoji.classList.add('animate-bounce')"
@mouseleave="$refs.projectsEmoji.classList.remove('animate-bounce')"
aria-label="View all projects">
<span b-fjjvsfsfew>Projects</span>
<span b-fjjvsfsfew class="absolute inset-x-0 -bottom-1 h-0.5 bg-primary-500 transform origin-left transition-transform scale-x-0 group-hover:scale-x-100" aria-hidden="true"></span>
</a>
<a b-fjjvsfsfew href="about.html"
class="nav-link group relative flex items-center gap-1 px-2 py-1 rounded-lg transition-all duration-300"
:class="{ 'nav-link-active': activeSection.includes('about.html') }"
@mouseenter="$refs.aboutEmoji.classList.add('animate-float')"
@mouseleave="$refs.aboutEmoji.classList.remove('animate-float')"
aria-label="About me">
<span b-fjjvsfsfew>About</span>
<span b-fjjvsfsfew class="absolute inset-x-0 -bottom-1 h-0.5 bg-primary-500 transform origin-left transition-transform scale-x-0 group-hover:scale-x-100" aria-hidden="true"></span>
</a>
</div>
</div>
<!-- Mobile menu -->
<div b-fjjvsfsfew x-show="isOpen"
x-transition:enter="transition ease-out duration-200"
x-transition:enter-start="opacity-0 -translate-y-2"
x-transition:enter-end="opacity-100 translate-y-0"
x-transition:leave="transition ease-in duration-150"
x-transition:leave-start="opacity-100 translate-y-0"
x-transition:leave-end="opacity-0 -translate-y-2"
class="md:hidden mt-4 space-y-2 p-2 bg-white rounded-lg shadow-lg"
id="mobile-menu">
<a b-fjjvsfsfew href="projects.html"
class="nav-link block p-2 rounded-lg transition-all duration-300 hover:bg-gray-50"
:class="{ 'text-primary-600 bg-primary-50': activeSection.includes('projects.html') }">
<span b-fjjvsfsfew class="flex items-center gap-2">
Projects
</span>
</a>
<a b-fjjvsfsfew href="about.html"
class="nav-link block p-2 rounded-lg transition-all duration-300 hover:bg-gray-50"
:class="{ 'text-primary-600 bg-primary-50': activeSection.includes('about.html') }">
<span b-fjjvsfsfew class="flex items-center gap-2">
About
</span>
</a>
</div>
</nav>
</header>
<main b-fjjvsfsfew class="container mx-auto px-4 py-8 relative flex-grow">
<div class="bg-white relative" x-data="projectsData">
<div class="mx-auto max-w-7xl px-6 lg:px-8 py-24 sm:py-32">
<div class="mx-auto max-w-2xl text-center relative">
<div class="absolute inset-0 flex items-center justify-center opacity-5 pointer-events-none" style="z-index: -1;">
<div class="rotating-background blur-xl"></div>
</div>
<h1 class="text-4xl font-bold tracking-tight text-gray-900 sm:text-5xl flex items-center justify-center gap-3">
Projects
</h1>
<p class="mt-2 text-lg leading-8 text-gray-600">
Explore my projects.
</p>
</div>
<!-- Search and Filter Section -->
<div class="mt-8 max-w-3xl mx-auto">
<div class="flex flex-col sm:flex-row gap-4">
<div class="flex-1">
<div class="relative">
<input type="text"
x-model="searchQuery"
placeholder="Search projects..."
class="w-full px-4 py-2 rounded-2xl border border-gray-300 focus:ring-2 focus:ring-primary-500 focus:border-primary-500">
<span class="absolute right-3 top-2.5 text-gray-400">🔍</span>
</div>
</div>
<div class="flex gap-2">
<select x-model="selectedTag"
class="px-4 py-2 rounded-2xl border border-gray-300 focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white">
<option value="">All Tags</option>
<option value="Minecraft Mod">Minecraft Mod</option>
</select>
<select x-model="sortBy"
class="px-4 py-2 rounded-2xl border border-gray-300 focus:ring-2 focus:ring-primary-500 focus:border-primary-500 bg-white">
<option value="date">Latest First</option>
<option value="name">Name A-Z</option>
</select>
</div>
</div>
</div>
<!-- Projects Grid -->
<div class="mx-auto mt-16 grid max-w-2xl auto-rows-fr grid-cols-1 gap-8 sm:mt-20 lg:mx-0 lg:max-w-none lg:grid-cols-3">
<template x-for="project in paginatedProjects" :key="project.id">
<div class="project-card relative group h-[302px] flex flex-col">
<div class="absolute -inset-0.5 bg-gradient-to-r from-primary-500 to-secondary-500 rounded-2xl blur opacity-25 group-hover:opacity-75 transition duration-1000 group-hover:duration-200 animate-gradient-xy"></div>
<div class="relative bg-white ring-1 ring-gray-900/5 rounded-2xl leading-none p-6 flex flex-col flex-grow">
<div class="flex items-center justify-between">
<h4 class="font-medium text-gray-900 text-lg line-clamp-1" x-text="project.name"></h4>
<span class="text-xl" x-text="getEmoji(project.id)"></span>
</div>
<template x-if="project.imageUrl">
<div class="mt-4 h-48">
<img :src="project.imageUrl" :alt="project.name" class="w-full h-full object-cover rounded-xl">
</div>
</template>
<div class="mt-4 flex-grow">
<p class="text-sm text-gray-500 line-clamp-3" x-text="project.description"></p>
</div>
<div class="mt-4">
<div class="flex flex-wrap gap-2 mb-4">
<template x-for="tag in project.tags" :key="tag">
<span class="tag" x-text="tag"></span>
</template>
</div>
<div class="flex justify-between items-center text-sm">
<span class="text-gray-500" x-text="formatDate(project.createdAt)"></span>
<div class="flex space-x-2">
<template x-if="project.projectUrl">
<a :href="project.projectUrl"
target="_blank"
class="text-green-600 hover:text-green-900 group inline-flex items-center">
<span class="mr-1">🌐</span>
Live Site
</a>
</template>
<template x-if="project.githubUrl">
<a :href="project.githubUrl"
target="_blank"
class="text-primary-600 hover:text-primary-900 group inline-flex items-center">
<svg class="h-5 w-5 mr-1" fill="currentColor" viewBox="0 0 24 24">
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" />
</svg>
GitHub
</a>
</template>
</div>
</div>
</div>
</div>
</div>
</template>
</div>
<!-- Pagination -->
<div class="mt-12 flex justify-center gap-2">
<button @click="currentPage > 1 && currentPage--"
:class="{ 'opacity-50 cursor-not-allowed': currentPage === 1 }"
class="px-4 py-2 rounded-2xl bg-primary-500 text-white hover:bg-primary-600 transition-colors">
Previous
</button>
<div class="flex items-center gap-2">
<template x-for="page in totalPages" :key="page">
<button @click="currentPage = page"
:class="{ 'bg-primary-500 text-white': currentPage === page, 'bg-gray-200 hover:bg-gray-300': currentPage !== page }"
class="w-10 h-10 rounded-xl flex items-center justify-center transition-colors"
x-text="page">
</button>
</template>
</div>
<button @click="currentPage < totalPages && currentPage++"
:class="{ 'opacity-50 cursor-not-allowed': currentPage === totalPages }"
class="px-4 py-2 rounded-2xl bg-primary-500 text-white hover:bg-primary-600 transition-colors">
Next
</button>
</div>
</div>
</div>
<style>
@keyframes rainbow {
to {
background-position: 200% center;
}
}
@keyframes float {
0%, 100% {
transform: translateY(0) rotate(0deg);
}
50% {
transform: translateY(-100px) rotate(180deg);
}
}
.rotating-background {
width: 800px;
height: 800px;
background: linear-gradient(45deg,
rgba(255, 107, 107, 0.4),
rgba(78, 205, 196, 0.4),
rgba(69, 183, 209, 0.4),
rgba(150, 201, 61, 0.4));
animation: rotate 20s linear infinite;
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
filter: blur(80px);
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.animate-spin-slow {
animation: spin 3s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.animate-float {
animation: float-text 3s ease-in-out infinite;
}
@keyframes float-text {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.sparkle {
position: absolute;
background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%);
pointer-events: none;
animation: sparkle-fade 1s ease-in-out forwards;
z-index: 10;
}
@keyframes sparkle-fade {
0% {
transform: scale(0) rotate(0deg);
opacity: 0;
}
50% {
transform: scale(1) rotate(180deg);
opacity: 1;
}
100% {
transform: scale(0) rotate(360deg);
opacity: 0;
}
}
</style>
</main>
<footer b-fjjvsfsfew class="bg-white border-t mt-auto">
<div b-fjjvsfsfew class="container mx-auto px-4 py-6">
<div b-fjjvsfsfew class="text-center space-y-2">
<p b-fjjvsfsfew class="text-gray-600">© 2025 - Prangell</p>
<p b-fjjvsfsfew class="text-sm text-gray-500 flex items-center justify-center gap-2">
<span b-fjjvsfsfew>Made with Magic</span>
</p>
</div>
</div>
</footer>
<script>
document.addEventListener('alpine:init', () => {
Alpine.data('projectsData', () => ({
projects: [
{"id":1,"name":"LLG Dragons: Re-Fabricated","description":"A re-creation of the old LLGDragons mod created by LittleLizardGaming and Tiny Turtle for their original HTTYD series in 1.10.2. This mod re-creates the features shown in the series from the mod and ports it to fabric 1.20.1.","imageUrl":"https://github.com/PrangellPlays/LLGDragons_ReFabricated/blob/master/src/main/resources/assets/llgdragons/icon.png?raw=true","projectUrl":"https://github.com/PrangellPlays/LLGDragons_ReFabricated","githubUrl":"https://github.com/PrangellPlays/LLGDragons_ReFabricated","createdAt":"2025-03-04T09:21:12.5674654","tags":["Minecraft Mod"]},
{"id":2,"name":"Splatter","description":"Splatoon in Minecraft.","imageUrl":"https://github.com/PrangellPlays/Splatter/blob/master/src/main/resources/assets/splatter/icon.png?raw=true","projectUrl":"https://github.com/PrangellPlays/Splatter","githubUrl":"https://github.com/PrangellPlays/Splatter","createdAt":"2025-03-05T09:21:12.5674654","tags":["Minecraft Mod"]}
],
searchQuery: '',
selectedTag: '',
sortBy: 'date',
currentPage: 1,
itemsPerPage: 9,
get filteredProjects() {
return this.projects
.filter(project => {
const matchesSearch = this.searchQuery === '' ||
project.name.toLowerCase().includes(this.searchQuery.toLowerCase()) ||
project.description.toLowerCase().includes(this.searchQuery.toLowerCase());
const matchesTag = this.selectedTag === '' ||
project.tags.includes(this.selectedTag);
return matchesSearch && matchesTag;
})
.sort((a, b) => {
if (this.sortBy === 'date') {
return new Date(b.createdAt) - new Date(a.createdAt);
}
return a.name.localeCompare(b.name);
});
},
get totalPages() {
return Math.ceil(this.filteredProjects.length / this.itemsPerPage);
},
get paginatedProjects() {
const start = (this.currentPage - 1) * this.itemsPerPage;
const end = start + this.itemsPerPage;
return this.filteredProjects.slice(start, end);
},
getEmoji(id) {
return this.emojis[id % this.emojis.length];
},
formatDate(date) {
return new Date(date).toLocaleDateString('en-US', {
year: 'numeric',
month: 'short',
day: 'numeric'
});
}
}));
});
// Sparkles and confetti
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('.project-card').forEach(card => {
card.addEventListener('mouseenter', () => {
const sparkleInterval = setInterval(() => {
createSparkle(card);
}, 50);
card.dataset.sparkleInterval = sparkleInterval;
});
card.addEventListener('mouseleave', () => {
clearInterval(card.dataset.sparkleInterval);
});
});
});
function createSparkle(parent) {
const sparkle = document.createElement('div');
sparkle.className = 'sparkle';
const size = Math.random() * 8 + 4;
sparkle.style.width = `${size}px`;
sparkle.style.height = `${size}px`;
sparkle.style.left = `${Math.random() * parent.offsetWidth}px`;
sparkle.style.top = `${Math.random() * parent.offsetHeight}px`;
parent.appendChild(sparkle);
setTimeout(() => {
parent.removeChild(sparkle);
}, 1000);
}
</script>
<style>
.nav-link {
color: rgb(75 85 99);
font-weight: 500;
outline: none;
}
.nav-link:hover {
color: rgb(219 39 119);
}
.nav-link:focus-visible {
outline: 2px solid rgb(219 39 119);
outline-offset: 2px;
border-radius: 0.5rem;
}
.nav-link-active {
color: rgb(219 39 119);
background-color: rgb(253 242 248);
}
@keyframes gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.animate-gradient-shift {
background-size: 200% auto;
animation: gradient-shift 3s ease infinite;
}
</style>
</body>
</html>