enchance this with the games button state having the project setup has grid with 2 columns a 6 rows with the heading on top and have it centered
Browse files- index.html +23 -22
- style.css +13 -0
index.html
CHANGED
|
@@ -255,13 +255,13 @@ Download CV
|
|
| 255 |
<button id="games-btn" class="px-6 py-2 border border-red-600 text-red-600 rounded-full font-medium hover:bg-red-50" onclick="filterProjects('games')">Games</button>
|
| 256 |
<button id="art-btn" class="px-6 py-2 border border-red-600 text-red-600 rounded-full font-medium hover:bg-red-50" onclick="filterProjects('art')">Art</button>
|
| 257 |
</div>
|
| 258 |
-
<div id="projects-grid" class="w-full max-w-
|
| 259 |
-
<!-- Games Column -->
|
| 260 |
-
<div id="games-col" class="
|
| 261 |
-
<h3 class="text-
|
| 262 |
-
<div class="grid grid-cols-1 gap-8">
|
| 263 |
-
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm">
|
| 264 |
-
|
| 265 |
<div class="p-6">
|
| 266 |
<h2 class="text-2xl font-bold mb-2">Bap Cat</h2>
|
| 267 |
<h3 class="text-xl font-semibold mb-2">A game about a cat spreading chaos in their owners cafe</h3>
|
|
@@ -272,8 +272,8 @@ Download CV
|
|
| 272 |
</a>
|
| 273 |
</div>
|
| 274 |
</div>
|
| 275 |
-
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm">
|
| 276 |
-
|
| 277 |
<div class="p-6">
|
| 278 |
<h2 class="text-2xl font-bold mb-2">Mech Warrior</h2>
|
| 279 |
<h3 class="text-xl font-semibold mb-2">Epic mech battles in futuristic cities</h3>
|
|
@@ -287,11 +287,11 @@ Download CV
|
|
| 287 |
</div>
|
| 288 |
</div>
|
| 289 |
<!-- Art Column -->
|
| 290 |
-
<div id="art-col" class="
|
| 291 |
-
<h3 class="text-
|
| 292 |
-
<div class="grid grid-cols-1 gap-8">
|
| 293 |
-
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm">
|
| 294 |
-
|
| 295 |
<div class="p-6">
|
| 296 |
<h2 class="text-2xl font-bold mb-2">The Fireflies Night</h2>
|
| 297 |
<h3 class="text-xl font-semibold mb-2">In the full moonlight, there is a house, where the fireflies lead weary travelers to its doors.</h3>
|
|
@@ -302,8 +302,8 @@ Download CV
|
|
| 302 |
</a>
|
| 303 |
</div>
|
| 304 |
</div>
|
| 305 |
-
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm">
|
| 306 |
-
|
| 307 |
<div class="p-6">
|
| 308 |
<h2 class="text-2xl font-bold mb-2">Concept Art Collection</h2>
|
| 309 |
<h3 class="text-xl font-semibold mb-2">Stylized character designs</h3>
|
|
@@ -318,9 +318,10 @@ Download CV
|
|
| 318 |
</div>
|
| 319 |
</div>
|
| 320 |
<!-- Games Column (Filtered State) -->
|
| 321 |
-
<div id="games-col-filtered" class="
|
| 322 |
-
<h3 class="text-
|
| 323 |
-
<div class="
|
|
|
|
| 324 |
<img src="https://static.wixstatic.com/media/6588f2_d9fdecb14bfc48ac99bd5efed3e1b054~mv2.png" alt="Project 1" class="w-full h-48 object-cover">
|
| 325 |
<div class="p-6">
|
| 326 |
<h2 class="text-2xl font-bold mb-2">Bap Cat</h2>
|
|
@@ -331,8 +332,8 @@ Download CV
|
|
| 331 |
<i data-feather="arrow-right" class="ml-2"></i>
|
| 332 |
</a>
|
| 333 |
</div>
|
| 334 |
-
|
| 335 |
-
|
| 336 |
<img src="http://static.photos/gaming/640x360/101" alt="Game Project 1" class="w-full h-48 object-cover">
|
| 337 |
<div class="p-6">
|
| 338 |
<h2 class="text-2xl font-bold mb-2">Mech Warrior</h2>
|
|
@@ -344,7 +345,7 @@ Download CV
|
|
| 344 |
</a>
|
| 345 |
</div>
|
| 346 |
</div>
|
| 347 |
-
|
| 348 |
<img src="http://static.photos/gaming/640x360/102" alt="Game Project 2" class="w-full h-48 object-cover">
|
| 349 |
<div class="p-6">
|
| 350 |
<h2 class="text-2xl font-bold mb-2">Pixel Adventure</h2>
|
|
|
|
| 255 |
<button id="games-btn" class="px-6 py-2 border border-red-600 text-red-600 rounded-full font-medium hover:bg-red-50" onclick="filterProjects('games')">Games</button>
|
| 256 |
<button id="art-btn" class="px-6 py-2 border border-red-600 text-red-600 rounded-full font-medium hover:bg-red-50" onclick="filterProjects('art')">Art</button>
|
| 257 |
</div>
|
| 258 |
+
<div id="projects-grid" class="w-full max-w-7xl mx-auto">
|
| 259 |
+
<!-- Games Column -->
|
| 260 |
+
<div id="games-col" class="w-full">
|
| 261 |
+
<h3 class="text-3xl font-bold mb-10 text-center">Games</h3>
|
| 262 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 263 |
+
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
|
| 264 |
+
<img src="https://static.wixstatic.com/media/6588f2_d9fdecb14bfc48ac99bd5efed3e1b054~mv2.png" alt="Bap Cat" class="w-full h-48 object-cover">
|
| 265 |
<div class="p-6">
|
| 266 |
<h2 class="text-2xl font-bold mb-2">Bap Cat</h2>
|
| 267 |
<h3 class="text-xl font-semibold mb-2">A game about a cat spreading chaos in their owners cafe</h3>
|
|
|
|
| 272 |
</a>
|
| 273 |
</div>
|
| 274 |
</div>
|
| 275 |
+
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
|
| 276 |
+
<img src="http://static.photos/gaming/640x360/101" alt="Mech Warrior" class="w-full h-48 object-cover">
|
| 277 |
<div class="p-6">
|
| 278 |
<h2 class="text-2xl font-bold mb-2">Mech Warrior</h2>
|
| 279 |
<h3 class="text-xl font-semibold mb-2">Epic mech battles in futuristic cities</h3>
|
|
|
|
| 287 |
</div>
|
| 288 |
</div>
|
| 289 |
<!-- Art Column -->
|
| 290 |
+
<div id="art-col" class="w-full">
|
| 291 |
+
<h3 class="text-3xl font-bold mb-10 text-center">Art</h3>
|
| 292 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 293 |
+
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
|
| 294 |
+
<img src="https://static.wixstatic.com/media/6588f2_24e4126d37144f21863c7c78faba9f93~mv2.jpg" alt="The Fireflies Night" class="w-full h-48 object-cover">
|
| 295 |
<div class="p-6">
|
| 296 |
<h2 class="text-2xl font-bold mb-2">The Fireflies Night</h2>
|
| 297 |
<h3 class="text-xl font-semibold mb-2">In the full moonlight, there is a house, where the fireflies lead weary travelers to its doors.</h3>
|
|
|
|
| 302 |
</a>
|
| 303 |
</div>
|
| 304 |
</div>
|
| 305 |
+
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
|
| 306 |
+
<img src="http://static.photos/art/640x360/42" alt="Concept Art Collection" class="w-full h-48 object-cover">
|
| 307 |
<div class="p-6">
|
| 308 |
<h2 class="text-2xl font-bold mb-2">Concept Art Collection</h2>
|
| 309 |
<h3 class="text-xl font-semibold mb-2">Stylized character designs</h3>
|
|
|
|
| 318 |
</div>
|
| 319 |
</div>
|
| 320 |
<!-- Games Column (Filtered State) -->
|
| 321 |
+
<div id="games-col-filtered" class="w-full" style="display: none;">
|
| 322 |
+
<h3 class="text-3xl font-bold mb-10 text-center">Games</h3>
|
| 323 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 324 |
+
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
|
| 325 |
<img src="https://static.wixstatic.com/media/6588f2_d9fdecb14bfc48ac99bd5efed3e1b054~mv2.png" alt="Project 1" class="w-full h-48 object-cover">
|
| 326 |
<div class="p-6">
|
| 327 |
<h2 class="text-2xl font-bold mb-2">Bap Cat</h2>
|
|
|
|
| 332 |
<i data-feather="arrow-right" class="ml-2"></i>
|
| 333 |
</a>
|
| 334 |
</div>
|
| 335 |
+
</div>
|
| 336 |
+
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
|
| 337 |
<img src="http://static.photos/gaming/640x360/101" alt="Game Project 1" class="w-full h-48 object-cover">
|
| 338 |
<div class="p-6">
|
| 339 |
<h2 class="text-2xl font-bold mb-2">Mech Warrior</h2>
|
|
|
|
| 345 |
</a>
|
| 346 |
</div>
|
| 347 |
</div>
|
| 348 |
+
<div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
|
| 349 |
<img src="http://static.photos/gaming/640x360/102" alt="Game Project 2" class="w-full h-48 object-cover">
|
| 350 |
<div class="p-6">
|
| 351 |
<h2 class="text-2xl font-bold mb-2">Pixel Adventure</h2>
|
style.css
CHANGED
|
@@ -4,12 +4,25 @@ body {
|
|
| 4 |
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 5 |
}
|
| 6 |
/* Projects section styles */
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
.project-card {
|
| 8 |
width: 100%;
|
| 9 |
max-width: 100%;
|
| 10 |
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
.project-card:hover {
|
| 14 |
transform: translateY(-5px);
|
| 15 |
box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.2);
|
|
|
|
| 4 |
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 5 |
}
|
| 6 |
/* Projects section styles */
|
| 7 |
+
#projects-grid {
|
| 8 |
+
padding: 0 2rem;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
.project-card {
|
| 12 |
width: 100%;
|
| 13 |
max-width: 100%;
|
| 14 |
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 15 |
+
display: flex;
|
| 16 |
+
flex-direction: column;
|
| 17 |
}
|
| 18 |
|
| 19 |
+
.project-card img {
|
| 20 |
+
flex: 0 0 auto;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.project-card > div {
|
| 24 |
+
flex: 1;
|
| 25 |
+
}
|
| 26 |
.project-card:hover {
|
| 27 |
transform: translateY(-5px);
|
| 28 |
box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.2);
|