The first second was a blank page, then a splash with the selected companion, then the home screen. Now index.html carries the splash (icon from the Android launcher, name, white to match the native window background) and SplashScreen draws the same markup, so the hand-over from HTML to React shows no change. Not run on a device. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
14 lines
618 B
TypeScript
14 lines
618 B
TypeScript
/**
|
|
* اسپلشِ ثابت: آیکونِ اپ و نام، بیانیمیشن و بیهمراه (همراهِ انتخابی هنوز معلوم نیست و تکرارش
|
|
* بد است). عینِ `.boot-splash` در index.html است تا تحویل از HTML به React دیده نشود؛ استایلش
|
|
* هم آنجا است چون باید پیش از رسیدنِ CSS و JS کار کند.
|
|
*/
|
|
export function SplashScreen() {
|
|
return (
|
|
<div className="boot-splash" dir="rtl">
|
|
<img src="/app-icon.png" alt="" width={144} height={144} />
|
|
<span>تدریسینو</span>
|
|
</div>
|
|
);
|
|
}
|