Spaces:
Running
Running
File size: 24,962 Bytes
dead689 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Personal Site</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom styles that can't be done with Tailwind */
.timeline-item::before {
content: '';
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 2px;
height: 100%;
background-color: #e5e7eb;
z-index: 1;
}
.fade-text {
position: relative;
}
.fade-text::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 50%;
background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}
.active-tab {
border-bottom: 3px solid #3b82f6;
color: #3b82f6;
}
@media (max-width: 768px) {
.timeline-item::before {
left: 24px;
}
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<div class="container mx-auto px-4 py-8 max-w-4xl">
<!-- Header -->
<header class="mb-12 text-center">
<h1 class="text-4xl font-bold text-gray-800 mb-2">My Personal Space</h1>
<p class="text-gray-600">Thoughts, projects, and random things</p>
</header>
<!-- Navigation -->
<nav class="mb-12 border-b border-gray-200">
<div class="flex justify-center space-x-8">
<button id="timeline-tab" class="py-2 px-4 font-medium active-tab">Timeline</button>
<button id="projects-tab" class="py-2 px-4 font-medium text-gray-500 hover:text-gray-800">My Projects</button>
<button id="tools-tab" class="py-2 px-4 font-medium text-gray-500 hover:text-gray-800">Tools</button>
</div>
</nav>
<!-- Main Content -->
<main>
<!-- Timeline Section (default visible) -->
<section id="timeline-section" class="space-y-8">
<h2 class="text-2xl font-semibold text-gray-800 mb-6">Recent Activity</h2>
<!-- Timeline items -->
<div class="space-y-8">
<!-- Micro-post example -->
<div class="timeline-item relative pl-16 md:pl-0">
<div class="flex flex-col md:flex-row">
<div class="hidden md:block md:w-1/2 pr-8 text-right">
<span class="text-sm text-gray-500">2 hours ago</span>
</div>
<div class="md:w-1/2 md:pl-8">
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100 relative">
<div class="absolute -left-14 md:-left-7 top-6 w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center z-10">
<i class="fas fa-comment text-blue-500"></i>
</div>
<div class="md:hidden text-sm text-gray-500 mb-2">2 hours ago</div>
<p class="text-gray-800">Just finished reading "Atomic Habits". Highly recommend for anyone looking to build better habits and break bad ones.</p>
<div class="mt-4 flex space-x-4 text-sm text-gray-500">
<span><i class="far fa-heart"></i> 12</span>
<span><i class="far fa-comment"></i> 3</span>
</div>
</div>
</div>
</div>
</div>
<!-- Article example -->
<div class="timeline-item relative pl-16 md:pl-0">
<div class="flex flex-col md:flex-row">
<div class="hidden md:block md:w-1/2 pr-8 text-right">
<span class="text-sm text-gray-500">Yesterday</span>
</div>
<div class="md:w-1/2 md:pl-8">
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100 relative">
<div class="absolute -left-14 md:-left-7 top-6 w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center z-10">
<i class="fas fa-pen-fancy text-purple-500"></i>
</div>
<div class="md:hidden text-sm text-gray-500 mb-2">Yesterday</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Understanding React Hooks</h3>
<div class="fade-text max-h-40 overflow-hidden relative">
<p class="text-gray-600 mb-4">React Hooks have revolutionized how we write React components. They allow you to use state and other React features without writing a class...</p>
<p class="text-gray-600">In this article, we'll explore useState, useEffect, and useContext hooks with practical examples that you can apply in your projects immediately.</p>
</div>
<button class="mt-2 text-blue-500 text-sm font-medium">Read more...</button>
<div class="mt-4 flex space-x-4 text-sm text-gray-500">
<span><i class="far fa-heart"></i> 28</span>
<span><i class="far fa-comment"></i> 7</span>
<span><i class="far fa-bookmark"></i> Save</span>
</div>
</div>
</div>
</div>
</div>
<!-- Micro-post example -->
<div class="timeline-item relative pl-16 md:pl-0">
<div class="flex flex-col md:flex-row">
<div class="hidden md:block md:w-1/2 pr-8 text-right">
<span class="text-sm text-gray-500">2 days ago</span>
</div>
<div class="md:w-1/2 md:pl-8">
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100 relative">
<div class="absolute -left-14 md:-left-7 top-6 w-10 h-10 rounded-full bg-green-100 flex items-center justify-center z-10">
<i class="fas fa-code text-green-500"></i>
</div>
<div class="md:hidden text-sm text-gray-500 mb-2">2 days ago</div>
<p class="text-gray-800">Just published a new open-source library for form validation. Check it out on GitHub!</p>
<div class="mt-4 flex space-x-4 text-sm text-gray-500">
<span><i class="far fa-heart"></i> 34</span>
<span><i class="far fa-comment"></i> 5</span>
</div>
</div>
</div>
</div>
</div>
<!-- Article example -->
<div class="timeline-item relative pl-16 md:pl-0">
<div class="flex flex-col md:flex-row">
<div class="hidden md:block md:w-1/2 pr-8 text-right">
<span class="text-sm text-gray-500">1 week ago</span>
</div>
<div class="md:w-1/2 md:pl-8">
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100 relative">
<div class="absolute -left-14 md:-left-7 top-6 w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center z-10">
<i class="fas fa-pen-fancy text-purple-500"></i>
</div>
<div class="md:hidden text-sm text-gray-500 mb-2">1 week ago</div>
<h3 class="text-xl font-semibold text-gray-800 mb-2">CSS Grid vs Flexbox</h3>
<div class="fade-text max-h-40 overflow-hidden relative">
<p class="text-gray-600 mb-4">When it comes to modern CSS layout techniques, both Grid and Flexbox are powerful tools, but they serve different purposes...</p>
<p class="text-gray-600">Flexbox is designed for one-dimensional layouts (either a row or a column), while CSS Grid is designed for two-dimensional layouts (rows and columns at the same time).</p>
<p class="text-gray-600">In this comprehensive guide, we'll compare both layout systems and help you decide when to use each one.</p>
</div>
<button class="mt-2 text-blue-500 text-sm font-medium">Read more...</button>
<div class="mt-4 flex space-x-4 text-sm text-gray-500">
<span><i class="far fa-heart"></i> 42</span>
<span><i class="far fa-comment"></i> 11</span>
<span><i class="far fa-bookmark"></i> Save</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="text-center mt-8">
<button class="px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition">Load More</button>
</div>
</section>
<!-- Projects Section (hidden by default) -->
<section id="projects-section" class="hidden">
<h2 class="text-2xl font-semibold text-gray-800 mb-6">My Projects</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- Project card 1 -->
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
<i class="fab fa-js text-blue-500 text-xl"></i>
</div>
<div>
<h3 class="font-semibold text-gray-800">Form Validation Library</h3>
<p class="text-sm text-gray-500">JavaScript</p>
</div>
</div>
<p class="text-gray-600 mb-4">A lightweight form validation library with zero dependencies. Supports custom validation rules and async validation.</p>
<div class="flex justify-between items-center text-sm">
<div class="flex space-x-2">
<span class="text-gray-500"><i class="fas fa-star"></i> 128</span>
<span class="text-gray-500"><i class="fas fa-code-branch"></i> 14</span>
</div>
<a href="#" class="text-blue-500 hover:underline">View on GitHub</a>
</div>
</div>
<!-- Project card 2 -->
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4">
<i class="fab fa-react text-green-500 text-xl"></i>
</div>
<div>
<h3 class="font-semibold text-gray-800">Task Management App</h3>
<p class="text-sm text-gray-500">React, Firebase</p>
</div>
</div>
<p class="text-gray-600 mb-4">A full-featured task management application with real-time updates, drag-and-drop functionality, and team collaboration.</p>
<div class="flex justify-between items-center text-sm">
<div class="flex space-x-2">
<span class="text-gray-500"><i class="fas fa-star"></i> 86</span>
<span class="text-gray-500"><i class="fas fa-code-branch"></i> 7</span>
</div>
<a href="#" class="text-blue-500 hover:underline">View on GitHub</a>
</div>
</div>
<!-- Project card 3 -->
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mr-4">
<i class="fab fa-node-js text-purple-500 text-xl"></i>
</div>
<div>
<h3 class="font-semibold text-gray-800">REST API Boilerplate</h3>
<p class="text-sm text-gray-500">Node.js, Express</p>
</div>
</div>
<p class="text-gray-600 mb-4">A production-ready REST API boilerplate with JWT authentication, rate limiting, and comprehensive documentation.</p>
<div class="flex justify-between items-center text-sm">
<div class="flex space-x-2">
<span class="text-gray-500"><i class="fas fa-star"></i> 156</span>
<span class="text-gray-500"><i class="fas fa-code-branch"></i> 23</span>
</div>
<a href="#" class="text-blue-500 hover:underline">View on GitHub</a>
</div>
</div>
<!-- Project card 4 -->
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center mr-4">
<i class="fas fa-mobile-alt text-yellow-500 text-xl"></i>
</div>
<div>
<h3 class="font-semibold text-gray-800">Weather App</h3>
<p class="text-sm text-gray-500">React Native</p>
</div>
</div>
<p class="text-gray-600 mb-4">A beautiful weather application with 5-day forecasts, location detection, and animated weather icons.</p>
<div class="flex justify-between items-center text-sm">
<div class="flex space-x-2">
<span class="text-gray-500"><i class="fas fa-star"></i> 72</span>
<span class="text-gray-500"><i class="fas fa-code-branch"></i> 9</span>
</div>
<a href="#" class="text-blue-500 hover:underline">View on GitHub</a>
</div>
</div>
</div>
<div class="text-center mt-8">
<button class="px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition">Load More Projects</button>
</div>
</section>
<!-- Tools Section (hidden by default) -->
<section id="tools-section" class="hidden">
<h2 class="text-2xl font-semibold text-gray-800 mb-6">My Tools</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- Tool card 1 -->
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100 hover:shadow-md transition">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-red-100 flex items-center justify-center mr-4">
<i class="fas fa-ruler-combined text-red-500 text-xl"></i>
</div>
<h3 class="font-semibold text-gray-800">CSS Unit Converter</h3>
</div>
<p class="text-gray-600 mb-4">Convert between px, rem, em, and other CSS units with this handy tool. Perfect for responsive design work.</p>
<button class="text-blue-500 hover:underline">Try it out →</button>
</div>
<!-- Tool card 2 -->
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100 hover:shadow-md transition">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4">
<i class="fas fa-palette text-green-500 text-xl"></i>
</div>
<h3 class="font-semibold text-gray-800">Color Palette Generator</h3>
</div>
<p class="text-gray-600 mb-4">Generate beautiful color palettes for your projects. Export as CSS variables, SCSS, or Tailwind config.</p>
<button class="text-blue-500 hover:underline">Try it out →</button>
</div>
<!-- Tool card 3 -->
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100 hover:shadow-md transition">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mr-4">
<i class="fas fa-code text-purple-500 text-xl"></i>
</div>
<h3 class="font-semibold text-gray-800">JSON Formatter</h3>
</div>
<p class="text-gray-600 mb-4">Paste your minified JSON and get a beautifully formatted version with syntax highlighting.</p>
<button class="text-blue-500 hover:underline">Try it out →</button>
</div>
<!-- Tool card 4 -->
<div class="bg-white p-6 rounded-lg shadow-sm border border-gray-100 hover:shadow-md transition">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
<i class="fas fa-clock text-blue-500 text-xl"></i>
</div>
<h3 class="font-semibold text-gray-800">Time Zone Converter</h3>
</div>
<p class="text-gray-600 mb-4">Convert times between different time zones. Perfect for scheduling meetings with international teams.</p>
<button class="text-blue-500 hover:underline">Try it out →</button>
</div>
</div>
<div class="mt-8 bg-white p-6 rounded-lg shadow-sm border border-gray-100">
<h3 class="font-semibold text-gray-800 mb-2">More Tools Coming Soon!</h3>
<p class="text-gray-600">I'm constantly building new tools to make development easier. Have an idea for a tool? <a href="#" class="text-blue-500 hover:underline">Let me know</a>!</p>
</div>
</section>
</main>
<!-- Footer -->
<footer class="mt-16 pt-8 border-t border-gray-200 text-center text-gray-500 text-sm">
<p>© 2023 My Personal Site. All rights reserved.</p>
<div class="mt-4 flex justify-center space-x-4">
<a href="#" class="hover:text-gray-800"><i class="fab fa-github"></i></a>
<a href="#" class="hover:text-gray-800"><i class="fab fa-twitter"></i></a>
<a href="#" class="hover:text-gray-800"><i class="fab fa-linkedin"></i></a>
<a href="#" class="hover:text-gray-800"><i class="fas fa-envelope"></i></a>
</div>
</footer>
</div>
<script>
// Tab switching functionality
document.getElementById('timeline-tab').addEventListener('click', function() {
showSection('timeline');
});
document.getElementById('projects-tab').addEventListener('click', function() {
showSection('projects');
});
document.getElementById('tools-tab').addEventListener('click', function() {
showSection('tools');
});
function showSection(section) {
// Hide all sections
document.getElementById('timeline-section').classList.add('hidden');
document.getElementById('projects-section').classList.add('hidden');
document.getElementById('tools-section').classList.add('hidden');
// Remove active class from all tabs
document.getElementById('timeline-tab').classList.remove('active-tab');
document.getElementById('projects-tab').classList.remove('active-tab');
document.getElementById('tools-tab').classList.remove('active-tab');
// Show selected section and mark tab as active
document.getElementById(`${section}-section`).classList.remove('hidden');
document.getElementById(`${section}-tab`).classList.add('active-tab');
document.getElementById(`${section}-tab`).classList.remove('text-gray-500');
document.getElementById(`${section}-tab`).classList.add('text-gray-800');
// Reset other tabs' text color
if (section !== 'timeline') {
document.getElementById('timeline-tab').classList.add('text-gray-500');
document.getElementById('timeline-tab').classList.remove('text-gray-800');
}
if (section !== 'projects') {
document.getElementById('projects-tab').classList.add('text-gray-500');
document.getElementById('projects-tab').classList.remove('text-gray-800');
}
if (section !== 'tools') {
document.getElementById('tools-tab').classList.add('text-gray-500');
document.getElementById('tools-tab').classList.remove('text-gray-800');
}
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=Gaubee/deep-space" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
</html> |