Polish Novya UI with brand colors, first-load skeletons, and session transition overlay.

Keep chat pinned to the latest message while AI thinks or streams, and align buttons/inputs with the logo teal/blue focus treatment.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ar.badiei
2026-09-09 01:31:24 +03:30
co-authored by Cursor
parent 4ac0c16665
commit 8016b8f45e
56 changed files with 1874 additions and 529 deletions
+2 -5
View File
@@ -1,6 +1,7 @@
import { Navigate } from 'react-router-dom';
import { useAuth } from '@/hooks/useAuth';
import { useLearningJourney } from '@/hooks/useLearningJourney';
import { PageSkeleton } from '@/components/skeletons';
/**
* Entry router at "/".
@@ -11,11 +12,7 @@ export function HomeRedirect() {
const { progress, loading } = useLearningJourney(effectiveUserId ?? undefined);
if (!guestSessionHydrated || (effectiveUserId && loading)) {
return (
<div className="flex min-h-[50vh] items-center justify-center">
<div className="border-primary h-12 w-12 animate-spin rounded-full border-b-2" />
</div>
);
return <PageSkeleton />;
}
if (!effectiveUserId) {