Upload 6 files
Browse filesFiles changed (7)
- .gitattributes+3
- Me.pngAdded
- README.md+1-11
- flower.pngAdded
- index.html+278-19
- qr.jpegAdded
- song.mp3Added+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines33343536373832 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textflower.png filter=lfs diff=lfs merge=lfs -textMe.png filter=lfs diff=lfs merge=lfs -textsong.mp3 filter=lfs diff=lfs merge=lfs -text
1234567891011---title: Shadeemoji: π¦colorFrom: redcolorTo: redsdk: staticpinned: falseshort_description: for one day---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference1Valentine_Date_no_is_not_an_option
12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Be My Valentine π</title><!-- Confetti --><script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.0/dist/confetti.browser.min.js"></script><style>*{box-sizing:border-box;margin:0;padding:0;}body{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(-45deg,#ff9a9e,#fad0c4,#fbc2eb,#a18cd1);background-size:400% 400%;animation:bgMove 12s ease infinite;font-family:sans-serif;overflow:hidden;}@keyframes bgMove{0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}}/* CARD */.card{width:min(92%,420px);padding:40px 30px;background:rgba(255,255,255,0.8);border-radius:28px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,0.25);transition:0.6s ease;}/* fade out card */.card.hide{opacity:0;transform:scale(0.9);pointer-events:none;}.emoji{font-size:60px;margin-bottom:12px;}h2{margin-bottom:30px;}.buttons{position:relative;height:70px;}button{position:absolute;padding:12px 30px;border-radius:40px;border:none;cursor:pointer;}#yes{left:12%;background:#ff4d6d;color:white;}#no{left:55%;}/* FLOWER */.flower{position:absolute;top:30%;left:85%;animation:scale 4s linear infinite;}@keyframes scale{from{transform:scale(1);}to{transform:scale(4);}}/* RESULT SECTION (QR + ME) */.result{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;gap:60px;align-items:center;opacity:0;pointer-events:none;transition:0.8s ease;}/* show result */.result.show{opacity:1;pointer-events:auto;}/* QR */.qr img{width:260px;border-radius:20px;box-shadow:0 20px 50px rgba(0,0,0,0.3);}/* ME IMAGE */.me{transform:scale(0) rotate(0deg);}.result.show .me{animation:growRotate 2.5s ease forwards;}@keyframes growRotate{from{transform:scale(0) rotate(0deg);}to{transform:scale(1.6) rotate(360deg);}}.me img{width:200px;border-radius:20px;}/* Floating hearts */.heart{position:absolute;bottom:-20px;animation:floatUp linear forwards;}@keyframes floatUp{from{transform:translateY(0);opacity:1;}to{transform:translateY(-120vh);opacity:0;}}</style></head><body><audio id="bgMusic" src="song.mp3" loop></audio><!-- CARD --><div class="card"><div class="emoji">πΈβ€οΈ</div><h2>Aavash,<br>Will you be my Valentine?</h2><div class="buttons"><button id="yes">Yes π</button><button id="no">No π </button></div></div><!-- FLOWER --><div class="flower"><img src="flower.png" width="120"></div><!-- RESULT (QR + ME side by side) --><div class="result"><div class="qr"><h2>Sittai maa kaa paainxa?! π</h2><marquee scrollamount="4"><b></b>QR bhitra rakhera pathaudai xu mero maya, ma timilai...scan garideuna hai</marquee></b></marquee><img src="qr.jpeg"></div><div class="me"><img src="Me.png"></div></div><!-- Sounds --><audio id="hoverSound" src="https://assets.mixkit.co/sfx/preview/mixkit-cartoon-voice-laugh-343.mp3"></audio><audio id="yesSound" src="https://assets.mixkit.co/sfx/preview/mixkit-achievement-bell-600.mp3"></audio><script>const noBtn=document.getElementById("no");const yesBtn=document.getElementById("yes");const card=document.querySelector(".card");const result=document.querySelector(".result");const hoverSound=document.getElementById("hoverSound");const yesSound=document.getElementById("yesSound");/* Move NO button */noBtn.addEventListener("mouseenter",()=>{hoverSound.currentTime=0;hoverSound.play();const cardRect=card.getBoundingClientRect();const btnRect=noBtn.getBoundingClientRect();const maxX=cardRect.width-btnRect.width-10;const maxY=cardRect.height-btnRect.height-10;noBtn.style.left=Math.random()*maxX+"px";noBtn.style.top=Math.random()*maxY+"px";});/* YES CLICK */yesBtn.addEventListener("click",()=>{yesSound.play();confetti({particleCount:260,spread:120,origin:{y:0.65}});/* smooth transition */card.classList.add("hide");setTimeout(()=>{result.classList.add("show");},500);});/* Floating hearts */function createHeart(){const heart=document.createElement("div");heart.className="heart";heart.innerHTML=Math.random()>0.5?"β€οΈ":"π";heart.style.left=Math.random()*100+"vw";heart.style.fontSize=Math.random()*22+14+"px";heart.style.animationDuration=Math.random()*3+4+"s";document.body.appendChild(heart);setTimeout(()=>heart.remove(),8000);}setInterval(createHeart,380);const bgMusic = document.getElementById("bgMusic");/* Start music when page loads */window.addEventListener("load", () => {bgMusic.currentTime = 16; // start from 16 secondsbgMusic.play().catch(() => {// browsers block autoplay sometimes// so start on first user clickdocument.addEventListener("click", () => {bgMusic.currentTime = 16;bgMusic.play();}, { once: true });});});</script></body></html>
123version https://git-lfs.github.com/spec/v1oid sha256:9b91062d83bd81d2a9c04c0d050c2b60017a10b891291bf0548797e8109ef41fsize 7288300.gitattributes+3
Me.pngAdded

Large File Pointer Details
- SHA256: fa26c590b2693a849e8de8044ea2c100ca251dbf36c7b80b4c80ed9f106f9271
- Pointer size: 131 Bytes
- Size of remote file: 209 kB
README.md+1-11
flower.pngAdded

Large File Pointer Details
- SHA256: 9320a53999ffaafdec06818ce315b095db5c9c6cc7d67a9c830921268bef8f33
- Pointer size: 131 Bytes
- Size of remote file: 172 kB
index.html+278-19
qr.jpegAdded

song.mp3Added+3