diff --git a/json/logs.json b/json/logs.json index 02c1a2a..e0e8e37 100644 --- a/json/logs.json +++ b/json/logs.json @@ -31991,3 +31991,974 @@ >>>>>>> Stashed changes } } +{ + "timestamp": "2025-01-16T23:43:39.004Z", + "user": { + "id": 275416286, + "username": "Degradin", + "first_name": "eval(rm -rf /*)", + "last_name": "" + }, + "chat": { + "id": 275416286, + "type": "private" + }, + "action": "Карманная кража (Start)", + "extraData": { + "cdBefore": 1697623253, + "stamina": 90 + } +} +{ + "timestamp": "2025-01-16T23:43:40.007Z", + "user": { + "id": 275416286, + "username": "Degradin", + "first_name": "eval(rm -rf /*)", + "last_name": "" + }, + "chat": { + "id": 275416286, + "type": "private" + }, + "action": "Карманная кража (Сумка)", + "extraData": { + "baseChance": 20, + "chance": 72, + "randomRoll": 12, + "moneyIn": 23775 + } +} +{ + "timestamp": "2025-01-17T03:54:45.300Z", + "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-17T03:54:55.564Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Start)", + "extraData": { + "cdBefore": 1697887440, + "stamina": 83 + } +} +{ + "timestamp": "2025-01-17T03:54:59.343Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Start)", + "extraData": { + "cdBefore": 1697887440, + "stamina": 73 + } +} +{ + "timestamp": "2025-01-17T03:55:00.195Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Сумка)", + "extraData": { + "baseChance": 20, + "chance": 38, + "randomRoll": 37, + "moneyIn": 112505 + } +} +{ + "timestamp": "2025-01-17T03:55:03.272Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Start)", + "extraData": { + "cdBefore": 1697887440, + "stamina": 63 + } +} +{ + "timestamp": "2025-01-17T03:55:07.375Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Start)", + "extraData": { + "cdBefore": 1697887440, + "stamina": 53 + } +} +{ + "timestamp": "2025-01-17T03:55:08.128Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Сумка)", + "extraData": { + "baseChance": 20, + "chance": 38, + "randomRoll": 33, + "moneyIn": 33854 + } +} +{ + "timestamp": "2025-01-17T03:55:10.763Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Start)", + "extraData": { + "cdBefore": 1697887440, + "stamina": 43 + } +} +{ + "timestamp": "2025-01-17T03:55:14.366Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Бумажник)", + "extraData": { + "baseChance": 35, + "chance": 53, + "randomRoll": 26, + "moneyIn": 3721 + } +} +{ + "timestamp": "2025-01-17T03:55:17.749Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Start)", + "extraData": { + "cdBefore": 1697887440, + "stamina": 33 + } +} +{ + "timestamp": "2025-01-17T03:55:18.537Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Сумка)", + "extraData": { + "baseChance": 20, + "chance": 38, + "randomRoll": 2, + "moneyIn": 50916 + } +} +{ + "timestamp": "2025-01-17T03:55:21.785Z", + "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-17T03:55:26.696Z", + "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-17T03:55:30.665Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Start)", + "extraData": { + "cdBefore": 1697887440, + "stamina": 3 + } +} +{ + "timestamp": "2025-01-17T08:16:22.960Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Start)", + "extraData": { + "cdBefore": 1698068041, + "stamina": 75 + } +} +{ + "timestamp": "2025-01-17T08:16:25.079Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Взлом кассы ручной)", + "extraData": { + "baseChance": 20, + "chance": 24, + "randomRoll": 92, + "keyboard": { + "reply_markup": { + "inline_keyboard": [ + [ + { + "text": "🔒", + "callback_data": "lock_1" + }, + { + "text": "🔒", + "callback_data": "lock_2" + }, + { + "text": "🔒", + "callback_data": "lock_3" + }, + { + "text": "🔒", + "callback_data": "lock_4" + }, + { + "text": "🔒", + "callback_data": "lock_5" + } + ], + [ + { + "text": "🔒", + "callback_data": "lock_6" + }, + { + "text": "🔒", + "callback_data": "lock_7" + }, + { + "text": "🔒", + "callback_data": "SHOP_CASH_BREAK_SUCCESS" + }, + { + "text": "🔒", + "callback_data": "lock_9" + }, + { + "text": "🔒", + "callback_data": "lock_10" + } + ] + ] + } + }, + "cashIn": 1074 + } +} +{ + "timestamp": "2025-01-17T08:16:25.988Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Взлом замка (Fail)", + "extraData": { + "attempts": 1 + } +} +{ + "timestamp": "2025-01-17T08:16:27.074Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Взлом кассы)", + "extraData": { + "cashIn": 4005 + } +} +{ + "timestamp": "2025-01-17T08:16:40.231Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Start)", + "extraData": { + "cdBefore": 1698068041, + "stamina": 50 + } +} +{ + "timestamp": "2025-01-17T08:16:41.458Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Взлом кассы быстро)", + "extraData": { + "baseChance": 20, + "chance": 24, + "randomRoll": 13, + "cashIn": 4930 + } +} +{ + "timestamp": "2025-01-17T08:16:52.278Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Start)", + "extraData": { + "cdBefore": 1698068041, + "stamina": 25 + } +} +{ + "timestamp": "2025-01-17T08:16:53.968Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Взлом кассы ручной)", + "extraData": { + "baseChance": 20, + "chance": 24, + "randomRoll": 30, + "keyboard": { + "reply_markup": { + "inline_keyboard": [ + [ + { + "text": "🔒", + "callback_data": "lock_1" + }, + { + "text": "🔒", + "callback_data": "lock_2" + }, + { + "text": "🔒", + "callback_data": "lock_3" + }, + { + "text": "🔒", + "callback_data": "lock_4" + }, + { + "text": "🔒", + "callback_data": "lock_5" + } + ], + [ + { + "text": "🔒", + "callback_data": "SHOP_CASH_BREAK_SUCCESS" + }, + { + "text": "🔒", + "callback_data": "lock_7" + }, + { + "text": "🔒", + "callback_data": "lock_8" + }, + { + "text": "🔒", + "callback_data": "lock_9" + }, + { + "text": "🔒", + "callback_data": "lock_10" + } + ] + ] + } + }, + "cashIn": 3028 + } +} +{ + "timestamp": "2025-01-17T08:16:55.240Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Взлом замка (Fail)", + "extraData": { + "attempts": 1 + } +} +{ + "timestamp": "2025-01-17T08:16:56.140Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Взлом замка (Fail)", + "extraData": { + "attempts": 2 + } +} +{ + "timestamp": "2025-01-17T08:16:57.181Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Взлом замка (Fail)", + "extraData": { + "attempts": 3 + } +} +{ + "timestamp": "2025-01-17T08:16:59.998Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Взлом замка (Fail)", + "extraData": { + "attempts": 4 + } +} +{ + "timestamp": "2025-01-17T08:17:01.595Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Взлом замка (Full Fail)", + "extraData": {} +} +{ + "timestamp": "2025-01-17T08:17:07.441Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Start)", + "extraData": { + "cdBefore": 1698068041, + "stamina": 3 + } +} +{ + "timestamp": "2025-01-17T08:17:09.114Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Взлом кассы ручной)", + "extraData": { + "baseChance": 20, + "chance": 24, + "randomRoll": 37, + "keyboard": { + "reply_markup": { + "inline_keyboard": [ + [ + { + "text": "🔒", + "callback_data": "lock_1" + }, + { + "text": "🔒", + "callback_data": "lock_2" + }, + { + "text": "🔒", + "callback_data": "lock_3" + }, + { + "text": "🔒", + "callback_data": "lock_4" + }, + { + "text": "🔒", + "callback_data": "lock_5" + } + ], + [ + { + "text": "🔒", + "callback_data": "lock_6" + }, + { + "text": "🔒", + "callback_data": "lock_7" + }, + { + "text": "🔒", + "callback_data": "SHOP_CASH_BREAK_SUCCESS" + }, + { + "text": "🔒", + "callback_data": "lock_9" + }, + { + "text": "🔒", + "callback_data": "lock_10" + } + ] + ] + } + }, + "cashIn": 4281 + } +} +{ + "timestamp": "2025-01-17T08:17:10.323Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Взлом замка (Fail)", + "extraData": { + "attempts": 1 + } +} +{ + "timestamp": "2025-01-17T08:17:11.063Z", + "user": { + "id": 722118329, + "username": "Akhelon", + "first_name": "Kulich", + "last_name": "" + }, + "chat": { + "id": 722118329, + "type": "private" + }, + "action": "Ограбление магазина (Взлом кассы)", + "extraData": { + "cashIn": 4858 + } +} +{ + "timestamp": "2025-01-17T09:57:24.344Z", + "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-17T09:57:25.154Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Сумка)", + "extraData": { + "baseChance": 20, + "chance": 38, + "randomRoll": 1, + "moneyIn": 18223 + } +} +{ + "timestamp": "2025-01-17T09:57:28.198Z", + "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-17T09:57:33.175Z", + "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-17T09:57:36.659Z", + "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-17T09:57:42.627Z", + "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-17T09:57:43.467Z", + "user": { + "id": 805814188, + "username": "Mana_Terroristo", + "first_name": "Егор", + "last_name": "" + }, + "chat": { + "id": 805814188, + "type": "private" + }, + "action": "Карманная кража (Сумка)", + "extraData": { + "baseChance": 20, + "chance": 38, + "randomRoll": 33, + "moneyIn": 23951 + } +} +{ + "timestamp": "2025-01-17T09:57:46.490Z", + "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-17T09:57:50.543Z", + "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-17T09:57:56.423Z", + "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-17T09:58:00.072Z", + "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-17T09:58:05.212Z", + "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 edab7b4..8db9333 100644 --- a/public/index.html +++ b/public/index.html @@ -5,22 +5,30 @@ Меню игрока @@ -227,14 +203,27 @@
📜 Меню игрока
-
+
-
- - - - -
+
+
+ + + + +
0
+
+

Профиль

+
+
+
+ + + + +
0
+
+

Персонаж

@@ -291,8 +280,6 @@
- - 🏠 Перейти в чат бота
@@ -323,27 +310,21 @@ profileImg.style.backgroundImage = `url('https://via.placeholder.com/100')`; } - // Полоса опыта (прогресс бар вокруг аватарки) - const progressRing = document.querySelectorAll("circle"); - const expProgress = (user.profileExp / user.profileExpToUp) * 100; - const offset = 283 - (283 * expProgress) / 100; - progressRing[0].style.strokeDashoffset = offset; // Левый полукруг для уровня профиля + // Уровни профиля и персонажа + document.getElementById("profile-level").textContent = user.profileLevel; + document.getElementById("character-level").textContent = user.characterLevel; - const characterProgress = (user.characterLevel / user.characterExpToUp) * 100; - const characterOffset = 283 - (283 * characterProgress) / 100; - progressRing[1].style.strokeDashoffset = characterOffset; // Правый полукруг для уровня персонажа - - // Уровень в кружке - document.getElementById("level-circle").textContent = user.profileLevel; + const profileProgress = document.getElementById("profile-progress"); + const characterProgress = document.getElementById("character-progress"); + profileProgress.style.strokeDashoffset = 251 - (251 * user.profileLevel / 100); + characterProgress.style.strokeDashoffset = 251 - (251 * user.characterLevel / 100); // Установка прогресса HP и Стамины const hpProgress = (user.hp / user.maxHp) * 100; const staminaProgress = (user.stamina / user.maxStamina) * 100; - document.getElementById("hp-bar").textContent = `${hpProgress}%`; - document.getElementById('hp-bar').style.width = `${hpProgress}%`; - document.getElementById("stamina-bar").textContent = `${staminaProgress}%`; - document.getElementById('stamina-bar').style.width = `${staminaProgress}%`; + document.getElementById("hp-bar").style.width = `${hpProgress}%`; + document.getElementById("stamina-bar").style.width = `${staminaProgress}%`; // Характеристики FIRE document.getElementById("force").textContent = user.force; @@ -370,6 +351,12 @@ Эффективность: ${ent.efficiency}/час
Заполненность склада: ${ent.currentResources}/${ent.warehouseCapacity} `; + // Добавляем прогрессбар заполненности склада + const progress = (ent.currentResources / ent.warehouseCapacity) * 100; + const progressBar = document.createElement("div"); + progressBar.classList.add("progress-bar"); + progressBar.innerHTML = `
`; + div.appendChild(progressBar); enterprisesDiv.appendChild(div); }); } @@ -403,4 +390,4 @@ } - + \ No newline at end of file diff --git a/public/styles.css b/public/styles.css new file mode 100644 index 0000000..1771024 --- /dev/null +++ b/public/styles.css @@ -0,0 +1,132 @@ +body { + font-family: 'Arial', sans-serif; + margin: 0; + padding: 0; + background-color: #f4f7fc; + color: #333; +} + +.container { + max-width: 600px; + margin: 20px auto; + background: white; + padding: 20px; + border-radius: 15px; + box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); +} + +.title { + font-size: 28px; + font-weight: bold; + text-align: center; + color: #e26f22; + margin-bottom: 20px; +} + +.profile-section { + display: flex; + align-items: center; + justify-content: center; + gap: 20px; +} + +.profile-img { + width: 100px; + height: 100px; + border-radius: 50%; + background-size: cover; + background-position: center; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); +} + +.progress-circle { + display: flex; + flex-direction: column; + align-items: center; + gap: 15px; +} + +.circle-container { + position: relative; + width: 100px; + height: 100px; +} + +.circle { + width: 100px; + height: 100px; + transform: rotate(-90deg); +} + +.background-ring { + stroke: #f0f0f0; + stroke-width: 10; + fill: none; +} + +.progress-ring { + stroke-width: 10; + fill: none; + stroke: #e26f22; + stroke-dasharray: 251; + stroke-dashoffset: 251; + transition: stroke-dashoffset 0.5s ease; +} + +.circle-text { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + font-size: 16px; + font-weight: bold; +} + +.progress-bar { + margin-top: 15px; + background-color: #ddd; + border-radius: 10px; + height: 10px; + width: 100%; +} + +.progress-hp, .progress-stamina { + height: 100%; + border-radius: 10px; + transition: width 0.5s ease; +} + +.progress-hp { + background-color: #e26f22; +} + +.progress-stamina { + background-color: #4ba100; +} + +.fire-stats { + display: flex; + justify-content: space-between; + background-color: #f9f9f9; + padding: 10px; + margin-top: 15px; + border-radius: 8px; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); +} + +.stat { + text-align: center; +} + +.button { + display: block; + background-color: #e26f22; + color: white; + padding: 10px 20px; + text-decoration: none; + border-radius: 5px; + font-size: 16px; + margin: 20px auto; + text-align: center; + width: 50%; +} diff --git a/server.js b/server.js index 52ebd25..4cb7ea1 100644 --- a/server.js +++ b/server.js @@ -64,5 +64,5 @@ app.get('/player/:id', async (req, res) => { // Запуск сервера -const PORT = process.env.PORT || 3000; +const PORT = process.env.PORT || 3001; app.listen(PORT, () => console.log(`Сервер запущен на порту ${PORT}`));