Sync Devportal2 Data
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -0
- devportal.db +0 -0
- published_projects/659ba0eb/4a0a9d924fd271737c0813852160ae89.jpg +3 -0
- published_projects/659ba0eb/6364310540963.mp4 +3 -0
- published_projects/659ba0eb/GiftBox.png +3 -0
- published_projects/659ba0eb/Screenshot 2025-03-01 162514.png +3 -0
- published_projects/659ba0eb/Valentine-Surprise.png +3 -0
- published_projects/659ba0eb/a.js +235 -0
- published_projects/659ba0eb/helo.png +3 -0
- published_projects/659ba0eb/index.html +179 -0
- published_projects/659ba0eb/love/images/r1.png +3 -0
- published_projects/659ba0eb/love/images/r10 +3 -0
- published_projects/659ba0eb/love/images/r10.png +3 -0
- published_projects/659ba0eb/love/images/r2.png +3 -0
- published_projects/659ba0eb/love/images/r3.png +3 -0
- published_projects/659ba0eb/love/images/r4.jpg +3 -0
- published_projects/659ba0eb/love/images/r4.png +3 -0
- published_projects/659ba0eb/love/images/r5.jpg +3 -0
- published_projects/659ba0eb/love/images/r6.png +3 -0
- published_projects/659ba0eb/love/images/r7.png +3 -0
- published_projects/659ba0eb/love/images/r8.png +3 -0
- published_projects/659ba0eb/love/images/r9.png +3 -0
- published_projects/659ba0eb/love/index.html +145 -0
- published_projects/659ba0eb/love/main.css +171 -0
- published_projects/659ba0eb/love/main.js +417 -0
- published_projects/659ba0eb/love/music/setlove.mp3 +3 -0
- published_projects/659ba0eb/r.jpg +3 -0
- published_projects/659ba0eb/style.css +173 -0
- published_projects/659ba0eb/v.png +3 -0
- published_projects/659ba0eb/y2mate (mp3cut.net).mp3 +3 -0
- user_spaces/Ak/4a0a9d924fd271737c0813852160ae89.jpg +3 -0
- user_spaces/Ak/6364310540963.mp4 +3 -0
- user_spaces/Ak/GiftBox.png +3 -0
- user_spaces/Ak/Screenshot 2025-03-01 162514.png +3 -0
- user_spaces/Ak/Valentine-Surprise.png +3 -0
- user_spaces/Ak/a.js +235 -0
- user_spaces/Ak/helo.png +3 -0
- user_spaces/Ak/index.html +179 -0
- user_spaces/Ak/love/images/r1.png +3 -0
- user_spaces/Ak/love/images/r10 +3 -0
- user_spaces/Ak/love/images/r10.png +3 -0
- user_spaces/Ak/love/images/r2.png +3 -0
- user_spaces/Ak/love/images/r3.png +3 -0
- user_spaces/Ak/love/images/r4.jpg +3 -0
- user_spaces/Ak/love/images/r4.png +3 -0
- user_spaces/Ak/love/images/r5.jpg +3 -0
- user_spaces/Ak/love/images/r6.png +3 -0
- user_spaces/Ak/love/images/r7.png +3 -0
- user_spaces/Ak/love/images/r8.png +3 -0
- user_spaces/Ak/love/images/r9.png +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
published_projects/659ba0eb/love/images/r10 filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
user_spaces/Ak/love/images/r10 filter=lfs diff=lfs merge=lfs -text
|
devportal.db
CHANGED
|
Binary files a/devportal.db and b/devportal.db differ
|
|
|
published_projects/659ba0eb/4a0a9d924fd271737c0813852160ae89.jpg
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/6364310540963.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92bd8c5968991838bddf8ff7c5be4443724d24f2d8b31ae5d380e1257727e2e9
|
| 3 |
+
size 1150543
|
published_projects/659ba0eb/GiftBox.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/Screenshot 2025-03-01 162514.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/Valentine-Surprise.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/a.js
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function initengahan(){
|
| 2 |
+
kadoIn.style = "display:none";
|
| 3 |
+
ket.style = "display:none";
|
| 4 |
+
Content.style = "opacity:1;margin-top:0";
|
| 5 |
+
bodyblur.style = "opacity:.7";
|
| 6 |
+
wallpaper.style = "transform: scale(1.5);";
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
async function mulainama() {
|
| 10 |
+
bodyblur.style = "opacity:0";
|
| 11 |
+
wallpaper.style = "transform: scale(1);";
|
| 12 |
+
fotostiker.style = "display:inline-flex;";
|
| 13 |
+
setTimeout(ftmuncul, 200);
|
| 14 |
+
setTimeout(kethalo, 500);
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
function ftmuncul() {
|
| 18 |
+
if (ftganti == 0) { fotostiker.src = deffotostiker; }
|
| 19 |
+
if (ftganti == 1) { fotostiker.src = fotostiker1.src; }
|
| 20 |
+
if (ftganti == 2) { fotostiker.src = fotostiker2.src; }
|
| 21 |
+
if (ftganti == 3) { fotostiker.src = fotostiker3.src; }
|
| 22 |
+
if (ftganti == 4) { fotostiker.src = fotostiker4.src; }
|
| 23 |
+
fotostiker.style = "display:inline-flex;opacity:1;transform:scale(1)";
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
function fthilang() {
|
| 27 |
+
fotostiker.style = "display:inline-flex;opacity:1;transition:all .7s ease;transform:scale(.1)";
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
function jjfoto() {
|
| 31 |
+
fotostiker.style.animation = "rto .8s infinite alternate";
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
function bqmuncul() {
|
| 35 |
+
bq.style = "position:relative;opacity:1;visibility:visible;transform: scale(1);margin-top:0";
|
| 36 |
+
mulaiketik1();
|
| 37 |
+
fungsi = 1;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
function bqhilang() {
|
| 41 |
+
wallpaper.style = "transform: scale(2);";
|
| 42 |
+
bodyblur.style = "opacity:.3";
|
| 43 |
+
bq.style = "position:relative;transition:all .7s ease;";
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
function kethalo() {
|
| 47 |
+
new TypeIt("#halo", {
|
| 48 |
+
strings: ["" + vketikhalo],
|
| 49 |
+
startDelay: 50,
|
| 50 |
+
speed: 40,
|
| 51 |
+
waitUntilVisible: true,
|
| 52 |
+
afterComplete: function () {
|
| 53 |
+
halo.innerHTML = vketikhalo;
|
| 54 |
+
setTimeout(bqmuncul, 200);
|
| 55 |
+
},
|
| 56 |
+
}).go();
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
function tombol() {
|
| 60 |
+
wallpaper.style = "transform: scale(1);";
|
| 61 |
+
Tombol.style = "opacity:1;transform: scale(1);";
|
| 62 |
+
fungsi = 1;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
document.getElementById("By").onclick = function() {
|
| 66 |
+
if (fungsi == 1) { pertanyaan(); }
|
| 67 |
+
if (fungsi == 2) { menuju(); }
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
async function menuju(){
|
| 71 |
+
await swals.fire('Yay!', 'And here comes another birthday surprise for you!', 'success');
|
| 72 |
+
window.location = "./love/index.html";
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
vketik1 = kalimat.innerHTML;
|
| 76 |
+
kalimat.innerHTML = "";
|
| 77 |
+
function mulaiketik1(){
|
| 78 |
+
new TypeIt("#kalimat", {
|
| 79 |
+
strings: ["" + vketik1],
|
| 80 |
+
startDelay: 400,
|
| 81 |
+
speed: 20,
|
| 82 |
+
cursor: false,
|
| 83 |
+
deleteSpeed: 20,
|
| 84 |
+
breakLines: false,
|
| 85 |
+
waitUntilVisible: true,
|
| 86 |
+
lifelike: true,
|
| 87 |
+
afterComplete: function(){
|
| 88 |
+
aktiopsL();
|
| 89 |
+
},
|
| 90 |
+
}).go();
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
opsLclick = 0;
|
| 94 |
+
opsLcheck = 0;
|
| 95 |
+
defopsL = opsL.innerHTML;
|
| 96 |
+
document.getElementById("bq").onclick = function() {
|
| 97 |
+
if (opsLclick == 1) {
|
| 98 |
+
if (opsLcheck == 1) { setTimeout(aktipesan1, 400); }
|
| 99 |
+
if (opsLcheck == 2) { mulaiketik3(); }
|
| 100 |
+
if (opsLcheck == 3) { mulaiketik4(); }
|
| 101 |
+
if (opsLcheck == 4) { mulaiketik5(); }
|
| 102 |
+
if (opsLcheck == 5) { kethalo2(); }
|
| 103 |
+
otomatis();
|
| 104 |
+
opsL.style.opacity = "0";
|
| 105 |
+
opsLclick = 0;
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
function aktiopsL() {
|
| 110 |
+
opsL.innerHTML = defopsL;
|
| 111 |
+
opsL.style.opacity = ".8";
|
| 112 |
+
opsLclick = 1;
|
| 113 |
+
opsLcheck += 1;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
function gantiopsL() {
|
| 117 |
+
opsL.innerHTML = "[ Tap one of the birthday icons! ]";
|
| 118 |
+
opsL.style.opacity = ".8";
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
function otomatis() {
|
| 122 |
+
kalimat.style = "opacity:0";
|
| 123 |
+
setTimeout(otolanj, 400);
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
function otolanj() {
|
| 127 |
+
kalimat.style = "opacity:1";
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
function aktipesan1() {
|
| 131 |
+
kalimat.innerHTML = pesan1.innerHTML;
|
| 132 |
+
kolombaru.style = "position:relative;opacity:1;transform:scale(1);";
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
vketik2 = pesan2.innerHTML;
|
| 136 |
+
vketik3 = pesan3.innerHTML;
|
| 137 |
+
function aktipesan2(){
|
| 138 |
+
wallpaper.style = "transform: scale(1.5);";
|
| 139 |
+
kolombaru.style = "";
|
| 140 |
+
kalimat.innerHTML = "";
|
| 141 |
+
new TypeIt("#kalimat", {
|
| 142 |
+
strings: ["" + vketik2, "" + vketik3],
|
| 143 |
+
startDelay: 20,
|
| 144 |
+
speed: 30,
|
| 145 |
+
cursor: true,
|
| 146 |
+
deleteSpeed: 30,
|
| 147 |
+
breakLines: false,
|
| 148 |
+
waitUntilVisible: true,
|
| 149 |
+
lifelike: true,
|
| 150 |
+
afterComplete: function(){
|
| 151 |
+
kalimat.innerHTML = vketik3;
|
| 152 |
+
setTimeout(aktipesan4, 700);
|
| 153 |
+
},
|
| 154 |
+
}).go();
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
vketik4 = pesan4.innerHTML;
|
| 158 |
+
pesan4.innerHTML = "";
|
| 159 |
+
function aktipesan4(){
|
| 160 |
+
wallpaper.style = "transform: scale(1);";
|
| 161 |
+
fthilang();
|
| 162 |
+
ftganti = 2;
|
| 163 |
+
setTimeout(ftmuncul, 300);
|
| 164 |
+
new TypeIt("#pesan4", {
|
| 165 |
+
strings: ["" + vketik4],
|
| 166 |
+
startDelay: 1,
|
| 167 |
+
speed: 52,
|
| 168 |
+
cursor: true,
|
| 169 |
+
waitUntilVisible: true,
|
| 170 |
+
lifelike: true,
|
| 171 |
+
afterComplete: function(){
|
| 172 |
+
pesan4.innerHTML = vketik4;
|
| 173 |
+
setTimeout(aktipesan5, 700);
|
| 174 |
+
},
|
| 175 |
+
}).go();
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
vketik5 = pesan5.innerHTML;
|
| 179 |
+
pesan5.innerHTML = "";
|
| 180 |
+
function aktipesan5(){
|
| 181 |
+
wallpaper.style = "transform: scale(1.5);";
|
| 182 |
+
fthilang();
|
| 183 |
+
ftganti = 3;
|
| 184 |
+
setTimeout(ftmuncul, 300);
|
| 185 |
+
new TypeIt("#pesan5", {
|
| 186 |
+
strings: ["" + vketik5],
|
| 187 |
+
startDelay: 1,
|
| 188 |
+
speed: 52,
|
| 189 |
+
cursor: true,
|
| 190 |
+
waitUntilVisible: true,
|
| 191 |
+
lifelike: true,
|
| 192 |
+
afterComplete: function(){
|
| 193 |
+
pesan5.innerHTML = vketik5 + " 😊";
|
| 194 |
+
setTimeout(aktipesan6, 700);
|
| 195 |
+
},
|
| 196 |
+
}).go();
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
vketik6 = pesan6.innerHTML;
|
| 200 |
+
pesan6.innerHTML = "";
|
| 201 |
+
function aktipesan6(){
|
| 202 |
+
wallpaper.style = "transform: scale(1);";
|
| 203 |
+
fthilang();
|
| 204 |
+
ftganti = 4;
|
| 205 |
+
setTimeout(ftmuncul, 300);
|
| 206 |
+
new TypeIt("#pesan6", {
|
| 207 |
+
strings: ["" + vketik6],
|
| 208 |
+
startDelay: 1,
|
| 209 |
+
speed: 52,
|
| 210 |
+
cursor: true,
|
| 211 |
+
waitUntilVisible: true,
|
| 212 |
+
lifelike: true,
|
| 213 |
+
afterComplete: function(){
|
| 214 |
+
pesan6.innerHTML = vketik6;
|
| 215 |
+
setTimeout(tombol, 400);
|
| 216 |
+
},
|
| 217 |
+
}).go();
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
var slov = 0;
|
| 221 |
+
document.getElementById("lv1").onclick = function() { lv1.style = "opacity:0"; slov += 1; this.onclick = null; checkslov(); }
|
| 222 |
+
document.getElementById("lv2").onclick = function() { lv2.style = "opacity:0"; slov += 1; this.onclick = null; checkslov(); }
|
| 223 |
+
document.getElementById("lv3").onclick = function() { lv3.style = "opacity:0"; slov += 1; this.onclick = null; checkslov(); }
|
| 224 |
+
document.getElementById("lv4").onclick = function() { lv4.style = "opacity:0"; slov += 1; this.onclick = null; checkslov(); }
|
| 225 |
+
|
| 226 |
+
function checkslov() {
|
| 227 |
+
if (slov == 4) {
|
| 228 |
+
kolombaru.style = "position:relative;transform:scale(1)";
|
| 229 |
+
fthilang();
|
| 230 |
+
ftganti = 1;
|
| 231 |
+
setTimeout(ftmuncul, 300);
|
| 232 |
+
otomatis();
|
| 233 |
+
setTimeout(aktipesan2, 400);
|
| 234 |
+
}
|
| 235 |
+
}
|
published_projects/659ba0eb/helo.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/index.html
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta content="width=device-width, initial-scale=1, user-scalable=1, minimum-scale=1, maximum-scale=5" name="viewport" />
|
| 6 |
+
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
|
| 7 |
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
| 8 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Shippori+Antique:wght@400;700&display=swap" rel="stylesheet" />
|
| 10 |
+
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="stylesheet" />
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.19/dist/sweetalert2.all.min.js"></script>
|
| 12 |
+
<link rel="stylesheet" href="./style.css">
|
| 13 |
+
<script src="https://unpkg.com/typeit@8.7.0/dist/index.umd.js"></script>
|
| 14 |
+
|
| 15 |
+
<!-- Update title and description for a birthday theme -->
|
| 16 |
+
<title>HBD 5.0 | Aoudumber Bade</title>
|
| 17 |
+
<link rel="icon" type="image/x-icon" href="https://www.palingit.com/favicon.ico" />
|
| 18 |
+
<meta name="description" content="A special birthday greeting" />
|
| 19 |
+
</head>
|
| 20 |
+
|
| 21 |
+
<body style="background: linear-gradient(to bottom, #ffe1e1, #ff217de0), url(./r.jpg);
|
| 22 |
+
height: 100vh;">
|
| 23 |
+
<audio src="./y2mate (mp3cut.net).mp3" id="linkmp3" class="sembunyi"></audio>
|
| 24 |
+
|
| 25 |
+
<div id="bodyblur">
|
| 26 |
+
<!-- Wallpaper -->
|
| 27 |
+
<img src="" id="wallpaper" />
|
| 28 |
+
</div>
|
| 29 |
+
|
| 30 |
+
<div id="Content">
|
| 31 |
+
<div id="kadoIn">
|
| 32 |
+
<!-- Gift Button -->
|
| 33 |
+
<img src="./Valentine-Surprise.png" alt="Open Gift Button" />
|
| 34 |
+
</div>
|
| 35 |
+
<p id="ket">
|
| 36 |
+
<span style="font-style: italic; color: rgb(0,0,0); margin-top: 3px !important; ">Open the gift, cutie:3</span>
|
| 37 |
+
</p>
|
| 38 |
+
|
| 39 |
+
<div class="kumpulanstiker" style="margin-top: 95px;">
|
| 40 |
+
<!-- Stickers for Content -->
|
| 41 |
+
<img src="https://media.tenor.com/4Ijycn6xFzUAAAAj/mochi-blue-roses.gif" id="fotostiker" />
|
| 42 |
+
<img src="https://feeldreams.github.io/bunga.gif" id="fotostiker1" />
|
| 43 |
+
<img src="https://feeldreams.github.io/pandacoklat.gif" id="fotostiker2" />
|
| 44 |
+
<img src="https://media.tenor.com/snFoLI-S9CQAAAAj/milk-and-mocha.gif" id="fotostiker3" />
|
| 45 |
+
<img src="https://feeldreams.github.io/emawh.gif" id="fotostiker4" />
|
| 46 |
+
<img src="https://feeldreams.github.io/pandacoklat.gif" id="fotostiker5" />
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
<p id="halo" class="halo"></p>
|
| 50 |
+
|
| 51 |
+
<div>
|
| 52 |
+
<blockquote id="bq" data-text="💞">
|
| 53 |
+
<!-- Update the messages for a birthday greeting -->
|
| 54 |
+
<p id="kalimat">
|
| 55 |
+
Happy Birthday, gorgeous! Today is all about celebrating you.
|
| 56 |
+
</p>
|
| 57 |
+
|
| 58 |
+
<!-- Message -->
|
| 59 |
+
<p id="pesan1">Tap here for your birthday surprise! 🎉</p>
|
| 60 |
+
<div id="kolombaru">
|
| 61 |
+
<li id="lv1">🎂</li>
|
| 62 |
+
<li id="lv2">🎁</li>
|
| 63 |
+
<li id="lv3">🥳</li>
|
| 64 |
+
<li id="lv4">💖</li>
|
| 65 |
+
</div>
|
| 66 |
+
|
| 67 |
+
<p id="pesan2">You shine brighter every year! ✨</p>
|
| 68 |
+
<p id="pesan3">Do you know what makes today extra special?</p>
|
| 69 |
+
<p id="pesan4" class="sty2">It’s your birthday!</p>
|
| 70 |
+
<p id="pesan5" class="sty2">
|
| 71 |
+
Today, I wish you a year filled with laughter, love, and unforgettable moments.
|
| 72 |
+
</p>
|
| 73 |
+
<p id="pesan6" class="sty2">
|
| 74 |
+
Remember, you deserve every happiness in the world. Celebrate big and enjoy every moment!
|
| 75 |
+
</p>
|
| 76 |
+
|
| 77 |
+
<!-- Next Button -->
|
| 78 |
+
<p id="opsL">Tap to continue the celebration!</p>
|
| 79 |
+
</blockquote>
|
| 80 |
+
</div>
|
| 81 |
+
|
| 82 |
+
<!-- Send Message Button -->
|
| 83 |
+
<div id="Tombol"><a id="By">💌 Next</a></div>
|
| 84 |
+
|
| 85 |
+
<!-- Rejected Message (if needed) -->
|
| 86 |
+
<div id="pesanditolak">
|
| 87 |
+
<img id="stikerditolak" src="https://feeldreams.github.io/weee.gif" />
|
| 88 |
+
<p id="kataditolak">
|
| 89 |
+
Oops! You can’t skip this birthday magic.
|
| 90 |
+
</p>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
|
| 94 |
+
<script>
|
| 95 |
+
// Main script remains similar; further changes are made in a.js if needed.
|
| 96 |
+
const body = document.querySelector("body");
|
| 97 |
+
const swalst = Swal.mixin({
|
| 98 |
+
timer: 2300,
|
| 99 |
+
allowOutsideClick: false,
|
| 100 |
+
showConfirmButton: false,
|
| 101 |
+
timerProgressBar: true,
|
| 102 |
+
imageHeight: 90,
|
| 103 |
+
});
|
| 104 |
+
audio = new Audio("" + linkmp3.src);
|
| 105 |
+
ftganti = 0;
|
| 106 |
+
fungsi = 0;
|
| 107 |
+
fungsiAwal = 0;
|
| 108 |
+
deffotostiker = fotostiker.src;
|
| 109 |
+
Content.style = "opacity:1;margin-top:16vh";
|
| 110 |
+
const swals = Swal.mixin({
|
| 111 |
+
allowOutsideClick: false,
|
| 112 |
+
cancelButtonColor: "#FF0040",
|
| 113 |
+
imageHeight: 80,
|
| 114 |
+
});
|
| 115 |
+
|
| 116 |
+
document.getElementById("kadoIn").onclick = function () {
|
| 117 |
+
if (fungsiAwal == 0) {
|
| 118 |
+
audio.play();
|
| 119 |
+
fungsiAwal = 1;
|
| 120 |
+
kadoIn.style =
|
| 121 |
+
"transition:all .8s ease;transform:scale(10);opacity:0";
|
| 122 |
+
wallpaper.style = "transform: scale(1.5);";
|
| 123 |
+
ket.style = "display:none";
|
| 124 |
+
setTimeout(initengahan, 300);
|
| 125 |
+
setTimeout(inipesan, 500);
|
| 126 |
+
}
|
| 127 |
+
};
|
| 128 |
+
|
| 129 |
+
async function inipesan() {
|
| 130 |
+
var { value: nama } = await swals.fire({
|
| 131 |
+
title: "What's your beautiful name?",
|
| 132 |
+
input: "text",
|
| 133 |
+
});
|
| 134 |
+
if (nama && nama.length < 11) {
|
| 135 |
+
window.nama = nama;
|
| 136 |
+
vketikhalo = "Happy Birthday, " + nama + "!";
|
| 137 |
+
mulainama();
|
| 138 |
+
} else {
|
| 139 |
+
await Swal.fire({
|
| 140 |
+
title: "Your name is lovely, but it seems a bit long.",
|
| 141 |
+
text: "Please enter a shorter name.",
|
| 142 |
+
icon: "warning",
|
| 143 |
+
});
|
| 144 |
+
inipesan();
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
var tanya = "How about we celebrate your birthday in style?";
|
| 149 |
+
var opstanya = "Your choice is:";
|
| 150 |
+
var tompositif = "Absolutely, let’s celebrate! 🎉";
|
| 151 |
+
var tomnegatif = "Maybe another time";
|
| 152 |
+
|
| 153 |
+
async function pertanyaan() {
|
| 154 |
+
var { isConfirmed: prtanya } = await swals.fire({
|
| 155 |
+
title: nama + ", " + tanya,
|
| 156 |
+
text: "" + opstanya,
|
| 157 |
+
imageUrl: "" + fotostiker5.src,
|
| 158 |
+
showCancelButton: true,
|
| 159 |
+
confirmButtonText: "" + tompositif,
|
| 160 |
+
cancelButtonText: "" + tomnegatif,
|
| 161 |
+
});
|
| 162 |
+
if (prtanya) {
|
| 163 |
+
pesanwhatsapp = "Yes " + nama + ", let the birthday magic begin!";
|
| 164 |
+
menuju();
|
| 165 |
+
} else {
|
| 166 |
+
pesanwhatsapp = nama + ", don't miss out on the birthday fun!";
|
| 167 |
+
await swalst.fire({
|
| 168 |
+
title: "" + kataditolak.innerHTML,
|
| 169 |
+
timer: 2000,
|
| 170 |
+
imageUrl: "" + stikerditolak.src,
|
| 171 |
+
});
|
| 172 |
+
menuju();
|
| 173 |
+
}
|
| 174 |
+
}
|
| 175 |
+
</script>
|
| 176 |
+
<script src="a.js"></script>
|
| 177 |
+
</body>
|
| 178 |
+
|
| 179 |
+
</html>
|
published_projects/659ba0eb/love/images/r1.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c01f768faf38ea07e62c544aee31e560bb57eb40039afdd0e4d8b36237085a4
|
| 3 |
+
size 145621
|
published_projects/659ba0eb/love/images/r10.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r2.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r3.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r4.jpg
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r4.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r5.jpg
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r6.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r7.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r8.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/images/r9.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/love/index.html
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="vi">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>Uyên Nhi</title>
|
| 8 |
+
<link rel="shortcut icon" href="./icon.png" type="image/x-icon">
|
| 9 |
+
<link rel="stylesheet" href="main.css">
|
| 10 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 11 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 12 |
+
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="stylesheet">
|
| 13 |
+
</head>
|
| 14 |
+
<body>
|
| 15 |
+
<div id="drag-container">
|
| 16 |
+
<div id="spin-container">
|
| 17 |
+
<img src="./images/r1.png" alt="">
|
| 18 |
+
<img src="./images/r2.png" alt="">
|
| 19 |
+
<img src="./images/r3.png" alt="">
|
| 20 |
+
<img src="./images/r4.png" alt="">
|
| 21 |
+
<img src="./images/r5.jpg" alt="">
|
| 22 |
+
<img src="./images/r6.png" alt="">
|
| 23 |
+
<img src="./images/r7.png" alt="">
|
| 24 |
+
<img src="./images/r8.png" alt="">
|
| 25 |
+
<img src="./images/r9.png" alt="">
|
| 26 |
+
<img src="./images/r10.png" alt="">
|
| 27 |
+
<p>Happy Birthday Rashmii</p>
|
| 28 |
+
</div>
|
| 29 |
+
<div id="ground"></div>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
<div id="music-container"></div>
|
| 33 |
+
<!-- <div id="canva">
|
| 34 |
+
<canvas id="canvas"></canvas>
|
| 35 |
+
</div> -->
|
| 36 |
+
|
| 37 |
+
<!-- Audio tự động phát -->
|
| 38 |
+
<audio id="myAudio" autoplay playsinline>
|
| 39 |
+
<source src="music/setlove.mp3" type="audio/mpeg">
|
| 40 |
+
<source src="music/setlove.ogg" type="audio/ogg">
|
| 41 |
+
</audio>
|
| 42 |
+
|
| 43 |
+
<script src="main.js"></script>
|
| 44 |
+
|
| 45 |
+
<script>
|
| 46 |
+
window.onload = function() {
|
| 47 |
+
var audio = document.getElementById("myAudio");
|
| 48 |
+
audio.muted = false;
|
| 49 |
+
audio.play().catch(function(e) {
|
| 50 |
+
console.log('Audio playback failed:', e);
|
| 51 |
+
});
|
| 52 |
+
|
| 53 |
+
// Hiệu ứng pháo hoa và trái tim
|
| 54 |
+
const canvas = document.getElementById("canvas");
|
| 55 |
+
const ctx = canvas.getContext("2d");
|
| 56 |
+
canvas.width = window.innerWidth;
|
| 57 |
+
canvas.height = window.innerHeight;
|
| 58 |
+
|
| 59 |
+
function random(min, max) {
|
| 60 |
+
return Math.random() * (max - min) + min;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
function Firework(x, y) {
|
| 64 |
+
this.x = x;
|
| 65 |
+
this.y = y;
|
| 66 |
+
this.radius = random(2, 4);
|
| 67 |
+
this.color = `hsl(${random(0, 360)}, 100%, 50%)`;
|
| 68 |
+
this.vx = random(-3, 3);
|
| 69 |
+
this.vy = random(-3, 3);
|
| 70 |
+
this.life = 100;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
Firework.prototype.draw = function () {
|
| 74 |
+
ctx.beginPath();
|
| 75 |
+
ctx.arc(this.x, this.y, this.radius, 0, Math.PI * 2);
|
| 76 |
+
ctx.fillStyle = this.color;
|
| 77 |
+
ctx.fill();
|
| 78 |
+
};
|
| 79 |
+
|
| 80 |
+
Firework.prototype.update = function () {
|
| 81 |
+
this.x += this.vx;
|
| 82 |
+
this.y += this.vy;
|
| 83 |
+
this.life--;
|
| 84 |
+
};
|
| 85 |
+
|
| 86 |
+
function Heart(x, y) {
|
| 87 |
+
this.x = x;
|
| 88 |
+
this.y = y;
|
| 89 |
+
this.size = random(20, 40);
|
| 90 |
+
this.color = 'red';
|
| 91 |
+
this.vy = random(-2, -1);
|
| 92 |
+
this.opacity = 1;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
Heart.prototype.draw = function () {
|
| 96 |
+
ctx.beginPath();
|
| 97 |
+
ctx.moveTo(this.x, this.y);
|
| 98 |
+
ctx.bezierCurveTo(this.x - this.size / 2, this.y - this.size / 2, this.x - this.size, this.y + this.size / 3, this.x, this.y + this.size);
|
| 99 |
+
ctx.bezierCurveTo(this.x + this.size, this.y + this.size / 3, this.x + this.size / 2, this.y - this.size / 2, this.x, this.y);
|
| 100 |
+
ctx.fillStyle = this.color;
|
| 101 |
+
ctx.globalAlpha = this.opacity;
|
| 102 |
+
ctx.fill();
|
| 103 |
+
ctx.globalAlpha = 1;
|
| 104 |
+
};
|
| 105 |
+
|
| 106 |
+
Heart.prototype.update = function () {
|
| 107 |
+
this.y += this.vy;
|
| 108 |
+
this.opacity -= 0.01;
|
| 109 |
+
};
|
| 110 |
+
|
| 111 |
+
let fireworks = [];
|
| 112 |
+
let hearts = [];
|
| 113 |
+
|
| 114 |
+
function animate() {
|
| 115 |
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
| 116 |
+
if (Math.random() < 0.1) {
|
| 117 |
+
fireworks.push(new Firework(random(0, canvas.width), random(0, canvas.height)));
|
| 118 |
+
}
|
| 119 |
+
if (Math.random() < 0.05) {
|
| 120 |
+
hearts.push(new Heart(random(0, canvas.width), canvas.height));
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
fireworks.forEach((firework, index) => {
|
| 124 |
+
firework.draw();
|
| 125 |
+
firework.update();
|
| 126 |
+
if (firework.life <= 0) {
|
| 127 |
+
fireworks.splice(index, 1);
|
| 128 |
+
}
|
| 129 |
+
});
|
| 130 |
+
|
| 131 |
+
hearts.forEach((heart, index) => {
|
| 132 |
+
heart.draw();
|
| 133 |
+
heart.update();
|
| 134 |
+
if (heart.opacity <= 0) {
|
| 135 |
+
hearts.splice(index, 1);
|
| 136 |
+
}
|
| 137 |
+
});
|
| 138 |
+
|
| 139 |
+
requestAnimationFrame(animate);
|
| 140 |
+
}
|
| 141 |
+
animate();
|
| 142 |
+
};
|
| 143 |
+
</script>
|
| 144 |
+
</body>
|
| 145 |
+
</html>
|
published_projects/659ba0eb/love/main.css
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Amita:wght@400;700&family=Archivo:ital,wght@0,100..900;1,100..900&family=Bilbo+Swash+Caps&family=Inter:opsz,wght@14..32,500&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Tiro+Devanagari+Marathi:ital@0;1&display=swap');
|
| 2 |
+
|
| 3 |
+
* {
|
| 4 |
+
margin: 0;
|
| 5 |
+
padding: 0;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
html,
|
| 9 |
+
body {
|
| 10 |
+
height: 100%;
|
| 11 |
+
/* for touch screen */
|
| 12 |
+
touch-action: none;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
body {
|
| 16 |
+
overflow: hidden;
|
| 17 |
+
display: -webkit-box;
|
| 18 |
+
display: -ms-flexbox;
|
| 19 |
+
display: flex;
|
| 20 |
+
font-family: "Pacifico", sans-serif;
|
| 21 |
+
background: #ffffff;
|
| 22 |
+
-webkit-perspective: 1000px;
|
| 23 |
+
perspective: 1000px;
|
| 24 |
+
-webkit-transform-style: preserve-3d;
|
| 25 |
+
transform-style: preserve-3d;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
#drag-container, #spin-container {
|
| 29 |
+
position: relative;
|
| 30 |
+
display: -webkit-box;
|
| 31 |
+
display: -ms-flexbox;
|
| 32 |
+
display: flex;
|
| 33 |
+
margin: auto;
|
| 34 |
+
-webkit-transform-style: preserve-3d;
|
| 35 |
+
transform-style: preserve-3d;
|
| 36 |
+
-webkit-transform: rotateX(-10deg);
|
| 37 |
+
transform: rotateX(-10deg);
|
| 38 |
+
z-index: 100;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
#drag-container img, #drag-container video {
|
| 42 |
+
-webkit-transform-style: preserve-3d;
|
| 43 |
+
transform-style: preserve-3d;
|
| 44 |
+
position: absolute;
|
| 45 |
+
left: 0;
|
| 46 |
+
top: 0;
|
| 47 |
+
max-width: 120%;
|
| 48 |
+
max-height: 120%;
|
| 49 |
+
line-height: 200px;
|
| 50 |
+
font-size: 50px;
|
| 51 |
+
text-align: center;
|
| 52 |
+
-webkit-box-shadow: 0 0 8px #fff;
|
| 53 |
+
box-shadow: 0 0 8px #fff;
|
| 54 |
+
-webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0005);
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
#drag-container img:hover, #drag-container video:hover {
|
| 58 |
+
-webkit-box-shadow: 0 0 15px #fffd;
|
| 59 |
+
box-shadow: 0 0 15px #fffd;
|
| 60 |
+
-webkit-box-reflect: below 10px linear-gradient(transparent, transparent, #0007);
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
#drag-container p {
|
| 64 |
+
|
| 65 |
+
position: absolute;
|
| 66 |
+
top: 100%;
|
| 67 |
+
left: 50%;
|
| 68 |
+
-webkit-transform: translate(-50%,-50%) rotateX(90deg);
|
| 69 |
+
transform: translate(-50%,-50%) rotateX(90deg);
|
| 70 |
+
color: rgb(0, 195, 255);
|
| 71 |
+
animation: fadein ease 15s;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
@keyframes fadein {
|
| 75 |
+
from {
|
| 76 |
+
opacity:0;
|
| 77 |
+
|
| 78 |
+
}
|
| 79 |
+
to {
|
| 80 |
+
opacity: 1;
|
| 81 |
+
|
| 82 |
+
}
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
#ground {
|
| 86 |
+
width: 900px;
|
| 87 |
+
height: 900px;
|
| 88 |
+
position: absolute;
|
| 89 |
+
top: 100%;
|
| 90 |
+
left: 50%;
|
| 91 |
+
-webkit-transform: translate(-50%,-50%) rotateX(90deg);
|
| 92 |
+
transform: translate(-50%,-50%) rotateX(90deg);
|
| 93 |
+
background: -webkit-radial-gradient(center center, farthest-side , #9993, transparent);
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
#music-container {
|
| 97 |
+
position: absolute;
|
| 98 |
+
top: 0;
|
| 99 |
+
left: 0;
|
| 100 |
+
display: none;
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
@-webkit-keyframes spin {
|
| 104 |
+
from{
|
| 105 |
+
-webkit-transform: rotateY(0deg);
|
| 106 |
+
transform: rotateY(0deg);
|
| 107 |
+
} to{
|
| 108 |
+
-webkit-transform: rotateY(360deg);
|
| 109 |
+
transform: rotateY(360deg);
|
| 110 |
+
}
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
@keyframes spin {
|
| 114 |
+
from{
|
| 115 |
+
-webkit-transform: rotateY(0deg);
|
| 116 |
+
transform: rotateY(0deg);
|
| 117 |
+
} to{
|
| 118 |
+
-webkit-transform: rotateY(360deg);
|
| 119 |
+
transform: rotateY(360deg);
|
| 120 |
+
}
|
| 121 |
+
}
|
| 122 |
+
@-webkit-keyframes spinRevert {
|
| 123 |
+
from{
|
| 124 |
+
-webkit-transform: rotateY(360deg);
|
| 125 |
+
transform: rotateY(360deg);
|
| 126 |
+
} to{
|
| 127 |
+
-webkit-transform: rotateY(0deg);
|
| 128 |
+
transform: rotateY(0deg);
|
| 129 |
+
}
|
| 130 |
+
}
|
| 131 |
+
@keyframes spinRevert {
|
| 132 |
+
from{
|
| 133 |
+
-webkit-transform: rotateY(360deg);
|
| 134 |
+
transform: rotateY(360deg);
|
| 135 |
+
} to{
|
| 136 |
+
-webkit-transform: rotateY(0deg);
|
| 137 |
+
transform: rotateY(0deg);
|
| 138 |
+
}
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
#canvas {
|
| 142 |
+
background-color:transparent;
|
| 143 |
+
color: transparent;
|
| 144 |
+
margin: 0;
|
| 145 |
+
overflow: hidden;
|
| 146 |
+
background-repeat: no-repeat;
|
| 147 |
+
width: 100vw;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
#canva {
|
| 152 |
+
position: absolute;
|
| 153 |
+
top: 0px;
|
| 154 |
+
right: 0px;
|
| 155 |
+
overflow: hidden;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
p {
|
| 159 |
+
font-weight: 600;
|
| 160 |
+
font-size: 4vw;
|
| 161 |
+
text-align: center;
|
| 162 |
+
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
@media screen and (max-width: 658px) {
|
| 166 |
+
p {
|
| 167 |
+
font-weight: 600;
|
| 168 |
+
font-size: 12vw;
|
| 169 |
+
text-align: center;
|
| 170 |
+
}
|
| 171 |
+
}
|
published_projects/659ba0eb/love/main.js
ADDED
|
@@ -0,0 +1,417 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// You can change global variables here:
|
| 2 |
+
var radius = 240; // how big of the radius
|
| 3 |
+
var autoRotate = true; // auto rotate or not
|
| 4 |
+
var rotateSpeed = -60; // unit: seconds/360 degrees
|
| 5 |
+
var imgWidth = 120; // width of images (unit: px)
|
| 6 |
+
var imgHeight = 170; // height of images (unit: px)
|
| 7 |
+
|
| 8 |
+
// Link of background music - set 'null' if you dont want to play background music
|
| 9 |
+
var bgMusicURL = 'https://api.soundcloud.com/tracks/143041228/stream?client_id=587aa2d384f7333a886010d5f52f302a';
|
| 10 |
+
var bgMusicControls = true; // Show UI music control
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
// ===================== start =======================
|
| 15 |
+
// animation start after 1000 miliseconds
|
| 16 |
+
setTimeout(init, 1000);
|
| 17 |
+
|
| 18 |
+
var odrag = document.getElementById('drag-container');
|
| 19 |
+
var ospin = document.getElementById('spin-container');
|
| 20 |
+
var aImg = ospin.getElementsByTagName('img');
|
| 21 |
+
var aVid = ospin.getElementsByTagName('video');
|
| 22 |
+
var aEle = [...aImg, ...aVid]; // combine 2 arrays
|
| 23 |
+
|
| 24 |
+
// Size of images
|
| 25 |
+
ospin.style.width = imgWidth + "px";
|
| 26 |
+
ospin.style.height = imgHeight + "px";
|
| 27 |
+
|
| 28 |
+
// Size of ground - depend on radius
|
| 29 |
+
var ground = document.getElementById('ground');
|
| 30 |
+
ground.style.width = radius * 3 + "px";
|
| 31 |
+
ground.style.height = radius * 3 + "px";
|
| 32 |
+
|
| 33 |
+
function init(delayTime) {
|
| 34 |
+
for (var i = 0; i < aEle.length; i++) {
|
| 35 |
+
aEle[i].style.transform = "rotateY(" + (i * (360 / aEle.length)) + "deg) translateZ(" + radius + "px)";
|
| 36 |
+
aEle[i].style.transition = "transform 1s";
|
| 37 |
+
aEle[i].style.transitionDelay = delayTime || (aEle.length - i) / 4 + "s";
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
function applyTranform(obj) {
|
| 42 |
+
// Constrain the angle of camera (between 0 and 180)
|
| 43 |
+
if(tY > 180) tY = 180;
|
| 44 |
+
if(tY < 0) tY = 0;
|
| 45 |
+
|
| 46 |
+
// Apply the angle
|
| 47 |
+
obj.style.transform = "rotateX(" + (-tY) + "deg) rotateY(" + (tX) + "deg)";
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
function playSpin(yes) {
|
| 51 |
+
ospin.style.animationPlayState = (yes?'running':'paused');
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
var sX, sY, nX, nY, desX = 0,
|
| 55 |
+
desY = 0,
|
| 56 |
+
tX = 0,
|
| 57 |
+
tY = 10;
|
| 58 |
+
|
| 59 |
+
// auto spin
|
| 60 |
+
if (autoRotate) {
|
| 61 |
+
var animationName = (rotateSpeed > 0 ? 'spin' : 'spinRevert');
|
| 62 |
+
ospin.style.animation = `${animationName} ${Math.abs(rotateSpeed)}s infinite linear`;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
// add background music
|
| 66 |
+
if (bgMusicURL) {
|
| 67 |
+
document.getElementById('music-container').innerHTML += `
|
| 68 |
+
<audio src="${bgMusicURL}" ${bgMusicControls? 'controls': ''} autoplay loop>
|
| 69 |
+
<p>If you are reading this, it is because your browser does not support the audio element.</p>
|
| 70 |
+
</audio>
|
| 71 |
+
`;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
// setup events
|
| 75 |
+
document.onpointerdown = function (e) {
|
| 76 |
+
clearInterval(odrag.timer);
|
| 77 |
+
e = e || window.event;
|
| 78 |
+
var sX = e.clientX,
|
| 79 |
+
sY = e.clientY;
|
| 80 |
+
|
| 81 |
+
this.onpointermove = function (e) {
|
| 82 |
+
e = e || window.event;
|
| 83 |
+
var nX = e.clientX,
|
| 84 |
+
nY = e.clientY;
|
| 85 |
+
desX = nX - sX;
|
| 86 |
+
desY = nY - sY;
|
| 87 |
+
tX += desX * 0.1;
|
| 88 |
+
tY += desY * 0.1;
|
| 89 |
+
applyTranform(odrag);
|
| 90 |
+
sX = nX;
|
| 91 |
+
sY = nY;
|
| 92 |
+
};
|
| 93 |
+
|
| 94 |
+
this.onpointerup = function (e) {
|
| 95 |
+
odrag.timer = setInterval(function () {
|
| 96 |
+
desX *= 0.95;
|
| 97 |
+
desY *= 0.95;
|
| 98 |
+
tX += desX * 0.1;
|
| 99 |
+
tY += desY * 0.1;
|
| 100 |
+
applyTranform(odrag);
|
| 101 |
+
playSpin(false);
|
| 102 |
+
if (Math.abs(desX) < 0.5 && Math.abs(desY) < 0.5) {
|
| 103 |
+
clearInterval(odrag.timer);
|
| 104 |
+
playSpin(true);
|
| 105 |
+
}
|
| 106 |
+
}, 17);
|
| 107 |
+
this.onpointermove = this.onpointerup = null;
|
| 108 |
+
};
|
| 109 |
+
|
| 110 |
+
return false;
|
| 111 |
+
};
|
| 112 |
+
|
| 113 |
+
document.onmousewheel = function(e) {
|
| 114 |
+
e = e || window.event;
|
| 115 |
+
var d = e.wheelDelta / 20 || -e.detail;
|
| 116 |
+
radius += d;
|
| 117 |
+
init(1);
|
| 118 |
+
};
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
var canvas = document.getElementById("canvas");
|
| 139 |
+
|
| 140 |
+
canvas.width = window.innerWidth;
|
| 141 |
+
canvas.height = window.innerHeight;
|
| 142 |
+
|
| 143 |
+
// Initialize the GL context
|
| 144 |
+
var gl = canvas.getContext('webgl');
|
| 145 |
+
if(!gl){
|
| 146 |
+
console.error("Unable to initialize WebGL.");
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
//Time
|
| 150 |
+
var time = 0.0;
|
| 151 |
+
|
| 152 |
+
//************** Shader sources **************
|
| 153 |
+
|
| 154 |
+
var vertexSource = `
|
| 155 |
+
attribute vec2 position;
|
| 156 |
+
void main() {
|
| 157 |
+
gl_Position = vec4(position, 0.0, 1.0);
|
| 158 |
+
}
|
| 159 |
+
`;
|
| 160 |
+
|
| 161 |
+
var fragmentSource = `
|
| 162 |
+
precision highp float;
|
| 163 |
+
|
| 164 |
+
uniform float width;
|
| 165 |
+
uniform float height;
|
| 166 |
+
vec2 resolution = vec2(width, height);
|
| 167 |
+
|
| 168 |
+
uniform float time;
|
| 169 |
+
|
| 170 |
+
#define POINT_COUNT 8
|
| 171 |
+
|
| 172 |
+
vec2 points[POINT_COUNT];
|
| 173 |
+
const float speed = -0.5;
|
| 174 |
+
const float len = 0.25;
|
| 175 |
+
float intensity = 1.3;
|
| 176 |
+
float radius = 0.008;
|
| 177 |
+
|
| 178 |
+
//https://www.shadertoy.com/view/MlKcDD
|
| 179 |
+
//Signed distance to a quadratic bezier
|
| 180 |
+
float sdBezier(vec2 pos, vec2 A, vec2 B, vec2 C){
|
| 181 |
+
vec2 a = B - A;
|
| 182 |
+
vec2 b = A - 2.0*B + C;
|
| 183 |
+
vec2 c = a * 2.0;
|
| 184 |
+
vec2 d = A - pos;
|
| 185 |
+
|
| 186 |
+
float kk = 1.0 / dot(b,b);
|
| 187 |
+
float kx = kk * dot(a,b);
|
| 188 |
+
float ky = kk * (2.0*dot(a,a)+dot(d,b)) / 3.0;
|
| 189 |
+
float kz = kk * dot(d,a);
|
| 190 |
+
|
| 191 |
+
float res = 0.0;
|
| 192 |
+
|
| 193 |
+
float p = ky - kx*kx;
|
| 194 |
+
float p3 = p*p*p;
|
| 195 |
+
float q = kx*(2.0*kx*kx - 3.0*ky) + kz;
|
| 196 |
+
float h = q*q + 4.0*p3;
|
| 197 |
+
|
| 198 |
+
if(h >= 0.0){
|
| 199 |
+
h = sqrt(h);
|
| 200 |
+
vec2 x = (vec2(h, -h) - q) / 2.0;
|
| 201 |
+
vec2 uv = sign(x)*pow(abs(x), vec2(1.0/3.0));
|
| 202 |
+
float t = uv.x + uv.y - kx;
|
| 203 |
+
t = clamp( t, 0.0, 1.0 );
|
| 204 |
+
|
| 205 |
+
// 1 root
|
| 206 |
+
vec2 qos = d + (c + b*t)*t;
|
| 207 |
+
res = length(qos);
|
| 208 |
+
}else{
|
| 209 |
+
float z = sqrt(-p);
|
| 210 |
+
float v = acos( q/(p*z*2.0) ) / 3.0;
|
| 211 |
+
float m = cos(v);
|
| 212 |
+
float n = sin(v)*1.732050808;
|
| 213 |
+
vec3 t = vec3(m + m, -n - m, n - m) * z - kx;
|
| 214 |
+
t = clamp( t, 0.0, 1.0 );
|
| 215 |
+
|
| 216 |
+
// 3 roots
|
| 217 |
+
vec2 qos = d + (c + b*t.x)*t.x;
|
| 218 |
+
float dis = dot(qos,qos);
|
| 219 |
+
|
| 220 |
+
res = dis;
|
| 221 |
+
|
| 222 |
+
qos = d + (c + b*t.y)*t.y;
|
| 223 |
+
dis = dot(qos,qos);
|
| 224 |
+
res = min(res,dis);
|
| 225 |
+
|
| 226 |
+
qos = d + (c + b*t.z)*t.z;
|
| 227 |
+
dis = dot(qos,qos);
|
| 228 |
+
res = min(res,dis);
|
| 229 |
+
|
| 230 |
+
res = sqrt( res );
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
return res;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
|
| 237 |
+
//http://mathworld.wolfram.com/HeartCurve.html
|
| 238 |
+
vec2 getHeartPosition(float t){
|
| 239 |
+
return vec2(16.0 * sin(t) * sin(t) * sin(t),
|
| 240 |
+
-(13.0 * cos(t) - 5.0 * cos(2.0*t)
|
| 241 |
+
- 2.0 * cos(3.0*t) - cos(4.0*t)));
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
//https://www.shadertoy.com/view/3s3GDn
|
| 245 |
+
float getGlow(float dist, float radius, float intensity){
|
| 246 |
+
return pow(radius/dist, intensity);
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
float getSegment(float t, vec2 pos, float offset, float scale){
|
| 250 |
+
for(int i = 0; i < POINT_COUNT; i++){
|
| 251 |
+
points[i] = getHeartPosition(offset + float(i)*len + fract(speed * t) * 6.28);
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
vec2 c = (points[0] + points[1]) / 2.0;
|
| 255 |
+
vec2 c_prev;
|
| 256 |
+
float dist = 10000.0;
|
| 257 |
+
|
| 258 |
+
for(int i = 0; i < POINT_COUNT-1; i++){
|
| 259 |
+
//https://tinyurl.com/y2htbwkm
|
| 260 |
+
c_prev = c;
|
| 261 |
+
c = (points[i] + points[i+1]) / 2.0;
|
| 262 |
+
dist = min(dist, sdBezier(pos, scale * c_prev, scale * points[i], scale * c));
|
| 263 |
+
}
|
| 264 |
+
return max(0.0, dist);
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
void main(){
|
| 268 |
+
vec2 uv = gl_FragCoord.xy/resolution.xy;
|
| 269 |
+
float widthHeightRatio = resolution.x/resolution.y;
|
| 270 |
+
vec2 centre = vec2(0.5, 0.5);
|
| 271 |
+
vec2 pos = centre - uv;
|
| 272 |
+
pos.y /= widthHeightRatio;
|
| 273 |
+
//Shift upwards to centre heart
|
| 274 |
+
pos.y += 0.02;
|
| 275 |
+
float scale = 0.000015 * height;
|
| 276 |
+
|
| 277 |
+
float t = time;
|
| 278 |
+
|
| 279 |
+
//Get first segment
|
| 280 |
+
float dist = getSegment(t, pos, 0.0, scale);
|
| 281 |
+
float glow = getGlow(dist, radius, intensity);
|
| 282 |
+
|
| 283 |
+
vec3 col = vec3(0.0);
|
| 284 |
+
|
| 285 |
+
//White core
|
| 286 |
+
col += 10.0*vec3(smoothstep(0.003, 0.001, dist));
|
| 287 |
+
//Pink glow
|
| 288 |
+
col += glow * vec3(1.0,0.05,0.3);
|
| 289 |
+
|
| 290 |
+
//Get second segment
|
| 291 |
+
dist = getSegment(t, pos, 3.4, scale);
|
| 292 |
+
glow = getGlow(dist, radius, intensity);
|
| 293 |
+
|
| 294 |
+
//White core
|
| 295 |
+
col += 10.0*vec3(smoothstep(0.003, 0.001, dist));
|
| 296 |
+
//Blue glow
|
| 297 |
+
col += glow * vec3(0.1,0.4,1.0);
|
| 298 |
+
|
| 299 |
+
//Tone mapping
|
| 300 |
+
col = 1.0 - exp(-col);
|
| 301 |
+
|
| 302 |
+
//Gamma
|
| 303 |
+
col = pow(col, vec3(0.4545));
|
| 304 |
+
|
| 305 |
+
//Output to screen
|
| 306 |
+
gl_FragColor = vec4(col,1.0);
|
| 307 |
+
}
|
| 308 |
+
`;
|
| 309 |
+
|
| 310 |
+
//************** Utility functions **************
|
| 311 |
+
|
| 312 |
+
window.addEventListener('resize', onWindowResize, false);
|
| 313 |
+
|
| 314 |
+
function onWindowResize(){
|
| 315 |
+
canvas.width = window.innerWidth;
|
| 316 |
+
canvas.height = window.innerHeight;
|
| 317 |
+
gl.viewport(0, 0, canvas.width, canvas.height);
|
| 318 |
+
gl.uniform1f(widthHandle, window.innerWidth);
|
| 319 |
+
gl.uniform1f(heightHandle, window.innerHeight);
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
//Compile shader and combine with source
|
| 324 |
+
function compileShader(shaderSource, shaderType){
|
| 325 |
+
var shader = gl.createShader(shaderType);
|
| 326 |
+
gl.shaderSource(shader, shaderSource);
|
| 327 |
+
gl.compileShader(shader);
|
| 328 |
+
if(!gl.getShaderParameter(shader, gl.COMPILE_STATUS)){
|
| 329 |
+
throw "Shader compile failed with: " + gl.getShaderInfoLog(shader);
|
| 330 |
+
}
|
| 331 |
+
return shader;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
//From https://codepen.io/jlfwong/pen/GqmroZ
|
| 335 |
+
//Utility to complain loudly if we fail to find the attribute/uniform
|
| 336 |
+
function getAttribLocation(program, name) {
|
| 337 |
+
var attributeLocation = gl.getAttribLocation(program, name);
|
| 338 |
+
if (attributeLocation === -1) {
|
| 339 |
+
throw 'Cannot find attribute ' + name + '.';
|
| 340 |
+
}
|
| 341 |
+
return attributeLocation;
|
| 342 |
+
}
|
| 343 |
+
|
| 344 |
+
function getUniformLocation(program, name) {
|
| 345 |
+
var attributeLocation = gl.getUniformLocation(program, name);
|
| 346 |
+
if (attributeLocation === -1) {
|
| 347 |
+
throw 'Cannot find uniform ' + name + '.';
|
| 348 |
+
}
|
| 349 |
+
return attributeLocation;
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
//************** Create shaders **************
|
| 353 |
+
|
| 354 |
+
//Create vertex and fragment shaders
|
| 355 |
+
var vertexShader = compileShader(vertexSource, gl.VERTEX_SHADER);
|
| 356 |
+
var fragmentShader = compileShader(fragmentSource, gl.FRAGMENT_SHADER);
|
| 357 |
+
|
| 358 |
+
//Create shader programs
|
| 359 |
+
var program = gl.createProgram();
|
| 360 |
+
gl.attachShader(program, vertexShader);
|
| 361 |
+
gl.attachShader(program, fragmentShader);
|
| 362 |
+
gl.linkProgram(program);
|
| 363 |
+
|
| 364 |
+
gl.useProgram(program);
|
| 365 |
+
|
| 366 |
+
//Set up rectangle covering entire canvas
|
| 367 |
+
var vertexData = new Float32Array([
|
| 368 |
+
-1.0, 1.0, // top left
|
| 369 |
+
-1.0, -1.0, // bottom left
|
| 370 |
+
1.0, 1.0, // top right
|
| 371 |
+
1.0, -1.0, // bottom right
|
| 372 |
+
]);
|
| 373 |
+
|
| 374 |
+
//Create vertex buffer
|
| 375 |
+
var vertexDataBuffer = gl.createBuffer();
|
| 376 |
+
gl.bindBuffer(gl.ARRAY_BUFFER, vertexDataBuffer);
|
| 377 |
+
gl.bufferData(gl.ARRAY_BUFFER, vertexData, gl.STATIC_DRAW);
|
| 378 |
+
|
| 379 |
+
// Layout of our data in the vertex buffer
|
| 380 |
+
var positionHandle = getAttribLocation(program, 'position');
|
| 381 |
+
|
| 382 |
+
gl.enableVertexAttribArray(positionHandle);
|
| 383 |
+
gl.vertexAttribPointer(positionHandle,
|
| 384 |
+
2, // position is a vec2 (2 values per component)
|
| 385 |
+
gl.FLOAT, // each component is a float
|
| 386 |
+
false, // don't normalize values
|
| 387 |
+
2 * 4, // two 4 byte float components per vertex (32 bit float is 4 bytes)
|
| 388 |
+
0 // how many bytes inside the buffer to start from
|
| 389 |
+
);
|
| 390 |
+
|
| 391 |
+
//Set uniform handle
|
| 392 |
+
var timeHandle = getUniformLocation(program, 'time');
|
| 393 |
+
var widthHandle = getUniformLocation(program, 'width');
|
| 394 |
+
var heightHandle = getUniformLocation(program, 'height');
|
| 395 |
+
|
| 396 |
+
gl.uniform1f(widthHandle, window.innerWidth);
|
| 397 |
+
gl.uniform1f(heightHandle, window.innerHeight);
|
| 398 |
+
|
| 399 |
+
var lastFrame = Date.now();
|
| 400 |
+
var thisFrame;
|
| 401 |
+
|
| 402 |
+
function draw(){
|
| 403 |
+
|
| 404 |
+
//Update time
|
| 405 |
+
thisFrame = Date.now();
|
| 406 |
+
time += (thisFrame - lastFrame)/1000;
|
| 407 |
+
lastFrame = thisFrame;
|
| 408 |
+
|
| 409 |
+
//Send uniforms to program
|
| 410 |
+
gl.uniform1f(timeHandle, time);
|
| 411 |
+
//Draw a triangle strip connecting vertices 0-4
|
| 412 |
+
gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
|
| 413 |
+
|
| 414 |
+
requestAnimationFrame(draw);
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
draw();
|
published_projects/659ba0eb/love/music/setlove.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6392810d53f947123d53569392eb6fa99fd4f28cdaddc18c24a9906ab67d6830
|
| 3 |
+
size 3834915
|
published_projects/659ba0eb/r.jpg
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/style.css
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Amita:wght@400;700&family=Archivo:ital,wght@0,100..900;1,100..900&family=Bilbo+Swash+Caps&family=Inter:opsz,wght@14..32,500&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Tiro+Devanagari+Marathi:ital@0;1&display=swap');
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
:root {
|
| 5 |
+
--tombol-bg: rgb(20 4 4 / 59%);
|
| 6 |
+
--tombol-teks: #fff;
|
| 7 |
+
--tombol-bingkai: #fff;
|
| 8 |
+
--bingkai: 8px;
|
| 9 |
+
--bingkai-kiri: 1.3px solid var(--tombol-bingkai);
|
| 10 |
+
--bingkai-kanan: 1.3px solid var(--tombol-bingkai);
|
| 11 |
+
--gaya-font: 'Archivo', sans-serif;
|
| 12 |
+
--gaya-font2: 'Dancing Script', sans-serif;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
body {
|
| 16 |
+
font-family: "Archivo", sans-serif;
|
| 17 |
+
height: 100vh;
|
| 18 |
+
}
|
| 19 |
+
@keyframes fanim {0% {background-position: 0% 0%;}25% {background-position: 100% 100%;} 50% {background-position: 0% 100%;} 75% {background-position: 50% 50%;} 100% {background-position: 0% 0%;}}
|
| 20 |
+
/* body{ background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 1) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255,1) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 1) 76%, transparent 77%, transparent);font-family:var(--gaya-font);padding: 20px 25px;-webkit-user-select: none; -ms-user-select: none; user-select: none;} a{text-decoration:none;} */
|
| 21 |
+
/* body::before{content:"\00A9 Rayys | PalingIT";color:white;opacity:.05;font-size:10px;position:fixed;bottom:25px;right:25px;z-index:2} */
|
| 22 |
+
#bodyblur {
|
| 23 |
+
opacity: 0;
|
| 24 |
+
position: fixed;
|
| 25 |
+
top: 0;
|
| 26 |
+
left: 0;
|
| 27 |
+
right: 0;
|
| 28 |
+
bottom: 0;
|
| 29 |
+
background: linear-gradient(to bottom, #ffe1e1, #ff217de0), url(./r.jpg);
|
| 30 |
+
transition: all 1s ease;
|
| 31 |
+
}
|
| 32 |
+
#wallpaper{width:100%;height:100%;transform: scale(2);transition:all 1.3s ease;}
|
| 33 |
+
#beneranblur{position:fixed;top:0;left:0;right:0;bottom:0;-webkit-backdrop-filter:blur(0px); backdrop-filter:blur(0px);transition:all 3s ease;}
|
| 34 |
+
|
| 35 |
+
@keyframes jj{0% {transform: scale(1.1);} 50% {transform: scale(1.2);} 100% {transform: scale(1.1);}}
|
| 36 |
+
@keyframes rts{from {transform:scale(.1);} to {transform:scale(1);}}
|
| 37 |
+
@keyframes rto{from {transform:scale(1);} to {transform:scale(1.1);}}
|
| 38 |
+
@keyframes aniopa{0% {transform: scale(1);} 50% {transform: scale(.75);} 100% {transform: scale(1);}}
|
| 39 |
+
@keyframes rtf{from {transform: rotate(0deg);} to {transform: rotate(360deg);}} @keyframes rt{from {transform: scale(.9);/* transform: rotate(-5deg); */} to {transform: scale(1);/* transform: rotate(5deg); */}}
|
| 40 |
+
@keyframes kont{0% {left:-1px; top:-3px;} 50% {left:1px; top:3px;} 100% {left:-1px; top:-3px;}}
|
| 41 |
+
|
| 42 |
+
blockquote {
|
| 43 |
+
position: absolute;
|
| 44 |
+
opacity: 0;
|
| 45 |
+
visibility: hidden;
|
| 46 |
+
margin-top: 100px;
|
| 47 |
+
background: rgb(0 0 0 / 73%);
|
| 48 |
+
border-radius: 18px 0 18px 0;
|
| 49 |
+
box-shadow: rgba(255,255,255, 0.3) 0px 7px 29px 0px;
|
| 50 |
+
transform: scale(.1);
|
| 51 |
+
transition: all 1s ease;
|
| 52 |
+
margin-top: 120px;
|
| 53 |
+
margin-left: 0;
|
| 54 |
+
margin-right: 0;
|
| 55 |
+
color: var(--tombol-teks);
|
| 56 |
+
text-shadow: 0px 2px 2px rgba(0, 0, 0, .8);
|
| 57 |
+
}
|
| 58 |
+
blockquote{width:400px;text-align:center;line-height:1.3em;padding:20px 25px 20px 25px;}
|
| 59 |
+
blockquote::before{content:attr(data-text);opacity:.7;font-family: sans-serif;position:absolute;left:8px;top:8px;min-width:15px;font-size:16px;text-align:center}
|
| 60 |
+
blockquote::after{content: "";position: absolute;border: 1px solid #fff;border-radius:18px 0 18px 0;top: -8px;bottom: -8px;left: -8px;right: -8px;}
|
| 61 |
+
blockquote p{font-size:16px;font-weight:700;line-height:1.4em;transition:all .5s ease;}
|
| 62 |
+
blockquote > #kalimatb, blockquote > .sty2{font-size:15px;font-weight:400}
|
| 63 |
+
blockquote > #pesan4{margin-top:25px} blockquote > .sty2{line-height:1em;}
|
| 64 |
+
blockquote p:not(#opsL, #kalimat, #kalimatb, .sty2){display:none;}
|
| 65 |
+
blockquote > #opsL{text-align:right;font-size:11px;font-weight:400;line-height:0;margin-top:24px;color:white;opacity:0;transition:all .2s ease;}
|
| 66 |
+
|
| 67 |
+
#waktu{display:none}
|
| 68 |
+
#kado1, #kado2, #kado3{font-size:16px;font-weight:400;}
|
| 69 |
+
#kalimatAkhir{transform:scale(.1);}
|
| 70 |
+
#kado1{position:absolute;opacity:0}
|
| 71 |
+
#kalove{font-size:25px;line-height:0;}
|
| 72 |
+
.kolombar .inibar{position:absolute;opacity:0;visibility:hidden;background-color:#fff;height:5px;width:100%}
|
| 73 |
+
|
| 74 |
+
#Tombol{position:relative;opacity:0;margin:0;display:flex;align-items:left;list-style:none;transform: scale(.1);transition:all 1s ease;}
|
| 75 |
+
#Tombol a{cursor:pointer;display:inline-flex;align-items:center; margin:0;margin:12px 0 12px 0;transition:all .2s ease;padding:10px;outline:0;border: 1px solid #fff;border-radius:18px;line-height:15px;background:rgba(0,0,0,.5);color:var(--tombol-teks);font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;box-shadow: rgba(255,255,255, 0.3) 0px 7px 29px 0px;z-index:1}
|
| 76 |
+
#Bn{margin:12px 0 12px 12px !important;}
|
| 77 |
+
#Bn2{position:absolute;opacity:0;width:0}
|
| 78 |
+
|
| 79 |
+
#Content {
|
| 80 |
+
|
| 81 |
+
animation-name: none;
|
| 82 |
+
animation-duration: 3s;
|
| 83 |
+
animation-iteration-count: infinite;
|
| 84 |
+
position: relative;
|
| 85 |
+
opacity: 0;
|
| 86 |
+
margin-top: 50px;
|
| 87 |
+
width: 100%;
|
| 88 |
+
height: 100vh;
|
| 89 |
+
transition: all .7s ease;
|
| 90 |
+
}
|
| 91 |
+
#Content > * {
|
| 92 |
+
display: flex;
|
| 93 |
+
align-items: center;
|
| 94 |
+
text-align: center;
|
| 95 |
+
justify-content: center;
|
| 96 |
+
margin-top: 19px;
|
| 97 |
+
}
|
| 98 |
+
.kumpulanstiker > img{display:none;background: rgba(255, 255, 255, 0.2);box-shadow: 0 4px 30px rgba(255,255,255, 0.3);backdrop-filter: blur(5px);-webkit-backdrop-filter: blur(5px);border: 1px solid rgba(255, 255, 255, 0.3);border-radius: 50%;padding:10px;width:100px;height:100px;margin:20px 0;}
|
| 99 |
+
#fotostiker{opacity:.1;transition:all 1.2s ease;transform: scale(.1);}
|
| 100 |
+
.halo{font-size:18px !important;position:relative;margin:15px 0 20px 0}
|
| 101 |
+
.halo.sty2{font-family:var(--gaya-font2);font-size:24px !important;margin-top:20px !important;}
|
| 102 |
+
.halo.sty3{position:absolute !important;font-size:14px !important;font-weight:400 !important;margin:30px 20px !important;}
|
| 103 |
+
#kalimatbawah{position: absolute;opacity:0;transform: scale(.3);margin:50px 0;font-family:var(--gaya-font2);font-size:20px;font-weight:700;color:white;text-shadow: 0px 2px 2px rgba(0, 0, 0, .8);transition:all .5s ease;}
|
| 104 |
+
#tanggal{position: absolute;opacity:0;transform: scale(.3);transition:all .5s ease;}
|
| 105 |
+
|
| 106 |
+
#fotolove img{transition:all .5s ease;width:75px;height:75px;padding:0;background:none}
|
| 107 |
+
#kadoIn img {
|
| 108 |
+
display: inline-flex;
|
| 109 |
+
background: none;
|
| 110 |
+
width: 317px;
|
| 111 |
+
height: 280px;
|
| 112 |
+
margin-bottom: 26px;
|
| 113 |
+
transition: all .3s ease;
|
| 114 |
+
}
|
| 115 |
+
#ket, .halo {
|
| 116 |
+
text-shadow: 1px 1px 2px rgb(10 3 3 / 67%);
|
| 117 |
+
font-size: 1.3rem;
|
| 118 |
+
letter-spacing: 2px;
|
| 119 |
+
font-weight: 600;
|
| 120 |
+
font-weight: 700;
|
| 121 |
+
margin-left: 36px;
|
| 122 |
+
color: #240606;
|
| 123 |
+
/* backdrop-filter: blur(8px); */
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
#kadoIn img:hover{transform:scale(.9);}
|
| 128 |
+
|
| 129 |
+
#kolombaru{position:absolute;opacity:0;display:flex;transform:scale(.1);transition:all 1s ease;align-items:center;text-align:center;justify-content:center;z-index:1;}
|
| 130 |
+
#kolombaru > li{margin:8px;padding:0;list-style-type: none;}
|
| 131 |
+
#kolombaru li{opacity:.8;display:flex;font-size:30px}
|
| 132 |
+
#kolombaru li:hover{opacity:.5;transform: scale(1.15);transition:all .3s ease;}
|
| 133 |
+
|
| 134 |
+
.kolomrange{padding:0;background:none;position:relative;z-index:1;display:none;transition:all 1s ease;align-items:center;}
|
| 135 |
+
.kolomrange .inirange{width:100%;height:40px;margin-right:15px;display:flex;align-items:center;text-align:center;justify-content:center;}
|
| 136 |
+
.kolomrange .inirange input{height:10px;width:100%;-webkit-appearance:none;outline:none;background:#f2f2f2;border-radius:25px;box-shadow:inset 0px 0px 4px rgba(0,0,0,0.2);}
|
| 137 |
+
.kolomrange .inirange input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;border:3px solid #006FFF;background:white;transition:all .2s ease;}
|
| 138 |
+
.kolomrange .inirange input::-webkit-slider-thumb:hover{border:5px solid #006FFF;}
|
| 139 |
+
.kolomrange .inivalue{color:white;font-size:20px}
|
| 140 |
+
|
| 141 |
+
.swal2-modal > *{font-size:16px;}
|
| 142 |
+
.swal2-title{line-height:1.3em;font-size:17px;text-align:center;padding:15px 30px 0 30px;}
|
| 143 |
+
.swal2-timer-progress-bar-container > *{opacity:.7;background:#00B6FF;margin:0 2px}
|
| 144 |
+
.swal2-modal {
|
| 145 |
+
background: #ffffff;
|
| 146 |
+
box-shadow: 0 4px 30px rgb(74 74 74 / 57%);
|
| 147 |
+
backdrop-filter: blur(2px);
|
| 148 |
+
-webkit-backdrop-filter: blur(2px);
|
| 149 |
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
| 150 |
+
border-radius: 8px;
|
| 151 |
+
max-width: 330px;
|
| 152 |
+
top: -60px;
|
| 153 |
+
}
|
| 154 |
+
.swal2-styled.swal2-confirm, .swal2-styled.swal2-cancel{position: relative;background-color: #4839eb;color: #fff;border-radius:18px;z-index: 1;transition: all 0.2s;}
|
| 155 |
+
|
| 156 |
+
.fa-snowflake {opacity:.3;color:white;font-size: 20px;position: absolute;animation: heartMove linear 1;top: -10vh;z-index: 0;}
|
| 157 |
+
@keyframes heartMove {0%{transform: translateY(-10vh) ;} 100%{transform: translateY(100vh) ;}}
|
| 158 |
+
.sembunyi, #pesanditolak > *, #kado2, #kado3{display:none !important}
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
.swal2-container.swal2-backdrop-show, .swal2-container.swal2-noanimation {
|
| 162 |
+
background: linear-gradient(to bottom, #ffe1e1, #ff217de0), url(./r.jpg);
|
| 163 |
+
height: 100vh;
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
.kumpulanstiker img {
|
| 167 |
+
transform: scale(2) !important;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
#ket {
|
| 171 |
+
margin-top: 3px !important;
|
| 172 |
+
backdrop-filter: blur(8px);
|
| 173 |
+
}
|
published_projects/659ba0eb/v.png
ADDED
|
Git LFS Details
|
published_projects/659ba0eb/y2mate (mp3cut.net).mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7068e67b4987660f1ec8d74bb9cd47881cc6d9bd389aeb097714da4637ccbd18
|
| 3 |
+
size 1105221
|
user_spaces/Ak/4a0a9d924fd271737c0813852160ae89.jpg
ADDED
|
Git LFS Details
|
user_spaces/Ak/6364310540963.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92bd8c5968991838bddf8ff7c5be4443724d24f2d8b31ae5d380e1257727e2e9
|
| 3 |
+
size 1150543
|
user_spaces/Ak/GiftBox.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/Screenshot 2025-03-01 162514.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/Valentine-Surprise.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/a.js
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function initengahan(){
|
| 2 |
+
kadoIn.style = "display:none";
|
| 3 |
+
ket.style = "display:none";
|
| 4 |
+
Content.style = "opacity:1;margin-top:0";
|
| 5 |
+
bodyblur.style = "opacity:.7";
|
| 6 |
+
wallpaper.style = "transform: scale(1.5);";
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
async function mulainama() {
|
| 10 |
+
bodyblur.style = "opacity:0";
|
| 11 |
+
wallpaper.style = "transform: scale(1);";
|
| 12 |
+
fotostiker.style = "display:inline-flex;";
|
| 13 |
+
setTimeout(ftmuncul, 200);
|
| 14 |
+
setTimeout(kethalo, 500);
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
function ftmuncul() {
|
| 18 |
+
if (ftganti == 0) { fotostiker.src = deffotostiker; }
|
| 19 |
+
if (ftganti == 1) { fotostiker.src = fotostiker1.src; }
|
| 20 |
+
if (ftganti == 2) { fotostiker.src = fotostiker2.src; }
|
| 21 |
+
if (ftganti == 3) { fotostiker.src = fotostiker3.src; }
|
| 22 |
+
if (ftganti == 4) { fotostiker.src = fotostiker4.src; }
|
| 23 |
+
fotostiker.style = "display:inline-flex;opacity:1;transform:scale(1)";
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
function fthilang() {
|
| 27 |
+
fotostiker.style = "display:inline-flex;opacity:1;transition:all .7s ease;transform:scale(.1)";
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
function jjfoto() {
|
| 31 |
+
fotostiker.style.animation = "rto .8s infinite alternate";
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
function bqmuncul() {
|
| 35 |
+
bq.style = "position:relative;opacity:1;visibility:visible;transform: scale(1);margin-top:0";
|
| 36 |
+
mulaiketik1();
|
| 37 |
+
fungsi = 1;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
function bqhilang() {
|
| 41 |
+
wallpaper.style = "transform: scale(2);";
|
| 42 |
+
bodyblur.style = "opacity:.3";
|
| 43 |
+
bq.style = "position:relative;transition:all .7s ease;";
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
function kethalo() {
|
| 47 |
+
new TypeIt("#halo", {
|
| 48 |
+
strings: ["" + vketikhalo],
|
| 49 |
+
startDelay: 50,
|
| 50 |
+
speed: 40,
|
| 51 |
+
waitUntilVisible: true,
|
| 52 |
+
afterComplete: function () {
|
| 53 |
+
halo.innerHTML = vketikhalo;
|
| 54 |
+
setTimeout(bqmuncul, 200);
|
| 55 |
+
},
|
| 56 |
+
}).go();
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
function tombol() {
|
| 60 |
+
wallpaper.style = "transform: scale(1);";
|
| 61 |
+
Tombol.style = "opacity:1;transform: scale(1);";
|
| 62 |
+
fungsi = 1;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
document.getElementById("By").onclick = function() {
|
| 66 |
+
if (fungsi == 1) { pertanyaan(); }
|
| 67 |
+
if (fungsi == 2) { menuju(); }
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
async function menuju(){
|
| 71 |
+
await swals.fire('Yay!', 'And here comes another birthday surprise for you!', 'success');
|
| 72 |
+
window.location = "./love/index.html";
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
vketik1 = kalimat.innerHTML;
|
| 76 |
+
kalimat.innerHTML = "";
|
| 77 |
+
function mulaiketik1(){
|
| 78 |
+
new TypeIt("#kalimat", {
|
| 79 |
+
strings: ["" + vketik1],
|
| 80 |
+
startDelay: 400,
|
| 81 |
+
speed: 20,
|
| 82 |
+
cursor: false,
|
| 83 |
+
deleteSpeed: 20,
|
| 84 |
+
breakLines: false,
|
| 85 |
+
waitUntilVisible: true,
|
| 86 |
+
lifelike: true,
|
| 87 |
+
afterComplete: function(){
|
| 88 |
+
aktiopsL();
|
| 89 |
+
},
|
| 90 |
+
}).go();
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
opsLclick = 0;
|
| 94 |
+
opsLcheck = 0;
|
| 95 |
+
defopsL = opsL.innerHTML;
|
| 96 |
+
document.getElementById("bq").onclick = function() {
|
| 97 |
+
if (opsLclick == 1) {
|
| 98 |
+
if (opsLcheck == 1) { setTimeout(aktipesan1, 400); }
|
| 99 |
+
if (opsLcheck == 2) { mulaiketik3(); }
|
| 100 |
+
if (opsLcheck == 3) { mulaiketik4(); }
|
| 101 |
+
if (opsLcheck == 4) { mulaiketik5(); }
|
| 102 |
+
if (opsLcheck == 5) { kethalo2(); }
|
| 103 |
+
otomatis();
|
| 104 |
+
opsL.style.opacity = "0";
|
| 105 |
+
opsLclick = 0;
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
function aktiopsL() {
|
| 110 |
+
opsL.innerHTML = defopsL;
|
| 111 |
+
opsL.style.opacity = ".8";
|
| 112 |
+
opsLclick = 1;
|
| 113 |
+
opsLcheck += 1;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
function gantiopsL() {
|
| 117 |
+
opsL.innerHTML = "[ Tap one of the birthday icons! ]";
|
| 118 |
+
opsL.style.opacity = ".8";
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
function otomatis() {
|
| 122 |
+
kalimat.style = "opacity:0";
|
| 123 |
+
setTimeout(otolanj, 400);
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
function otolanj() {
|
| 127 |
+
kalimat.style = "opacity:1";
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
function aktipesan1() {
|
| 131 |
+
kalimat.innerHTML = pesan1.innerHTML;
|
| 132 |
+
kolombaru.style = "position:relative;opacity:1;transform:scale(1);";
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
vketik2 = pesan2.innerHTML;
|
| 136 |
+
vketik3 = pesan3.innerHTML;
|
| 137 |
+
function aktipesan2(){
|
| 138 |
+
wallpaper.style = "transform: scale(1.5);";
|
| 139 |
+
kolombaru.style = "";
|
| 140 |
+
kalimat.innerHTML = "";
|
| 141 |
+
new TypeIt("#kalimat", {
|
| 142 |
+
strings: ["" + vketik2, "" + vketik3],
|
| 143 |
+
startDelay: 20,
|
| 144 |
+
speed: 30,
|
| 145 |
+
cursor: true,
|
| 146 |
+
deleteSpeed: 30,
|
| 147 |
+
breakLines: false,
|
| 148 |
+
waitUntilVisible: true,
|
| 149 |
+
lifelike: true,
|
| 150 |
+
afterComplete: function(){
|
| 151 |
+
kalimat.innerHTML = vketik3;
|
| 152 |
+
setTimeout(aktipesan4, 700);
|
| 153 |
+
},
|
| 154 |
+
}).go();
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
vketik4 = pesan4.innerHTML;
|
| 158 |
+
pesan4.innerHTML = "";
|
| 159 |
+
function aktipesan4(){
|
| 160 |
+
wallpaper.style = "transform: scale(1);";
|
| 161 |
+
fthilang();
|
| 162 |
+
ftganti = 2;
|
| 163 |
+
setTimeout(ftmuncul, 300);
|
| 164 |
+
new TypeIt("#pesan4", {
|
| 165 |
+
strings: ["" + vketik4],
|
| 166 |
+
startDelay: 1,
|
| 167 |
+
speed: 52,
|
| 168 |
+
cursor: true,
|
| 169 |
+
waitUntilVisible: true,
|
| 170 |
+
lifelike: true,
|
| 171 |
+
afterComplete: function(){
|
| 172 |
+
pesan4.innerHTML = vketik4;
|
| 173 |
+
setTimeout(aktipesan5, 700);
|
| 174 |
+
},
|
| 175 |
+
}).go();
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
vketik5 = pesan5.innerHTML;
|
| 179 |
+
pesan5.innerHTML = "";
|
| 180 |
+
function aktipesan5(){
|
| 181 |
+
wallpaper.style = "transform: scale(1.5);";
|
| 182 |
+
fthilang();
|
| 183 |
+
ftganti = 3;
|
| 184 |
+
setTimeout(ftmuncul, 300);
|
| 185 |
+
new TypeIt("#pesan5", {
|
| 186 |
+
strings: ["" + vketik5],
|
| 187 |
+
startDelay: 1,
|
| 188 |
+
speed: 52,
|
| 189 |
+
cursor: true,
|
| 190 |
+
waitUntilVisible: true,
|
| 191 |
+
lifelike: true,
|
| 192 |
+
afterComplete: function(){
|
| 193 |
+
pesan5.innerHTML = vketik5 + " 😊";
|
| 194 |
+
setTimeout(aktipesan6, 700);
|
| 195 |
+
},
|
| 196 |
+
}).go();
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
vketik6 = pesan6.innerHTML;
|
| 200 |
+
pesan6.innerHTML = "";
|
| 201 |
+
function aktipesan6(){
|
| 202 |
+
wallpaper.style = "transform: scale(1);";
|
| 203 |
+
fthilang();
|
| 204 |
+
ftganti = 4;
|
| 205 |
+
setTimeout(ftmuncul, 300);
|
| 206 |
+
new TypeIt("#pesan6", {
|
| 207 |
+
strings: ["" + vketik6],
|
| 208 |
+
startDelay: 1,
|
| 209 |
+
speed: 52,
|
| 210 |
+
cursor: true,
|
| 211 |
+
waitUntilVisible: true,
|
| 212 |
+
lifelike: true,
|
| 213 |
+
afterComplete: function(){
|
| 214 |
+
pesan6.innerHTML = vketik6;
|
| 215 |
+
setTimeout(tombol, 400);
|
| 216 |
+
},
|
| 217 |
+
}).go();
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
var slov = 0;
|
| 221 |
+
document.getElementById("lv1").onclick = function() { lv1.style = "opacity:0"; slov += 1; this.onclick = null; checkslov(); }
|
| 222 |
+
document.getElementById("lv2").onclick = function() { lv2.style = "opacity:0"; slov += 1; this.onclick = null; checkslov(); }
|
| 223 |
+
document.getElementById("lv3").onclick = function() { lv3.style = "opacity:0"; slov += 1; this.onclick = null; checkslov(); }
|
| 224 |
+
document.getElementById("lv4").onclick = function() { lv4.style = "opacity:0"; slov += 1; this.onclick = null; checkslov(); }
|
| 225 |
+
|
| 226 |
+
function checkslov() {
|
| 227 |
+
if (slov == 4) {
|
| 228 |
+
kolombaru.style = "position:relative;transform:scale(1)";
|
| 229 |
+
fthilang();
|
| 230 |
+
ftganti = 1;
|
| 231 |
+
setTimeout(ftmuncul, 300);
|
| 232 |
+
otomatis();
|
| 233 |
+
setTimeout(aktipesan2, 400);
|
| 234 |
+
}
|
| 235 |
+
}
|
user_spaces/Ak/helo.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/index.html
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta content="width=device-width, initial-scale=1, user-scalable=1, minimum-scale=1, maximum-scale=5" name="viewport" />
|
| 6 |
+
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
|
| 7 |
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
| 8 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Shippori+Antique:wght@400;700&display=swap" rel="stylesheet" />
|
| 10 |
+
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="stylesheet" />
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.19/dist/sweetalert2.all.min.js"></script>
|
| 12 |
+
<link rel="stylesheet" href="./style.css">
|
| 13 |
+
<script src="https://unpkg.com/typeit@8.7.0/dist/index.umd.js"></script>
|
| 14 |
+
|
| 15 |
+
<!-- Update title and description for a birthday theme -->
|
| 16 |
+
<title>HBD 5.0 | Aoudumber Bade</title>
|
| 17 |
+
<link rel="icon" type="image/x-icon" href="https://www.palingit.com/favicon.ico" />
|
| 18 |
+
<meta name="description" content="A special birthday greeting" />
|
| 19 |
+
</head>
|
| 20 |
+
|
| 21 |
+
<body style="background: linear-gradient(to bottom, #ffe1e1, #ff217de0), url(./r.jpg);
|
| 22 |
+
height: 100vh;">
|
| 23 |
+
<audio src="./y2mate (mp3cut.net).mp3" id="linkmp3" class="sembunyi"></audio>
|
| 24 |
+
|
| 25 |
+
<div id="bodyblur">
|
| 26 |
+
<!-- Wallpaper -->
|
| 27 |
+
<img src="" id="wallpaper" />
|
| 28 |
+
</div>
|
| 29 |
+
|
| 30 |
+
<div id="Content">
|
| 31 |
+
<div id="kadoIn">
|
| 32 |
+
<!-- Gift Button -->
|
| 33 |
+
<img src="./Valentine-Surprise.png" alt="Open Gift Button" />
|
| 34 |
+
</div>
|
| 35 |
+
<p id="ket">
|
| 36 |
+
<span style="font-style: italic; color: rgb(0,0,0); margin-top: 3px !important; ">Open the gift, cutie:3</span>
|
| 37 |
+
</p>
|
| 38 |
+
|
| 39 |
+
<div class="kumpulanstiker" style="margin-top: 95px;">
|
| 40 |
+
<!-- Stickers for Content -->
|
| 41 |
+
<img src="https://media.tenor.com/4Ijycn6xFzUAAAAj/mochi-blue-roses.gif" id="fotostiker" />
|
| 42 |
+
<img src="https://feeldreams.github.io/bunga.gif" id="fotostiker1" />
|
| 43 |
+
<img src="https://feeldreams.github.io/pandacoklat.gif" id="fotostiker2" />
|
| 44 |
+
<img src="https://media.tenor.com/snFoLI-S9CQAAAAj/milk-and-mocha.gif" id="fotostiker3" />
|
| 45 |
+
<img src="https://feeldreams.github.io/emawh.gif" id="fotostiker4" />
|
| 46 |
+
<img src="https://feeldreams.github.io/pandacoklat.gif" id="fotostiker5" />
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
<p id="halo" class="halo"></p>
|
| 50 |
+
|
| 51 |
+
<div>
|
| 52 |
+
<blockquote id="bq" data-text="💞">
|
| 53 |
+
<!-- Update the messages for a birthday greeting -->
|
| 54 |
+
<p id="kalimat">
|
| 55 |
+
Happy Birthday, gorgeous! Today is all about celebrating you.
|
| 56 |
+
</p>
|
| 57 |
+
|
| 58 |
+
<!-- Message -->
|
| 59 |
+
<p id="pesan1">Tap here for your birthday surprise! 🎉</p>
|
| 60 |
+
<div id="kolombaru">
|
| 61 |
+
<li id="lv1">🎂</li>
|
| 62 |
+
<li id="lv2">🎁</li>
|
| 63 |
+
<li id="lv3">🥳</li>
|
| 64 |
+
<li id="lv4">💖</li>
|
| 65 |
+
</div>
|
| 66 |
+
|
| 67 |
+
<p id="pesan2">You shine brighter every year! ✨</p>
|
| 68 |
+
<p id="pesan3">Do you know what makes today extra special?</p>
|
| 69 |
+
<p id="pesan4" class="sty2">It’s your birthday!</p>
|
| 70 |
+
<p id="pesan5" class="sty2">
|
| 71 |
+
Today, I wish you a year filled with laughter, love, and unforgettable moments.
|
| 72 |
+
</p>
|
| 73 |
+
<p id="pesan6" class="sty2">
|
| 74 |
+
Remember, you deserve every happiness in the world. Celebrate big and enjoy every moment!
|
| 75 |
+
</p>
|
| 76 |
+
|
| 77 |
+
<!-- Next Button -->
|
| 78 |
+
<p id="opsL">Tap to continue the celebration!</p>
|
| 79 |
+
</blockquote>
|
| 80 |
+
</div>
|
| 81 |
+
|
| 82 |
+
<!-- Send Message Button -->
|
| 83 |
+
<div id="Tombol"><a id="By">💌 Next</a></div>
|
| 84 |
+
|
| 85 |
+
<!-- Rejected Message (if needed) -->
|
| 86 |
+
<div id="pesanditolak">
|
| 87 |
+
<img id="stikerditolak" src="https://feeldreams.github.io/weee.gif" />
|
| 88 |
+
<p id="kataditolak">
|
| 89 |
+
Oops! You can’t skip this birthday magic.
|
| 90 |
+
</p>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
|
| 94 |
+
<script>
|
| 95 |
+
// Main script remains similar; further changes are made in a.js if needed.
|
| 96 |
+
const body = document.querySelector("body");
|
| 97 |
+
const swalst = Swal.mixin({
|
| 98 |
+
timer: 2300,
|
| 99 |
+
allowOutsideClick: false,
|
| 100 |
+
showConfirmButton: false,
|
| 101 |
+
timerProgressBar: true,
|
| 102 |
+
imageHeight: 90,
|
| 103 |
+
});
|
| 104 |
+
audio = new Audio("" + linkmp3.src);
|
| 105 |
+
ftganti = 0;
|
| 106 |
+
fungsi = 0;
|
| 107 |
+
fungsiAwal = 0;
|
| 108 |
+
deffotostiker = fotostiker.src;
|
| 109 |
+
Content.style = "opacity:1;margin-top:16vh";
|
| 110 |
+
const swals = Swal.mixin({
|
| 111 |
+
allowOutsideClick: false,
|
| 112 |
+
cancelButtonColor: "#FF0040",
|
| 113 |
+
imageHeight: 80,
|
| 114 |
+
});
|
| 115 |
+
|
| 116 |
+
document.getElementById("kadoIn").onclick = function () {
|
| 117 |
+
if (fungsiAwal == 0) {
|
| 118 |
+
audio.play();
|
| 119 |
+
fungsiAwal = 1;
|
| 120 |
+
kadoIn.style =
|
| 121 |
+
"transition:all .8s ease;transform:scale(10);opacity:0";
|
| 122 |
+
wallpaper.style = "transform: scale(1.5);";
|
| 123 |
+
ket.style = "display:none";
|
| 124 |
+
setTimeout(initengahan, 300);
|
| 125 |
+
setTimeout(inipesan, 500);
|
| 126 |
+
}
|
| 127 |
+
};
|
| 128 |
+
|
| 129 |
+
async function inipesan() {
|
| 130 |
+
var { value: nama } = await swals.fire({
|
| 131 |
+
title: "What's your beautiful name?",
|
| 132 |
+
input: "text",
|
| 133 |
+
});
|
| 134 |
+
if (nama && nama.length < 11) {
|
| 135 |
+
window.nama = nama;
|
| 136 |
+
vketikhalo = "Happy Birthday, " + nama + "!";
|
| 137 |
+
mulainama();
|
| 138 |
+
} else {
|
| 139 |
+
await Swal.fire({
|
| 140 |
+
title: "Your name is lovely, but it seems a bit long.",
|
| 141 |
+
text: "Please enter a shorter name.",
|
| 142 |
+
icon: "warning",
|
| 143 |
+
});
|
| 144 |
+
inipesan();
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
var tanya = "How about we celebrate your birthday in style?";
|
| 149 |
+
var opstanya = "Your choice is:";
|
| 150 |
+
var tompositif = "Absolutely, let’s celebrate! 🎉";
|
| 151 |
+
var tomnegatif = "Maybe another time";
|
| 152 |
+
|
| 153 |
+
async function pertanyaan() {
|
| 154 |
+
var { isConfirmed: prtanya } = await swals.fire({
|
| 155 |
+
title: nama + ", " + tanya,
|
| 156 |
+
text: "" + opstanya,
|
| 157 |
+
imageUrl: "" + fotostiker5.src,
|
| 158 |
+
showCancelButton: true,
|
| 159 |
+
confirmButtonText: "" + tompositif,
|
| 160 |
+
cancelButtonText: "" + tomnegatif,
|
| 161 |
+
});
|
| 162 |
+
if (prtanya) {
|
| 163 |
+
pesanwhatsapp = "Yes " + nama + ", let the birthday magic begin!";
|
| 164 |
+
menuju();
|
| 165 |
+
} else {
|
| 166 |
+
pesanwhatsapp = nama + ", don't miss out on the birthday fun!";
|
| 167 |
+
await swalst.fire({
|
| 168 |
+
title: "" + kataditolak.innerHTML,
|
| 169 |
+
timer: 2000,
|
| 170 |
+
imageUrl: "" + stikerditolak.src,
|
| 171 |
+
});
|
| 172 |
+
menuju();
|
| 173 |
+
}
|
| 174 |
+
}
|
| 175 |
+
</script>
|
| 176 |
+
<script src="a.js"></script>
|
| 177 |
+
</body>
|
| 178 |
+
|
| 179 |
+
</html>
|
user_spaces/Ak/love/images/r1.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c01f768faf38ea07e62c544aee31e560bb57eb40039afdd0e4d8b36237085a4
|
| 3 |
+
size 145621
|
user_spaces/Ak/love/images/r10.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r2.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r3.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r4.jpg
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r4.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r5.jpg
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r6.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r7.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r8.png
ADDED
|
Git LFS Details
|
user_spaces/Ak/love/images/r9.png
ADDED
|
Git LFS Details
|