Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>MOUSE-I Hackathon 2024</title> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" rel="stylesheet"> | |
<style> | |
:root { | |
--primary: #4F46E5; | |
--secondary: #7C3AED; | |
--accent: #F59E0B; | |
--success: #10B981; | |
--info: #3B82F6; | |
--warning: #F97316; | |
--background: #F8FAFC; | |
--text: #1E293B; | |
--white: #FFFFFF; | |
--card-bg: rgba(255, 255, 255, 0.95); | |
} | |
.news-card { | |
background: var(--white); | |
border-radius: 15px; | |
padding: 25px; | |
margin-bottom: 30px; | |
box-shadow: 0 10px 20px rgba(0,0,0,0.1); | |
transition: all 0.3s ease; | |
} | |
.news-card:hover { | |
transform: translateY(-5px); | |
box-shadow: 0 15px 30px rgba(0,0,0,0.15); | |
} | |
.news-subject { | |
font-size: 1.3em; | |
font-weight: bold; | |
color: var(--primary); | |
margin-bottom: 15px; | |
padding-bottom: 10px; | |
border-bottom: 2px solid var(--secondary); | |
} | |
.news-content { | |
color: var(--text); | |
line-height: 1.6; | |
max-height: 6.4em; | |
overflow: hidden; | |
} | |
.news-date { | |
color: #666; | |
font-size: 0.9em; | |
margin-top: 15px; | |
text-align: right; | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
font-family: 'Segoe UI', system-ui, sans-serif; | |
} | |
body { | |
background: linear-gradient(120deg, #E0F2FE, #EDE9FE, #FEF3C7); | |
color: var(--text); | |
line-height: 1.6; | |
overflow-x: hidden; | |
min-height: 100vh; | |
} | |
.container { | |
max-width: 1200px; | |
margin: 0 auto; | |
padding: 20px; | |
} | |
.header { | |
text-align: center; | |
padding: 80px 20px; | |
background: linear-gradient(135deg, var(--primary), var(--secondary)); | |
border-radius: 30px; | |
margin-bottom: 40px; | |
position: relative; | |
overflow: hidden; | |
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); | |
} | |
.header::before { | |
content: ''; | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
background: | |
linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), | |
linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%), | |
linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), | |
linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%); | |
background-size: 60px 60px; | |
animation: patternMove 20s linear infinite; | |
opacity: 0.3; | |
} | |
.header h1 { | |
font-size: 3.5em; | |
color: var(--white); | |
margin-bottom: 20px; | |
text-shadow: 2px 2px 4px rgba(0,0,0,0.3); | |
position: relative; | |
z-index: 1; | |
animation: slideDown 1s ease-out; | |
} | |
.slogan { | |
font-size: 1.8em; | |
color: #FFD700; | |
margin: 30px 0; | |
font-weight: bold; | |
text-shadow: 2px 2px 4px rgba(0,0,0,0.3); | |
background: rgba(0,0,0,0.2); | |
padding: 15px 30px; | |
border-radius: 50px; | |
display: inline-block; | |
position: relative; | |
z-index: 1; | |
animation: pulse 2s infinite; | |
} | |
.organizers { | |
text-align: center; | |
background: var(--card-bg); | |
padding: 20px; | |
border-radius: 15px; | |
margin: 30px auto; | |
max-width: 800px; | |
box-shadow: 0 10px 20px rgba(0,0,0,0.1); | |
transform: translateY(-20px); | |
} | |
.tabs { | |
display: flex; | |
gap: 20px; | |
justify-content: center; | |
margin: 40px 0; | |
} | |
.tab { | |
padding: 15px 40px; | |
font-size: 1.2em; | |
background: var(--card-bg); | |
border: none; | |
border-radius: 50px; | |
cursor: pointer; | |
transition: all 0.3s ease; | |
box-shadow: 0 5px 15px rgba(0,0,0,0.1); | |
position: relative; | |
overflow: hidden; | |
} | |
.tab.active { | |
background: linear-gradient(135deg, var(--primary), var(--secondary)); | |
color: var(--white); | |
transform: translateY(-3px); | |
} | |
.content { | |
background: var(--card-bg); | |
padding: 40px; | |
border-radius: 30px; | |
box-shadow: 0 20px 40px rgba(0,0,0,0.1); | |
backdrop-filter: blur(10px); | |
} | |
.tab-content { | |
display: none; | |
} | |
.tab-content.active { | |
display: block; | |
animation: fadeIn 0.5s ease-out; | |
} | |
.highlight-section { | |
background: linear-gradient(135deg, #F0F9FF, rgba(255,255,255,0.9)); | |
border-left: 6px solid var(--primary); | |
padding: 30px; | |
margin: 30px 0; | |
border-radius: 20px; | |
box-shadow: 0 10px 20px rgba(0,0,0,0.05); | |
transform: translateZ(0); | |
transition: all 0.3s ease; | |
} | |
.highlight-section:hover { | |
transform: translateY(-5px); | |
box-shadow: 0 15px 30px rgba(0,0,0,0.1); | |
} | |
.prize { | |
background: linear-gradient(135deg, var(--white), #F8FAFC); | |
padding: 30px; | |
border-radius: 20px; | |
margin-bottom: 20px; | |
transition: all 0.3s ease; | |
position: relative; | |
overflow: hidden; | |
border-top: 5px solid var(--primary); | |
} | |
.prize:hover { | |
transform: translateY(-10px) scale(1.02); | |
box-shadow: 0 20px 40px rgba(0,0,0,0.15); | |
} | |
.emoji { | |
font-size: 3em; | |
margin-bottom: 20px; | |
display: inline-block; | |
animation: bounce 2s infinite; | |
} | |
.process-step { | |
background: linear-gradient(135deg, var(--white), #F8FAFC); | |
padding: 30px; | |
border-radius: 20px; | |
margin: 20px 0; | |
transition: all 0.3s ease; | |
border-left: 5px solid var(--info); | |
box-shadow: 0 10px 20px rgba(0,0,0,0.05); | |
} | |
.process-step:hover { | |
transform: translateX(10px); | |
box-shadow: 0 15px 30px rgba(0,0,0,0.1); | |
} | |
.section h2 { | |
color: var(--primary); | |
font-size: 2em; | |
margin-bottom: 30px; | |
text-shadow: 1px 1px 2px rgba(0,0,0,0.1); | |
display: flex; | |
align-items: center; | |
gap: 15px; | |
} | |
.emphasis { | |
font-size: 1.3em; | |
color: var(--primary); | |
font-weight: bold; | |
text-align: center; | |
margin: 25px 0; | |
padding: 15px; | |
border-radius: 10px; | |
background: linear-gradient(to right, rgba(79, 70, 229, 0.1), transparent); | |
} | |
@keyframes fadeIn { | |
from { opacity: 0; transform: translateY(20px); } | |
to { opacity: 1; transform: translateY(0); } | |
} | |
@keyframes bounce { | |
0%, 100% { transform: translateY(0); } | |
50% { transform: translateY(-10px); } | |
} | |
@keyframes pulse { | |
0% { transform: scale(1); } | |
50% { transform: scale(1.05); } | |
100% { transform: scale(1); } | |
} | |
@keyframes patternMove { | |
0% { background-position: 0 0; } | |
100% { background-position: 60px 60px; } | |
} | |
@media (max-width: 768px) { | |
.container { padding: 10px; } | |
.header { padding: 40px 15px; } | |
.header h1 { font-size: 2em; } | |
.slogan { font-size: 1.2em; padding: 10px 20px; } | |
.tab { padding: 10px 20px; } | |
.content { padding: 20px; } | |
} | |
.floating-circle { | |
position: fixed; | |
border-radius: 50%; | |
pointer-events: none; | |
z-index: -1; | |
} | |
.circle-1 { | |
width: 300px; | |
height: 300px; | |
background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%); | |
top: 10%; | |
left: -150px; | |
animation: float 15s infinite alternate; | |
} | |
.circle-2 { | |
width: 200px; | |
height: 200px; | |
background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%); | |
bottom: 20%; | |
right: -100px; | |
animation: float 20s infinite alternate-reverse; | |
} | |
@keyframes float { | |
0% { transform: translate(0, 0); } | |
100% { transform: translate(50px, 50px); } | |
} | |
</style> | |
</head> | |
<body> | |
<div class="floating-circle circle-1"></div> | |
<div class="floating-circle circle-2"></div> | |
<div class="container"> | |
<div class="header"> | |
<h1>MOUSE-I Hackathon<br>1-Minute Creative Innovation with AI</h1> | |
<div class="slogan"> | |
"One-minute creation by AI Coding Autonomous Agent MOUSE-I" | |
</div> | |
</div> | |
<div class="organizers"> | |
Hosted by VIDraft | Organized by Korea AI Promotion Association (KAIPA)<br> | |
<span style="font-size: 0.9em">์ฃผ์ต: ๋น๋๋ํํธ | ์ฃผ๊ด: ํ๊ตญ์ธ๊ณต์ง๋ฅ์งํฅํํ(KAIPA)</span> | |
</div> | |
<div class="tabs"> | |
<button class="tab active" onclick="switchLanguage('eng')">English</button> | |
<button class="tab" onclick="switchLanguage('kor')">ํ๊ตญ์ด</button> | |
<button class="tab" onclick="switchLanguage('news')">NEWS</button> | |
</div> | |
<div class="content"> | |
<div id="eng" class="tab-content active"> | |
<div class="highlight-section"> | |
<h2>๐ Revolutionary Era of AI Coding</h2> | |
<p>"Creating a web app in just one minute" - This is no longer just imagination, but reality. With the emergence of AI Coding Autonomous Agent MOUSE-I ("One-minute creation by AI Coding Autonomous Agent MOUSE-I"), we are witnessing a new era of software development.</p> | |
<p>While existing AI coding tools have remained in supporting roles for developers, MOUSE-I takes a step further by enabling autonomous code generation and web app implementation. What's remarkable is that this entire process takes just one minute. It provides an innovative experience, like creating an artwork on the spot.</p> | |
<p>The MOUSE-I Hackathon is a special experiment that maximizes the potential of this innovative AI agent and develops basic code created in just one minute with human creativity. This is not just a coding competition, but a new creative platform where AI and humans collaborate.</p> | |
<p>Among thousands of diverse services created in just one minute with MOUSE-I, hundreds are already publicly available online. Many have reached top rankings on HuggingFace, amazing the world with their capabilities.</p> | |
<p class="emphasis">A Magical Experience: Anyone aged 5 and above can create web apps without any coding knowledge!</p> | |
</div> | |
<div class="section"> | |
<h2>๐ Period & Prizes</h2> | |
<p style="font-size: 1.2em; margin-bottom: 20px;">Period: November 28 - December 23, 2024</p> | |
<p style="font-size: 1.2em; margin-bottom: 20px;">Total Prize: 20,000 USD(USDT)</p> | |
<div class="prize"> | |
<span class="emoji">๐</span> | |
<div> | |
<h3>Top Rank: 10,000 USDT</h3> | |
<p>Highest HuggingFace Trending Rank</p> | |
</div> | |
</div> | |
<div class="prize"> | |
<span class="emoji">โค๏ธ</span> | |
<div> | |
<h3>Top Likes: 5,000 USDT</h3> | |
<p>Most Likes</p> | |
</div> | |
</div> | |
<div class="prize"> | |
<span class="emoji">๐ซ</span> | |
<div> | |
<h3>Top Creative: 5,000 USDT</h3> | |
<p>Most Innovative</p> | |
</div> | |
</div> | |
</div> | |
<div class="section"> | |
<h2>๐ Participation Process</h2> | |
<div class="process-step"> | |
<h3>1. Start with MOUSE-I</h3> | |
<p>โข Access https://VIDraft-mouse1.hf.space</p> | |
<p>โข Generate basic web app code in 1 minute</p> | |
<p>โข Create unlimited content: games, dashboards, landing pages, utilities, etc.</p> | |
</div> | |
<div class="process-step"> | |
<h3>2. Creative Development</h3> | |
<p>โข Free development based on MOUSE-I generated code</p> | |
<p>โข Additional languages like Python can be used</p> | |
</div> | |
<div class="process-step"> | |
<h3>3. Submission</h3> | |
<p>โข Public deployment on Hugging Face</p> | |
<p>โข Register in Static mode</p> | |
<p>โข Required in README.md:</p> | |
<div class="code-block"> | |
short_description: "One-minute creation by AI Coding Autonomous Agent MOUSE-I" | |
</div> | |
</div> | |
</div> | |
<div class="section"> | |
<h2>๐ Key Dates</h2> | |
<div class="process-step"> | |
<p>โข Submission Deadline: December 23, 2024, midnight (NYC time)</p> | |
<p>โข Winners Announcement: December 24, 2024</p> | |
</div> | |
</div> | |
<div class="section"> | |
<h2>โจ Participant Benefits</h2> | |
<div class="process-step"> | |
<p>โข Full ownership and copyright of all creations</p> | |
<p>โข Experience new paradigm of AI coding</p> | |
<p>โข Multiple submissions allowed from the same account</p> | |
<p>โข Contact: arxivgpt@gmail.com</p> | |
</div> | |
</div> | |
<h2>"Give Yourself the Best Christmas Gift" ๐โจ</h2> | |
<div class="highlight-section"> | |
<p>What amazing results will emerge when your creativity combines with MOUSE-I's one-minute miracle?</p> | |
</div> | |
</div> | |
</div> | |
<div id="kor" class="tab-content"> | |
<div class="highlight-section"> | |
<h2>๐ ํ์ ์ ์ธ AI ์ฝ๋ฉ์ ์๋ก์ด ์๋</h2> | |
<p>"๋จ 1๋ถ๋ง์ ์น์ฑ์ ์ฐฝ์กฐํ๋ค" - ์ด๋ ๋ ์ด์ ์์์ด ์๋ ํ์ค์ด ๋์์ต๋๋ค. AI ์ฝ๋ฉ ์์จํ ์์ด์ ํธ MOUSE-I("One-minute creation by AI Coding Autonomous Agent MOUSE-I")์ ๋ฑ์ฅ์ผ๋ก, ์ฐ๋ฆฌ๋ ์ํํธ์จ์ด ๊ฐ๋ฐ์ ์๋ก์ด ์๋๋ฅผ ๋ชฉ๊ฒฉํ๊ณ ์์ต๋๋ค.</p> | |
<p>๊ธฐ์กด์ AI ์ฝ๋ฉ ๋๊ตฌ๋ค์ด ๊ฐ๋ฐ์์ ๋ณด์กฐ ์ญํ ์ ๋จธ๋ฌผ๋ ๋ค๋ฉด, MOUSE-I๋ ํ ๊ฑธ์ ๋ ๋์๊ฐ ์์จ์ ์ธ ์ฝ๋ ์์ฑ๊ณผ ์น์ฑ ๊ตฌํ์ ๊ฐ๋ฅํ๊ฒ ํฉ๋๋ค. ๋๋ผ์ด ๊ฒ์ ์ด ๋ชจ๋ ๊ณผ์ ์ด ๋จ 1๋ถ ๋ง์ ์ด๋ฃจ์ด์ง๋ค๋ ์ ์ ๋๋ค. ์ด๋ ๋ง์น ์ฆ์์์ ์์ ์ํ์ ์ฐฝ์กฐํ๋ ๊ฒ๊ณผ ๊ฐ์ ํ์ ์ ์ธ ๊ฒฝํ์ ์ ๊ณตํฉ๋๋ค.</p> | |
<p>MOUSE-I ํด์ปคํค์ ์ด๋ฌํ ํ์ ์ ์ธ AI ์์ด์ ํธ์ ์ ์ฌ๋ ฅ์ ๊ทน๋ํํ๊ณ , 1๋ถ์ด๋ผ๋ ์งง์ ์๊ฐ์ ์ฐฝ์กฐ๋ ๊ธฐ๋ณธ ์ฝ๋๋ฅผ ์ธ๊ฐ์ ์ฐฝ์์ฑ์ผ๋ก ๋ฐ์ ์ํค๋ ํน๋ณํ ์คํ์ ๋๋ค. ์ด๋ ๋จ์ํ ์ฝ๋ฉ ๋ํ๊ฐ ์๋, AI์ ์ธ๊ฐ์ด ํ๋ ฅํ์ฌ ๋ง๋ค์ด๋ด๋ ์๋ก์ด ์ฐฝ์์ ์ฅ์ด ๋ ๊ฒ์ ๋๋ค.</p> | |
<p>MOUSE-I๋ก ๋จ 1๋ถ ๋ง์ ์์ฑ๋ ์์ฒ ๊ฐ์ ๋ค์ํ ์๋น์ค๋ค ์ค ์๋ฐฑ ๊ฐ๊ฐ ์ด๋ฏธ ์ธํฐ๋ท์ ๊ณต๊ฐ๋์ด ์์ต๋๋ค. ๊ทธ ์ค ๋ค์๊ฐ ํ๊น ํ์ด์ค ์ธ๊ธฐ ์์ ์์๊ถ์ ์ง์ ํ๋ฉฐ ์ธ์์ ๋๋ผ๊ฒ ํ๊ณ ์์ต๋๋ค.</p> | |
<p class="emphasis">5์ธ ์ด์์ด๋ฉด ๋๊ตฌ๋, ์ฝ๋ฉ์ ๋ชฐ๋ผ๋ ์น์ฑ์ ๋ง๋ค ์ ์๋ ๋ง๋ฒ ๊ฐ์ ๊ฒฝํ!</p> | |
</div> | |
<div class="section"> | |
<h2>๐ ๋ํ ๊ธฐ๊ฐ ๋ฐ ์๊ธ</h2> | |
<p style="font-size: 1.2em; margin-bottom: 20px;">๊ธฐ๊ฐ: 2024๋ 11์ 28์ผ ~ 12์ 23์ผ</p> | |
<p style="font-size: 1.2em; margin-bottom: 20px;">์ด์๊ธ: 20,000 USD(USDT)</p> | |
<div class="prize"> | |
<span class="emoji">๐</span> | |
<div> | |
<h3>Top Rank: 10,000 USDT</h3> | |
<p>ํ๊น ํ์ด์ค Trending ์ต๊ณ ์์</p> | |
</div> | |
</div> | |
<div class="prize"> | |
<span class="emoji">โค๏ธ</span> | |
<div> | |
<h3>Top Likes: 5,000 USDT</h3> | |
<p>์ต๋ค ์ข์์ ์</p> | |
</div> | |
</div> | |
<div class="prize"> | |
<span class="emoji">๐ซ</span> | |
<div> | |
<h3>Top Creative: 5,000 USDT</h3> | |
<p>ํ์ ์ฑ ํ๊ฐ</p> | |
</div> | |
</div> | |
</div> | |
<div class="section"> | |
<h2>๐ ์ฐธ๊ฐ ํ๋ก์ธ์ค</h2> | |
<div class="process-step"> | |
<h3>1. MOUSE-I๋ก ์์ํ๊ธฐ</h3> | |
<p>โข https://VIDraft-mouse1.hf.space ์ ์</p> | |
<p>โข 1๋ถ ๋ง์ ์น์ฑ ๊ธฐ๋ณธ ์ฝ๋ ์์ฑ</p> | |
<p>โข ๊ฒ์, ๋์๋ณด๋, ๋๋ฉํ์ด์ง, ์ ํธ๋ฆฌํฐ ๋ฑ ๋ฌด์ ํ ์ฐฝ์</p> | |
</div> | |
<div class="process-step"> | |
<h3>2. ์ฐฝ์์ ๊ฐ๋ฐ</h3> | |
<p>โข MOUSE-I ์์ฑ ์ฝ๋ ๊ธฐ๋ฐ ์์ ๋ก์ด ๋ฐ์ </p> | |
<p>โข Python ๋ฑ ์ถ๊ฐ ์ธ์ด ํ์ฉ ๊ฐ๋ฅ</p> | |
</div> | |
<div class="process-step"> | |
<h3>3. ์ํ ์ ์ถ</h3> | |
<p>โข Hugging Face์ Public ๋ฐฐํฌ</p> | |
<p>โข Static mode๋ก ๋ฑ๋ก</p> | |
<p>โข README.md ํ์ ๋ฌธ๊ตฌ:</p> | |
<div class="code-block"> | |
short_description: "One-minute creation by AI Coding Autonomous Agent MOUSE-I" | |
</div> | |
</div> | |
</div> | |
<div class="section"> | |
<h2>๐ ์ฃผ์ ์ผ์ </h2> | |
<div class="process-step"> | |
<p>โข ์ ์ถ ๋ง๊ฐ: 2024๋ 12์ 23์ผ ์์ (๋ด์์๊ฐ)</p> | |
<p>โข ์์์ ๋ฐํ: 2024๋ 12์ 24์ผ</p> | |
</div> | |
</div> | |
<div class="section"> | |
<h2>โจ ์ฐธ๊ฐ์ ํน์ </h2> | |
<div class="process-step"> | |
<p>โข ๋ชจ๋ ์ฐฝ์๋ฌผ์ ์์ ๊ถ๊ณผ ์ ์๊ถ ๋ณด์ฅ</p> | |
<p>โข AI ์ฝ๋ฉ์ ์๋ก์ด ํจ๋ฌ๋ค์ ๊ฒฝํ</p> | |
<p>โข ๋์ผ ๊ณ์ ์ผ๋ก ๋ค์์ ์ฐฝ์๋ฌผ๋ค์ ์ถํํ๋๊ฒ ํ์ฉ๋จ</p> | |
<p>โข ๋ฌธ์์ฌํญ: arxivgpt@gmail.com</p> | |
</div> | |
</div> | |
<div class="section"> | |
<h2>"๋น์ ์๊ฒ ์ต๊ณ ์ ํฌ๋ฆฌ์ค๋ง์ค ์ ๋ฌผ์ ์ฃผ์ธ์" ๐โจ</h2> | |
<div class="highlight-section"> | |
<p>MOUSE-I๊ฐ 1๋ถ ๋ง์ ์ฐฝ์กฐํ๋ ๊ธฐ์ ๊ฐ์ ์๊ฐ, ์ฌ๊ธฐ์ ์ฌ๋ฌ๋ถ์ ์ฐฝ์์ฑ์ด ๋ํด์ง๋ค๋ฉด ์ด๋ค ๋๋ผ์ด ๊ฒฐ๊ณผ๋ฌผ์ด ํ์ํ ๊น์?</p> | |
</div> | |
</div> | |
</div> <!-- ํ๊ตญ์ด ์น์ ๋ --> | |
<!-- News Content --> | |
<div id="news" class="tab-content"> | |
<div class="section"> | |
<h2>๐ฐ Latest Updates</h2> | |
<!-- ๋ด์ค ์นด๋ 1 --> | |
<div class="news-card"> | |
<div class="news-subject"> | |
MOUSE-I Hackathon Announces Extended Submission Deadline | |
</div> | |
<div class="news-content"> | |
Due to overwhelming interest from the global developer community, the MOUSE-I Hackathon has extended its submission deadline. This extension will give participants more time to perfect their innovative creations and maximize their chances of winning the substantial prize pool. | |
</div> | |
<div class="news-date">November 28, 2024</div> | |
</div> | |
<!-- ๋ด์ค ์นด๋ 2 --> | |
<div class="news-card"> | |
<div class="news-subject"> | |
Early Submissions Show Promising Innovation | |
</div> | |
<div class="news-content"> | |
The first wave of MOUSE-I Hackathon submissions has demonstrated remarkable creativity and technical prowess. Several projects have already gained significant traction on HuggingFace, showcasing the potential of one-minute AI-powered development. | |
</div> | |
<div class="news-date">November 29, 2024</div> | |
</div> | |
<!-- ์๋ก์ด ๋ด์ค ์นด๋ ํ ํ๋ฆฟ --> | |
<!-- | |
<div class="news-card"> | |
<div class="news-subject"> | |
[์ ๋ชฉ์ ์ ๋ ฅํ์ธ์] | |
</div> | |
<div class="news-content"> | |
[๋ด์ฉ์ ์ ๋ ฅํ์ธ์] | |
</div> | |
<div class="news-date">[๋ ์ง๋ฅผ ์ ๋ ฅํ์ธ์]</div> | |
</div> | |
--> | |
</div> | |
</div> | |
</div> <!-- content div ๋ --> | |
</div> <!-- container div ๋ --> | |
<script> | |
function switchLanguage(lang) { | |
// ๋ชจ๋ ํญ ์ปจํ ์ธ ์จ๊ธฐ๊ธฐ | |
const tabContents = document.querySelectorAll('.tab-content'); | |
tabContents.forEach(content => { | |
content.classList.remove('active'); | |
}); | |
// ๋ชจ๋ ํญ ๋ฒํผ์์ active ํด๋์ค ์ ๊ฑฐ | |
const tabButtons = document.querySelectorAll('.tab'); | |
tabButtons.forEach(button => { | |
button.classList.remove('active'); | |
}); | |
// ์ ํ๋ ์ธ์ด์ ์ปจํ ์ธ ํ์ | |
const selectedContent = document.getElementById(lang); | |
if (selectedContent) { | |
selectedContent.classList.add('active'); | |
} | |
// ํด๋ฆญ๋ ๋ฒํผ์ active ํด๋์ค ์ถ๊ฐ | |
const clickedButton = event.currentTarget; | |
if (clickedButton) { | |
clickedButton.classList.add('active'); | |
} | |
} | |
// ํ์ด์ง ๋ก๋ ์ ์ด๊ธฐํ | |
document.addEventListener('DOMContentLoaded', () => { | |
// ์์ด ํญ์ ๊ธฐ๋ณธ์ผ๋ก ํ์ฑํ | |
const engContent = document.getElementById('eng'); | |
const engTab = document.querySelector('.tab'); | |
if (engContent && engTab) { | |
engContent.classList.add('active'); | |
engTab.classList.add('active'); | |
} | |
// ์ ๋๋ฉ์ด์ ํจ๊ณผ ์ถ๊ฐ | |
const prizes = document.querySelectorAll('.prize'); | |
prizes.forEach(prize => { | |
prize.addEventListener('mouseenter', () => { | |
prize.style.transform = 'translateY(-10px) scale(1.02)'; | |
}); | |
prize.addEventListener('mouseleave', () => { | |
prize.style.transform = 'translateY(0) scale(1)'; | |
}); | |
}); | |
// ํ๋ก์ธ์ค ์คํ ํธ๋ฒ ํจ๊ณผ | |
const steps = document.querySelectorAll('.process-step'); | |
steps.forEach(step => { | |
step.addEventListener('mouseenter', () => { | |
step.style.transform = 'translateX(10px)'; | |
}); | |
step.addEventListener('mouseleave', () => { | |
step.style.transform = 'translateX(0)'; | |
}); | |
}); | |
}); | |
</script> | |
</body> | |
</html> |