From 22fc870176521f7ecaf9246c6ea56c7e58995f6f Mon Sep 17 00:00:00 2001 From: AliReza Date: Thu, 8 Oct 2026 16:38:28 +0330 Subject: [PATCH] Smoother tab switch (no dark flash), full welcome sentence, chapter banner sticky and chip centered, floating math glyphs in headers, quiz reaction emojis Co-Authored-By: Claude Sonnet 5.5 --- src/app/MainApp.tsx | 13 ++++++++----- src/components/ui.tsx | 4 ++++ src/screens/HomeScreen.tsx | 6 +++--- src/screens/QuizScreen.tsx | 21 ++++++++++++++++++++- src/styles/index.css | 10 ++++++++++ 5 files changed, 45 insertions(+), 9 deletions(-) diff --git a/src/app/MainApp.tsx b/src/app/MainApp.tsx index cbd54ab..a0f1c3b 100644 --- a/src/app/MainApp.tsx +++ b/src/app/MainApp.tsx @@ -74,15 +74,18 @@ function Screens({ onSignedOut }: Pick) { return ( <> -
+
}> diff --git a/src/components/ui.tsx b/src/components/ui.tsx index c09c341..06d850d 100644 --- a/src/components/ui.tsx +++ b/src/components/ui.tsx @@ -37,6 +37,10 @@ export function ScreenHeader({ >
+ {/* نمادهای ریاضی که آرام شناورند؛ فقط transform/opacity و بی‌تصویر، پس ارزان‌اند. */} + π + ∑ + √
{back && (typeof back === 'function' || nav.canGoBack) && ( diff --git a/src/screens/HomeScreen.tsx b/src/screens/HomeScreen.tsx index c30cb78..d82d1a8 100644 --- a/src/screens/HomeScreen.tsx +++ b/src/screens/HomeScreen.tsx @@ -39,7 +39,7 @@ export function HomeScreen() { : !home.units.length ? 'هنوز درسی برای این پایه ثبت نشده.' : cont - ? <>سلام {name}! 👋 نوبتِ جزیره‌ی «»ـه. دکمه‌ی شروع رو بزن. + ? <>سلام {name}! 👋 وقتشه جزیره‌ی «» رو شروع کنی؛ دکمه‌ی شروع رو بزن. : <>آفرین {name}! همه‌ی جزیره‌های این پایه رو تموم کردی 🎉; const stats = [ @@ -105,13 +105,13 @@ export function HomeScreen() {