AI / index.html
openfree's picture
Update index.html
20ed127 verified
raw
history blame
15 kB
<!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%;
}
/* Iframe styles */
.iframe-container {
background: rgba(255, 255, 255, 0.95);
border-radius: 20px;
padding: 20px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
backdrop-filter: blur(10px);
height: calc(100vh - 200px);
min-height: 600px;
}
.iframe-container iframe {
width: 100%;
height: 100%;
border: none;
border-radius: 12px;
}
/* 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;
}
}
</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="#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="iframe-container">
<iframe src="https://huggingface.co/spaces/aiqtech/Heatmap-Leaderboard"
title="히트맵 리더보드"
allowfullscreen>
</iframe>
</div>
</div>
<!-- Korean Leaderboard Tab -->
<div id="korean" class="tab-content">
<div class="iframe-container">
<iframe src="https://huggingface.co/spaces/openfree/Korean-Leaderboard"
title="코리안 리더보드"
allowfullscreen>
</iframe>
</div>
</div>
<!-- Best AI Tab -->
<div id="best" class="tab-content">
<div class="iframe-container">
<iframe src="https://huggingface.co/spaces/openfree/Best-AI"
title="베스트 AI"
allowfullscreen>
</iframe>
</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>