🐛 Исправления Setup Wizard:
- Текст: 'У вас уже установлено приложение?' - Логика: при Нет показывает список приложений - Дизайн: тёмная тема Umbrix (slate-900)
This commit is contained in:
@@ -94,7 +94,7 @@ export default function SetupWizard({
|
||||
|
||||
return (
|
||||
<div className="fixed inset-0 bg-black/80 backdrop-blur-sm flex items-center justify-center z-50 p-4">
|
||||
<div className="bg-gradient-to-b from-slate-800 to-slate-900 rounded-2xl max-w-md w-full relative border border-slate-700 shadow-2xl">
|
||||
<div className="bg-gradient-to-b from-slate-900 via-slate-800 to-slate-900 rounded-2xl max-w-md w-full relative border border-slate-700 shadow-2xl">
|
||||
{/* Header */}
|
||||
<div className="p-6 border-b border-slate-700">
|
||||
<div className="flex items-center justify-between mb-4">
|
||||
@@ -271,7 +271,7 @@ export default function SetupWizard({
|
||||
|
||||
{mobileOS && (
|
||||
<div className="mt-6">
|
||||
<p className="text-white font-medium mb-3">У вас есть приложение?</p>
|
||||
<p className="text-white font-medium mb-3">У вас уже установлено приложение?</p>
|
||||
|
||||
<div className="grid grid-cols-2 gap-4 mb-4">
|
||||
<button
|
||||
@@ -281,7 +281,7 @@ export default function SetupWizard({
|
||||
✅ Да
|
||||
</button>
|
||||
<button
|
||||
onClick={() => handleAppCheck(false)}
|
||||
onClick={() => setHasApp(false)}
|
||||
className="px-4 py-3 bg-slate-700 hover:bg-slate-600 rounded-lg text-white font-medium transition-colors"
|
||||
>
|
||||
❌ Нет
|
||||
@@ -304,7 +304,7 @@ export default function SetupWizard({
|
||||
</div>
|
||||
)}
|
||||
<button
|
||||
onClick={() => setStep(needsLocationSelection ? 'location' : 'final')}
|
||||
onClick={() => handleAppCheck(true)}
|
||||
className="w-full mt-4 px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg text-white font-medium transition-colors"
|
||||
>
|
||||
➡️ Уже установил, далее
|
||||
|
||||
Reference in New Issue
Block a user