Add 3 files
Browse files- README.md +7 -5
- index.html +94 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: test
|
| 3 |
+
emoji: π³
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,94 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="ko">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>μ΄λ¦ νμΈκΈ°</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@keyframes bounce {
|
| 11 |
+
0%, 100% { transform: translateY(0); }
|
| 12 |
+
50% { transform: translateY(-10px); }
|
| 13 |
+
}
|
| 14 |
+
.bounce {
|
| 15 |
+
animation: bounce 1s infinite;
|
| 16 |
+
}
|
| 17 |
+
.vegetable-emoji {
|
| 18 |
+
font-size: 3rem;
|
| 19 |
+
display: inline-block;
|
| 20 |
+
}
|
| 21 |
+
</style>
|
| 22 |
+
</head>
|
| 23 |
+
<body class="bg-gradient-to-br from-blue-50 to-purple-50 min-h-screen flex items-center justify-center p-4">
|
| 24 |
+
<div class="bg-white rounded-2xl shadow-xl p-8 max-w-md w-full">
|
| 25 |
+
<div class="text-center mb-8">
|
| 26 |
+
<i class="fas fa-user-check text-5xl text-purple-500 mb-4"></i>
|
| 27 |
+
<h1 class="text-3xl font-bold text-gray-800">μ΄λ¦ νμΈνκΈ°</h1>
|
| 28 |
+
<p class="text-gray-600 mt-2">μ΄λ¦μ μ
λ ₯ν΄λ³΄μΈμ. νΉλ³ν λ©μμ§κ° λνλ μ§λ?</p>
|
| 29 |
+
</div>
|
| 30 |
+
|
| 31 |
+
<div class="mb-6">
|
| 32 |
+
<label for="nameInput" class="block text-sm font-medium text-gray-700 mb-2">μ΄λ¦ μ
λ ₯</label>
|
| 33 |
+
<div class="relative">
|
| 34 |
+
<input
|
| 35 |
+
type="text"
|
| 36 |
+
id="nameInput"
|
| 37 |
+
class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-purple-500 focus:border-purple-500 transition-all duration-200"
|
| 38 |
+
placeholder="μ΄λ¦μ μ
λ ₯νμΈμ"
|
| 39 |
+
oninput="checkName()"
|
| 40 |
+
>
|
| 41 |
+
<i class="fas fa-pencil-alt absolute right-3 top-3.5 text-gray-400"></i>
|
| 42 |
+
</div>
|
| 43 |
+
</div>
|
| 44 |
+
|
| 45 |
+
<div id="resultContainer" class="hidden bg-purple-50 rounded-lg p-4 text-center transition-all duration-300">
|
| 46 |
+
<div id="resultMessage" class="font-bold text-xl"></div>
|
| 47 |
+
<div id="vegetableEmoji" class="vegetable-emoji mt-2"></div>
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
<div class="mt-8 text-center text-sm text-gray-500">
|
| 51 |
+
<p>μ±κ·λ³μ΄λΌλ μ΄λ¦μ μ
λ ₯ν΄λ³΄μΈμ!</p>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<script>
|
| 56 |
+
function checkName() {
|
| 57 |
+
const nameInput = document.getElementById('nameInput').value.trim();
|
| 58 |
+
const resultContainer = document.getElementById('resultContainer');
|
| 59 |
+
const resultMessage = document.getElementById('resultMessage');
|
| 60 |
+
const vegetableEmoji = document.getElementById('vegetableEmoji');
|
| 61 |
+
|
| 62 |
+
if (nameInput === 'μ±κ·λ³') {
|
| 63 |
+
resultContainer.classList.remove('hidden');
|
| 64 |
+
resultMessage.textContent = 'μΌμ±!';
|
| 65 |
+
resultMessage.className = 'font-bold text-xl text-green-600';
|
| 66 |
+
|
| 67 |
+
// μΌμ± μ΄λͺ¨μ§ μ λλ©μ΄μ
|
| 68 |
+
vegetableEmoji.innerHTML = '';
|
| 69 |
+
const emojis = ['π₯¬', 'π₯¦', 'π₯', 'π', 'π
', 'π½'];
|
| 70 |
+
emojis.forEach(emoji => {
|
| 71 |
+
const span = document.createElement('span');
|
| 72 |
+
span.textContent = emoji;
|
| 73 |
+
span.className = 'mx-1 bounce';
|
| 74 |
+
span.style.animationDelay = `${Math.random() * 0.5}s`;
|
| 75 |
+
vegetableEmoji.appendChild(span);
|
| 76 |
+
});
|
| 77 |
+
|
| 78 |
+
// 컨ν
μ΄λμ μμ μΆκ°
|
| 79 |
+
resultContainer.className = 'bg-green-50 rounded-lg p-4 text-center transition-all duration-300';
|
| 80 |
+
} else if (nameInput !== '') {
|
| 81 |
+
resultContainer.classList.remove('hidden');
|
| 82 |
+
resultMessage.textContent = `${nameInput}λ, μλ
νμΈμ!`;
|
| 83 |
+
resultMessage.className = 'font-bold text-xl text-purple-600';
|
| 84 |
+
vegetableEmoji.innerHTML = '';
|
| 85 |
+
|
| 86 |
+
// 컨ν
μ΄λ μμ μλλλ‘
|
| 87 |
+
resultContainer.className = 'bg-purple-50 rounded-lg p-4 text-center transition-all duration-300';
|
| 88 |
+
} else {
|
| 89 |
+
resultContainer.classList.add('hidden');
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
</script>
|
| 93 |
+
<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=adslhdsl/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 94 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|