Upload 6 files
Browse files- .gitattributes +3 -0
- Me.png +3 -0
- README.md +1 -11
- flower.png +3 -0
- index.html +278 -19
- qr.jpeg +0 -0
- song.mp3 +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
flower.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Me.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
song.mp3 filter=lfs diff=lfs merge=lfs -text
|
Me.png
ADDED
|
Git LFS Details
|
README.md
CHANGED
|
@@ -1,11 +1 @@
|
|
| 1 |
-
|
| 2 |
-
title: Shade
|
| 3 |
-
emoji: ๐ฆ
|
| 4 |
-
colorFrom: red
|
| 5 |
-
colorTo: red
|
| 6 |
-
sdk: static
|
| 7 |
-
pinned: false
|
| 8 |
-
short_description: for one day
|
| 9 |
-
---
|
| 10 |
-
|
| 11 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
+
Valentine_Date_no_is_not_an_option
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
flower.png
ADDED
|
Git LFS Details
|
index.html
CHANGED
|
@@ -1,19 +1,278 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Be My Valentine ๐</title>
|
| 7 |
+
|
| 8 |
+
<!-- Confetti -->
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.0/dist/confetti.browser.min.js"></script>
|
| 10 |
+
|
| 11 |
+
<style>
|
| 12 |
+
*{
|
| 13 |
+
box-sizing:border-box;
|
| 14 |
+
margin:0;
|
| 15 |
+
padding:0;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
body{
|
| 19 |
+
min-height:100vh;
|
| 20 |
+
display:flex;
|
| 21 |
+
align-items:center;
|
| 22 |
+
justify-content:center;
|
| 23 |
+
background:linear-gradient(-45deg,#ff9a9e,#fad0c4,#fbc2eb,#a18cd1);
|
| 24 |
+
background-size:400% 400%;
|
| 25 |
+
animation:bgMove 12s ease infinite;
|
| 26 |
+
font-family:sans-serif;
|
| 27 |
+
overflow:hidden;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
@keyframes bgMove{
|
| 31 |
+
0%{background-position:0% 50%;}
|
| 32 |
+
50%{background-position:100% 50%;}
|
| 33 |
+
100%{background-position:0% 50%;}
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* CARD */
|
| 37 |
+
.card{
|
| 38 |
+
width:min(92%,420px);
|
| 39 |
+
padding:40px 30px;
|
| 40 |
+
background:rgba(255,255,255,0.8);
|
| 41 |
+
border-radius:28px;
|
| 42 |
+
text-align:center;
|
| 43 |
+
box-shadow:0 30px 80px rgba(0,0,0,0.25);
|
| 44 |
+
transition:0.6s ease;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
/* fade out card */
|
| 48 |
+
.card.hide{
|
| 49 |
+
opacity:0;
|
| 50 |
+
transform:scale(0.9);
|
| 51 |
+
pointer-events:none;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.emoji{
|
| 55 |
+
font-size:60px;
|
| 56 |
+
margin-bottom:12px;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
h2{
|
| 60 |
+
margin-bottom:30px;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.buttons{
|
| 64 |
+
position:relative;
|
| 65 |
+
height:70px;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
button{
|
| 69 |
+
position:absolute;
|
| 70 |
+
padding:12px 30px;
|
| 71 |
+
border-radius:40px;
|
| 72 |
+
border:none;
|
| 73 |
+
cursor:pointer;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
#yes{
|
| 77 |
+
left:12%;
|
| 78 |
+
background:#ff4d6d;
|
| 79 |
+
color:white;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
#no{
|
| 83 |
+
left:55%;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
/* FLOWER */
|
| 87 |
+
.flower{
|
| 88 |
+
position:absolute;
|
| 89 |
+
top:30%;
|
| 90 |
+
left:85%;
|
| 91 |
+
|
| 92 |
+
animation:scale 4s linear infinite;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
@keyframes scale{
|
| 96 |
+
from{transform:scale(1);}
|
| 97 |
+
to{transform:scale(4);}
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
/* RESULT SECTION (QR + ME) */
|
| 101 |
+
.result{
|
| 102 |
+
position:absolute;
|
| 103 |
+
top:50%;
|
| 104 |
+
left:50%;
|
| 105 |
+
transform:translate(-50%,-50%);
|
| 106 |
+
display:flex;
|
| 107 |
+
gap:60px;
|
| 108 |
+
align-items:center;
|
| 109 |
+
opacity:0;
|
| 110 |
+
pointer-events:none;
|
| 111 |
+
transition:0.8s ease;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
/* show result */
|
| 115 |
+
.result.show{
|
| 116 |
+
opacity:1;
|
| 117 |
+
pointer-events:auto;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
/* QR */
|
| 121 |
+
.qr img{
|
| 122 |
+
width:260px;
|
| 123 |
+
border-radius:20px;
|
| 124 |
+
box-shadow:0 20px 50px rgba(0,0,0,0.3);
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
/* ME IMAGE */
|
| 128 |
+
.me{
|
| 129 |
+
transform:scale(0) rotate(0deg);
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.result.show .me{
|
| 133 |
+
animation:growRotate 2.5s ease forwards;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
@keyframes growRotate{
|
| 137 |
+
from{
|
| 138 |
+
transform:scale(0) rotate(0deg);
|
| 139 |
+
}
|
| 140 |
+
to{
|
| 141 |
+
transform:scale(1.6) rotate(360deg);
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.me img{
|
| 146 |
+
width:200px;
|
| 147 |
+
border-radius:20px;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
/* Floating hearts */
|
| 151 |
+
.heart{
|
| 152 |
+
position:absolute;
|
| 153 |
+
bottom:-20px;
|
| 154 |
+
animation:floatUp linear forwards;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
@keyframes floatUp{
|
| 158 |
+
from{transform:translateY(0);opacity:1;}
|
| 159 |
+
to{transform:translateY(-120vh);opacity:0;}
|
| 160 |
+
}
|
| 161 |
+
</style>
|
| 162 |
+
</head>
|
| 163 |
+
|
| 164 |
+
<body>
|
| 165 |
+
<audio id="bgMusic" src="song.mp3" loop></audio>
|
| 166 |
+
|
| 167 |
+
<!-- CARD -->
|
| 168 |
+
<div class="card">
|
| 169 |
+
<div class="emoji">๐ธโค๏ธ</div>
|
| 170 |
+
<h2>Aavash,<br>Will you be my Valentine?</h2>
|
| 171 |
+
|
| 172 |
+
<div class="buttons">
|
| 173 |
+
<button id="yes">Yes ๐</button>
|
| 174 |
+
<button id="no">No ๐ </button>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
|
| 178 |
+
<!-- FLOWER -->
|
| 179 |
+
<div class="flower">
|
| 180 |
+
<img src="flower.png" width="120">
|
| 181 |
+
</div>
|
| 182 |
+
|
| 183 |
+
<!-- RESULT (QR + ME side by side) -->
|
| 184 |
+
<div class="result">
|
| 185 |
+
|
| 186 |
+
<div class="qr">
|
| 187 |
+
|
| 188 |
+
<h2>Sittai maa kaa paainxa?! ๐</h2>
|
| 189 |
+
<marquee scrollamount="4"><b></b>QR bhitra rakhera pathaudai xu mero maya, ma timilai...scan garideuna hai</marquee></b></marquee>
|
| 190 |
+
<img src="qr.jpeg">
|
| 191 |
+
</div>
|
| 192 |
+
|
| 193 |
+
<div class="me">
|
| 194 |
+
<img src="Me.png">
|
| 195 |
+
</div>
|
| 196 |
+
|
| 197 |
+
</div>
|
| 198 |
+
|
| 199 |
+
<!-- Sounds -->
|
| 200 |
+
<audio id="hoverSound" src="https://assets.mixkit.co/sfx/preview/mixkit-cartoon-voice-laugh-343.mp3"></audio>
|
| 201 |
+
<audio id="yesSound" src="https://assets.mixkit.co/sfx/preview/mixkit-achievement-bell-600.mp3"></audio>
|
| 202 |
+
|
| 203 |
+
<script>
|
| 204 |
+
const noBtn=document.getElementById("no");
|
| 205 |
+
const yesBtn=document.getElementById("yes");
|
| 206 |
+
const card=document.querySelector(".card");
|
| 207 |
+
const result=document.querySelector(".result");
|
| 208 |
+
const hoverSound=document.getElementById("hoverSound");
|
| 209 |
+
const yesSound=document.getElementById("yesSound");
|
| 210 |
+
|
| 211 |
+
/* Move NO button */
|
| 212 |
+
noBtn.addEventListener("mouseenter",()=>{
|
| 213 |
+
hoverSound.currentTime=0;
|
| 214 |
+
hoverSound.play();
|
| 215 |
+
|
| 216 |
+
const cardRect=card.getBoundingClientRect();
|
| 217 |
+
const btnRect=noBtn.getBoundingClientRect();
|
| 218 |
+
|
| 219 |
+
const maxX=cardRect.width-btnRect.width-10;
|
| 220 |
+
const maxY=cardRect.height-btnRect.height-10;
|
| 221 |
+
|
| 222 |
+
noBtn.style.left=Math.random()*maxX+"px";
|
| 223 |
+
noBtn.style.top=Math.random()*maxY+"px";
|
| 224 |
+
});
|
| 225 |
+
|
| 226 |
+
/* YES CLICK */
|
| 227 |
+
yesBtn.addEventListener("click",()=>{
|
| 228 |
+
yesSound.play();
|
| 229 |
+
|
| 230 |
+
confetti({
|
| 231 |
+
particleCount:260,
|
| 232 |
+
spread:120,
|
| 233 |
+
origin:{y:0.65}
|
| 234 |
+
});
|
| 235 |
+
|
| 236 |
+
/* smooth transition */
|
| 237 |
+
card.classList.add("hide");
|
| 238 |
+
|
| 239 |
+
setTimeout(()=>{
|
| 240 |
+
result.classList.add("show");
|
| 241 |
+
},500);
|
| 242 |
+
});
|
| 243 |
+
|
| 244 |
+
/* Floating hearts */
|
| 245 |
+
function createHeart(){
|
| 246 |
+
const heart=document.createElement("div");
|
| 247 |
+
heart.className="heart";
|
| 248 |
+
heart.innerHTML=Math.random()>0.5?"โค๏ธ":"๐";
|
| 249 |
+
heart.style.left=Math.random()*100+"vw";
|
| 250 |
+
heart.style.fontSize=Math.random()*22+14+"px";
|
| 251 |
+
heart.style.animationDuration=Math.random()*3+4+"s";
|
| 252 |
+
|
| 253 |
+
document.body.appendChild(heart);
|
| 254 |
+
setTimeout(()=>heart.remove(),8000);
|
| 255 |
+
}
|
| 256 |
+
|
| 257 |
+
setInterval(createHeart,380);
|
| 258 |
+
|
| 259 |
+
const bgMusic = document.getElementById("bgMusic");
|
| 260 |
+
|
| 261 |
+
/* Start music when page loads */
|
| 262 |
+
window.addEventListener("load", () => {
|
| 263 |
+
bgMusic.currentTime = 16; // start from 16 seconds
|
| 264 |
+
|
| 265 |
+
bgMusic.play().catch(() => {
|
| 266 |
+
// browsers block autoplay sometimes
|
| 267 |
+
// so start on first user click
|
| 268 |
+
document.addEventListener("click", () => {
|
| 269 |
+
bgMusic.currentTime = 16;
|
| 270 |
+
bgMusic.play();
|
| 271 |
+
}, { once: true });
|
| 272 |
+
});
|
| 273 |
+
});
|
| 274 |
+
|
| 275 |
+
</script>
|
| 276 |
+
|
| 277 |
+
</body>
|
| 278 |
+
</html>
|
qr.jpeg
ADDED
|
song.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b91062d83bd81d2a9c04c0d050c2b60017a10b891291bf0548797e8109ef41f
|
| 3 |
+
size 7288300
|