From 1b2c79a8f211ff7f4749d220f79e8e17d13caeb2 Mon Sep 17 00:00:00 2001 From: Play Life Bot Date: Fri, 2 Jan 2026 16:04:22 +0300 Subject: [PATCH] Fix profile layout: align list items and add integration icons --- VERSION | 2 +- play-life-web/package.json | 2 +- play-life-web/src/components/Profile.jsx | 31 ++++++++++++++++++------ 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/VERSION b/VERSION index 437459c..e70b452 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5.0 +2.6.0 diff --git a/play-life-web/package.json b/play-life-web/package.json index 1a28663..7611bad 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "2.0.6", + "version": "2.6.0", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/Profile.jsx b/play-life-web/src/components/Profile.jsx index 09619ee..36c1548 100644 --- a/play-life-web/src/components/Profile.jsx +++ b/play-life-web/src/components/Profile.jsx @@ -8,8 +8,25 @@ function Profile({ onNavigate }) { const [selectedIntegration, setSelectedIntegration] = useState(null) const integrations = [ - { id: 'todoist', name: 'TODOist', icon: '' }, - { id: 'telegram', name: 'Telegram', icon: '' }, + { + id: 'todoist', + name: 'TODOist', + icon: ( + + + + + ), + }, + { + id: 'telegram', + name: 'Telegram', + icon: ( + + + + ), + }, ] const handleLogout = async () => { @@ -57,7 +74,7 @@ function Profile({ onNavigate }) { >
- {integration.icon} + {integration.icon} {integration.name} @@ -89,11 +106,9 @@ function Profile({ onNavigate }) { className="w-full p-4 bg-white rounded-xl shadow-sm hover:shadow-md transition-all text-left border border-gray-100 hover:border-red-200 group" >
-
- - Выйти из аккаунта - -
+ + Выйти из аккаунта +