MiniApp fixes and updates

This commit is contained in:
Degradin 2025-01-20 23:57:00 +03:00
parent 0629af8656
commit 736ee3d36e
4 changed files with 271 additions and 4 deletions

1
.gitignore vendored
View File

@ -128,3 +128,4 @@ dist
json/logs.json json/logs.json
json/logs.json json/logs.json
json/logs.json json/logs.json
json/logs.json

View File

@ -55694,3 +55694,203 @@
} }
} }
} }
{
"timestamp": "2025-01-20T20:54:01.256Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 90
}
}
{
"timestamp": "2025-01-20T20:54:06.410Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 80
}
}
{
"timestamp": "2025-01-20T20:54:11.024Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 70
}
}
{
"timestamp": "2025-01-20T20:54:14.951Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 60
}
}
{
"timestamp": "2025-01-20T20:54:19.593Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 50
}
}
{
"timestamp": "2025-01-20T20:54:33.362Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 40
}
}
{
"timestamp": "2025-01-20T20:54:38.736Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 30
}
}
{
"timestamp": "2025-01-20T20:54:42.391Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 23
}
}
{
"timestamp": "2025-01-20T20:54:43.272Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Сумка)",
"extraData": {
"baseChance": 20,
"chance": 38,
"randomRoll": 9,
"moneyIn": 23473
}
}
{
"timestamp": "2025-01-20T20:54:46.515Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 13
}
}
{
"timestamp": "2025-01-20T20:54:50.565Z",
"user": {
"id": 805814188,
"username": "Mana_Terroristo",
"first_name": "Егор",
"last_name": ""
},
"chat": {
"id": 805814188,
"type": "private"
},
"action": "Карманная кража (Start)",
"extraData": {
"cdBefore": 1697887440,
"stamina": 3
}
}

View File

@ -235,9 +235,6 @@
} }
} }
//Делаем плавную загрузку страницы
document.body.style.opacity = 1;
// Обновляем сайт каждые 5 секунд для получения актуальных данных // Обновляем сайт каждые 5 секунд для получения актуальных данных
setInterval(() => { setInterval(() => {
window.location.reload(); window.location.reload();

View File

@ -188,4 +188,73 @@
height: 10px; height: 10px;
border-radius: 5px; border-radius: 5px;
transition: width 0.5s ease; transition: width 0.5s ease;
} }
/* Плавная загрузка страницы */
.fade-in {
animation: fadeIn 0.5s;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Анимация прогресс-бара */
.progress-bar-inner {
animation: progress 1s;
}
@keyframes progress {
from {
width: 0;
}
to {
width: 100%;
}
}
/* Анимация кругового прогресса */
.progress-ring {
animation: progress-ring 1s;
}
@keyframes progress-ring {
from {
stroke-dashoffset: 251;
}
to {
stroke-dashoffset: calc(251 - (251 * var(--percent) / 100));
}
}
/* Анимация прогресса */
.progress-hp {
animation: progress-hp 1s;
}
@keyframes progress-hp {
from {
width: 0;
}
to {
width: var(--percent-hp);
}
}
.progress-stamina {
animation: progress-stamina 1s;
}
@keyframes progress-stamina {
from {
width: 0;
}
to {
width: var(--percent-stamina);
}
}