File size: 30,281 Bytes
f48b88c |
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 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 |
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>K-AI 커뮤니티 허브</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
position: relative;
overflow-x: hidden;
}
/* Navigation */
.nav-container {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
z-index: 1000;
padding: 20px 40px;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-left {
display: flex;
align-items: center;
gap: 40px;
}
.home-btn {
color: white;
text-decoration: none;
font-size: 18px;
font-weight: 600;
transition: opacity 0.3s;
}
.home-btn:hover {
opacity: 0.8;
}
.tabs {
display: flex;
gap: 30px;
}
.tab {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
font-size: 16px;
font-weight: 500;
padding: 8px 16px;
border-radius: 20px;
transition: all 0.3s;
cursor: pointer;
}
.tab:hover {
background: rgba(255, 255, 255, 0.1);
color: white;
}
.tab.active {
background: rgba(255, 255, 255, 0.2);
color: white;
}
.powered-by {
color: rgba(255, 255, 255, 0.7);
font-size: 13px;
}
/* Animated background particles */
.particles {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 1;
}
.particle {
position: absolute;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
animation: float 20s infinite ease-in-out;
}
@keyframes float {
0%, 100% {
transform: translateY(0) translateX(0) scale(1);
opacity: 0;
}
10% {
opacity: 0.4;
}
90% {
opacity: 0.4;
}
100% {
transform: translateY(-100vh) translateX(100px) scale(0.5);
opacity: 0;
}
}
/* Main container */
.container {
position: relative;
z-index: 10;
max-width: 1200px;
margin: 0 auto;
padding: 120px 20px 60px;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Tab content */
.tab-content {
display: none;
animation: fadeIn 0.5s ease-out;
}
.tab-content.active {
display: block;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Home tab styles */
.header {
text-align: center;
margin-bottom: 50px;
animation: fadeInDown 1s ease-out;
}
.header h1 {
color: white;
font-size: 48px;
font-weight: 700;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.header p {
color: rgba(255, 255, 255, 0.9);
font-size: 20px;
font-weight: 300;
}
.content {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 80px;
}
.poster-container {
background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
padding: 40px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
text-align: center;
animation: fadeInUp 1s ease-out 0.5s both;
backdrop-filter: blur(10px);
position: relative;
overflow: hidden;
}
.poster-container::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
transform: rotate(45deg);
animation: shine 3s infinite;
}
@keyframes shine {
0% {
transform: translateX(-100%) translateY(-100%) rotate(45deg);
}
100% {
transform: translateX(100%) translateY(100%) rotate(45deg);
}
}
.poster {
max-width: 100%;
height: auto;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
margin-bottom: 30px;
position: relative;
z-index: 1;
}
.cta-section {
margin-top: 20px;
}
.apply-btn {
display: inline-block;
text-decoration: none;
color: #ffffff;
background: linear-gradient(135deg, #1976D2 0%, #135ba1 100%);
padding: 18px 40px;
border-radius: 50px;
font-size: 20px;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 5px 20px rgba(25, 118, 210, 0.4);
position: relative;
overflow: hidden;
}
.apply-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
transition: left 0.6s ease;
}
.apply-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 30px rgba(25, 118, 210, 0.6);
}
.apply-btn:hover::before {
left: 100%;
}
/* External link container */
.external-container {
background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
padding: 40px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
backdrop-filter: blur(10px);
text-align: center;
}
.external-container h2 {
color: #333;
font-size: 28px;
margin-bottom: 20px;
}
.external-container p {
color: #666;
font-size: 16px;
margin-bottom: 30px;
line-height: 1.6;
}
.external-link {
display: inline-block;
color: #1976D2;
background: white;
padding: 14px 30px;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
transition: all 0.3s;
}
.external-link:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
/* News section styles */
.news-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
margin-top: 40px;
}
.news-card {
background: rgba(255, 255, 255, 0.95);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
transition: all 0.3s;
cursor: pointer;
}
.news-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}
.news-thumbnail {
width: 100%;
height: 200px;
background-size: cover;
background-position: center;
position: relative;
overflow: hidden;
}
.news-thumbnail::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5) 100%);
}
.news-content {
padding: 25px;
}
.news-title {
font-size: 20px;
font-weight: 700;
color: #333;
margin-bottom: 10px;
line-height: 1.4;
}
.news-description {
font-size: 14px;
color: #666;
line-height: 1.6;
margin-bottom: 15px;
}
.news-source {
font-size: 12px;
color: #999;
display: flex;
align-items: center;
gap: 5px;
}
.news-link {
text-decoration: none;
color: inherit;
display: block;
}
/* Footer */
.footer {
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
padding: 20px;
text-align: center;
color: rgba(255, 255, 255, 0.8);
font-size: 13px;
margin-top: auto;
}
/* Animations */
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive */
@media (max-width: 768px) {
.nav-container {
padding: 15px 20px;
flex-direction: column;
gap: 15px;
}
.nav-left {
flex-direction: column;
gap: 15px;
width: 100%;
}
.tabs {
width: 100%;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
}
.tab {
font-size: 14px;
padding: 6px 12px;
}
.powered-by {
font-size: 11px;
}
.header h1 {
font-size: 36px;
}
.header p {
font-size: 18px;
}
.poster-container {
padding: 20px;
}
.apply-btn {
font-size: 18px;
padding: 16px 32px;
}
.container {
padding-top: 180px;
}
.news-container {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="nav-container">
<div class="nav-left">
<a href="#" class="home-btn">HOME</a>
<div class="tabs">
<a href="#home" class="tab active" data-tab="home">K-AI 커뮤니티 서밋 2025</a>
<a href="#news" class="tab" data-tab="news">News</a>
<a href="#heatmap" class="tab" data-tab="heatmap">히트맵 리더보드</a>
<a href="#korean" class="tab" data-tab="korean">코리안 리더보드</a>
<a href="#best" class="tab" data-tab="best">베스트 AI</a>
</div>
</div>
<div class="powered-by">Powered by 비드래프트</div>
</nav>
<!-- Animated particles background -->
<div class="particles">
<div class="particle" style="width: 80px; height: 80px; left: 10%; animation-delay: 0s;"></div>
<div class="particle" style="width: 60px; height: 60px; left: 20%; animation-delay: 2s;"></div>
<div class="particle" style="width: 100px; height: 100px; left: 35%; animation-delay: 4s;"></div>
<div class="particle" style="width: 40px; height: 40px; left: 50%; animation-delay: 1s;"></div>
<div class="particle" style="width: 70px; height: 70px; left: 65%; animation-delay: 3s;"></div>
<div class="particle" style="width: 50px; height: 50px; left: 80%; animation-delay: 5s;"></div>
<div class="particle" style="width: 90px; height: 90px; left: 90%; animation-delay: 2.5s;"></div>
</div>
<div class="container">
<!-- Home Tab -->
<div id="home" class="tab-content active">
<header class="header">
<h1>K-AI 커뮤니티 허브</h1>
<p>한국 AI의 미래를 함께 만들어갑니다</p>
</header>
<main class="content">
<div class="poster-container">
<img src="image.png" alt="K-AI 커뮤니티 서밋 2025 포스터" class="poster">
<div class="cta-section">
<a href="https://onoffmix.com/event/325919" target="_blank" class="apply-btn">
📌 행사 참가 신청하기
</a>
</div>
</div>
</main>
</div>
<!-- Heatmap Leaderboard Tab -->
<div id="heatmap" class="tab-content">
<div class="external-container">
<h2>🔥 히트맵 리더보드</h2>
<p>AI 모델들의 성능을 히트맵으로 시각화하여 비교할 수 있는 리더보드입니다.<br>
다양한 벤치마크에서의 성능을 한눈에 확인해보세요.</p>
<a href="https://huggingface.co/spaces/aiqtech/Heatmap-Leaderboard" target="_blank" class="external-link">
히트맵 리더보드 바로가기 →
</a>
</div>
</div>
<!-- Korean Leaderboard Tab -->
<div id="korean" class="tab-content">
<div class="external-container">
<h2>🇰🇷 코리안 리더보드</h2>
<p>한국어 AI 모델들의 성능을 평가하고 비교하는 리더보드입니다.<br>
한국어 처리 능력에 특화된 모델들의 순위를 확인해보세요.</p>
<a href="https://huggingface.co/spaces/openfree/Korean-Leaderboard" target="_blank" class="external-link">
코리안 리더보드 바로가기 →
</a>
</div>
</div>
<!-- Best AI Tab -->
<div id="best" class="tab-content">
<div class="external-container">
<h2>🏆 베스트 AI</h2>
<p>다양한 카테고리별 최고의 AI 모델들을 소개합니다.<br>
각 분야에서 뛰어난 성능을 보이는 AI들을 만나보세요.</p>
<a href="https://huggingface.co/spaces/openfree/Best-AI" target="_blank" class="external-link">
베스트 AI 바로가기 →
</a>
</div>
</div>
<!-- News Tab -->
<div id="news" class="tab-content">
<header class="header">
<h1>📰 AI News</h1>
<p>한국 AI 커뮤니티의 최신 소식과 인사이트</p>
</header>
<div class="news-container">
<!-- News Card 1 -->
<div class="news-card">
<a href="https://zdnet.co.kr/view/?no=20241130181300" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
</div>
<div class="news-content">
<h3 class="news-title">AI 기술의 최신 동향과 미래 전망</h3>
<p class="news-description">인공지능 기술이 빠르게 발전하면서 산업 전반에 걸친 혁신이 가속화되고 있습니다. 최신 AI 트렌드와 기술 발전 현황을 살펴봅니다.</p>
<div class="news-source">
<span>📍</span>
<span>ZDNet Korea</span>
</div>
</div>
</a>
</div>
<!-- News Card 2 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/33" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);">
</div>
<div class="news-content">
<h3 class="news-title">AGI 필수 '자기 지휘형 다중화 지능 구현' 발표</h3>
<p class="news-description">AGI 구현을 위한 핵심 기술인 자기 지휘형 다중화 지능 시스템의 혁신적인 접근법을 소개합니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 3 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/30" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);">
</div>
<div class="news-content">
<h3 class="news-title">의료 AI의 '거짓말 탐지기'가 등장했다!</h3>
<p class="news-description">의료 분야에서 AI의 정확성과 신뢰성을 검증하는 혁신적인 시스템이 개발되었습니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 4 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/32" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #fa709a 0%, #fee140 100%);">
</div>
<div class="news-content">
<h3 class="news-title">K-AI 커뮤니티 서밋 2025</h3>
<p class="news-description">한국 AI 커뮤니티의 대표 행사인 K-AI 서밋 2025의 주요 아젠다와 참여 방법을 안내합니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 5 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/31" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);">
</div>
<div class="news-content">
<h3 class="news-title">AI가 프리미엄 PPT 생성, 무료 Open Gamma</h3>
<p class="news-description">누구나 쉽게 전문적인 프레젠테이션을 만들 수 있는 AI 기반 PPT 생성 도구를 소개합니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 6 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/31" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);">
</div>
<div class="news-content">
<h3 class="news-title">누구나 5분만에 전문 팟캐스트를 만들 수 있는 AI</h3>
<p class="news-description">AI 기술을 활용하여 전문적인 팟캐스트 콘텐츠를 빠르고 쉽게 제작하는 방법을 알아봅니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 7 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/28" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);">
</div>
<div class="news-content">
<h3 class="news-title">한국 농수산물 도매가격 예측 고급 AI 시스템 연구</h3>
<p class="news-description">AI를 활용한 농수산물 가격 예측 시스템의 개발과 실제 적용 사례를 살펴봅니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 8 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/27" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);">
</div>
<div class="news-content">
<h3 class="news-title">AI가 인간의 삶과 경제, 미래를 예측하고 시각화</h3>
<p class="news-description">빅데이터와 AI를 활용한 미래 예측 기술의 현재와 발전 가능성을 탐구합니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 9 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/26" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);">
</div>
<div class="news-content">
<h3 class="news-title">Agentic AI 시대: MCP vs MCO 분석</h3>
<p class="news-description">자율적으로 작동하는 AI 에이전트 시스템의 두 가지 주요 접근법을 비교 분석합니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 10 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/24" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);">
</div>
<div class="news-content">
<h3 class="news-title">생명의 코드를 다시 쓰다: Protein Genesis</h3>
<p class="news-description">AI를 활용한 단백질 구조 예측과 생성 기술의 혁명적인 발전을 소개합니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 11 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/23" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #fddb92 0%, #d1fdff 100%);">
</div>
<div class="news-content">
<h3 class="news-title">허깅페이스가 선정한 2024년 글로벌 AI 스타 12선</h3>
<p class="news-description">2024년 AI 분야에서 주목받은 혁신적인 프로젝트와 연구자들을 만나봅니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
<!-- News Card 12 -->
<div class="news-card">
<a href="https://brunch.co.kr/@seawolf/21" target="_blank" class="news-link">
<div class="news-thumbnail" style="background-image: linear-gradient(135deg, #9890e3 0%, #b1f4cf 100%);">
</div>
<div class="news-content">
<h3 class="news-title">고양이도 발로 코딩한다는 'MOUSE' AI 서비스</h3>
<p class="news-description">누구나 쉽게 코딩할 수 있도록 돕는 혁신적인 AI 코딩 어시스턴트를 소개합니다.</p>
<div class="news-source">
<span>📍</span>
<span>Brunch</span>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer">
<div class="footer-info">
(주) 비드래프트 | 대표 김민식 | 주소: 서울특별시 강남구 학동로 165 | 사업자 등록번호: 879-87-03063
</div>
</footer>
<script>
// Tab switching functionality
document.querySelectorAll('.tab').forEach(tab => {
tab.addEventListener('click', (e) => {
e.preventDefault();
const targetTab = tab.getAttribute('data-tab');
// Update active tab
document.querySelectorAll('.tab').forEach(t => t.classList.remove('active'));
tab.classList.add('active');
// Show corresponding content
document.querySelectorAll('.tab-content').forEach(content => {
content.classList.remove('active');
});
document.getElementById(targetTab).classList.add('active');
});
});
// Home button functionality
document.querySelector('.home-btn').addEventListener('click', (e) => {
e.preventDefault();
document.querySelector('.tab[data-tab="home"]').click();
});
// Add dynamic particles on mouse move
document.addEventListener('mousemove', (e) => {
if (Math.random() > 0.95) {
const particle = document.createElement('div');
particle.className = 'particle';
particle.style.width = Math.random() * 20 + 10 + 'px';
particle.style.height = particle.style.width;
particle.style.left = e.clientX + 'px';
particle.style.top = e.clientY + 'px';
particle.style.animationDuration = Math.random() * 3 + 2 + 's';
document.querySelector('.particles').appendChild(particle);
setTimeout(() => particle.remove(), 5000);
}
});
</script>
</body>
</html> |