diff --git a/.gitignore b/.gitignore index c7de780..47009d1 100644 --- a/.gitignore +++ b/.gitignore @@ -128,3 +128,4 @@ dist json/logs.json json/logs.json json/logs.json +json/logs.json diff --git a/json/logs.json b/json/logs.json index 4c24fa4..613f3be 100644 --- a/json/logs.json +++ b/json/logs.json @@ -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 + } +} diff --git a/public/index.html b/public/index.html index 7c820bb..587e3d5 100644 --- a/public/index.html +++ b/public/index.html @@ -235,9 +235,6 @@ } } - //Делаем плавную загрузку страницы - document.body.style.opacity = 1; - // Обновляем сайт каждые 5 секунд для получения актуальных данных setInterval(() => { window.location.reload(); diff --git a/public/styles.css b/public/styles.css index 43dca8c..d9b474d 100644 --- a/public/styles.css +++ b/public/styles.css @@ -188,4 +188,73 @@ height: 10px; border-radius: 5px; transition: width 0.5s ease; - } \ No newline at end of file + } + + /* Плавная загрузка страницы */ + .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); + } + }