Spaces:
Sleeping
Sleeping
yonatansheiner commited on
Commit ·
68bcd28
1
Parent(s): 5d7e808
Reduce logo gap, smaller reminder, fix iPhone SE cutoff, viewport-fit
Browse files- components/Guest/WelcomeScreen.tsx +7 -7
- index.html +1 -1
components/Guest/WelcomeScreen.tsx
CHANGED
|
@@ -153,7 +153,7 @@ export const WelcomeScreen: React.FC<Props> = ({ onStart }) => {
|
|
| 153 |
};
|
| 154 |
|
| 155 |
return (
|
| 156 |
-
<div className="flex flex-col items-center justify-start min-h-[100dvh] p-6 pt-20 pb-[max(
|
| 157 |
|
| 158 |
{/* כפתור מנהלים */}
|
| 159 |
<button
|
|
@@ -182,7 +182,7 @@ export const WelcomeScreen: React.FC<Props> = ({ onStart }) => {
|
|
| 182 |
</div>
|
| 183 |
|
| 184 |
{/* --- אזור הלוגו --- */}
|
| 185 |
-
<div className="mt-4 mb-
|
| 186 |
<div className="absolute inset-0 bg-brand-orange blur-3xl opacity-20 rounded-full scale-110" />
|
| 187 |
<img
|
| 188 |
src={logoImage}
|
|
@@ -192,7 +192,7 @@ export const WelcomeScreen: React.FC<Props> = ({ onStart }) => {
|
|
| 192 |
</div>
|
| 193 |
|
| 194 |
{/* --- ברוכים הבאים! --- */}
|
| 195 |
-
<div className="mb-
|
| 196 |
<h2 className="text-3xl font-extrabold text-brand-brown/90 tracking-wide drop-shadow-sm">
|
| 197 |
✨ ברוכים הבאים! ✨
|
| 198 |
</h2>
|
|
@@ -250,15 +250,15 @@ export const WelcomeScreen: React.FC<Props> = ({ onStart }) => {
|
|
| 250 |
</div>
|
| 251 |
|
| 252 |
{/* --- תזכורת חשובה --- */}
|
| 253 |
-
<div className="w-full max-w-sm mx-auto mb-4 flex items-center gap-
|
| 254 |
-
<AlertCircle size={
|
| 255 |
-
<p className="text-
|
| 256 |
חשוב להזין פרטים נכונים – כך נדע למי לחלק את המגנט 🧲
|
| 257 |
</p>
|
| 258 |
</div>
|
| 259 |
|
| 260 |
{/* --- הכפתור הראשי (מתחלף אם נגמרה המכסה) --- */}
|
| 261 |
-
<div className="w-full">
|
| 262 |
{isLocked ? (
|
| 263 |
<div className="w-full py-4 text-xl rounded-xl bg-gray-100/50 text-gray-400 font-bold flex items-center justify-center gap-2 border-2 border-gray-200/50 border-dashed backdrop-blur-sm">
|
| 264 |
<Lock className="w-6 h-6" />
|
|
|
|
| 153 |
};
|
| 154 |
|
| 155 |
return (
|
| 156 |
+
<div className="flex flex-col items-center justify-start min-h-[100dvh] p-6 pt-20 pb-[max(20rem,280px)] text-center animate-fade-in relative overflow-y-auto">
|
| 157 |
|
| 158 |
{/* כפתור מנהלים */}
|
| 159 |
<button
|
|
|
|
| 182 |
</div>
|
| 183 |
|
| 184 |
{/* --- אזור הלוגו --- */}
|
| 185 |
+
<div className="mt-4 mb-1 relative flex justify-center items-center">
|
| 186 |
<div className="absolute inset-0 bg-brand-orange blur-3xl opacity-20 rounded-full scale-110" />
|
| 187 |
<img
|
| 188 |
src={logoImage}
|
|
|
|
| 192 |
</div>
|
| 193 |
|
| 194 |
{/* --- ברוכים הבאים! --- */}
|
| 195 |
+
<div className="mb-1 animate-fade-in delay-75">
|
| 196 |
<h2 className="text-3xl font-extrabold text-brand-brown/90 tracking-wide drop-shadow-sm">
|
| 197 |
✨ ברוכים הבאים! ✨
|
| 198 |
</h2>
|
|
|
|
| 250 |
</div>
|
| 251 |
|
| 252 |
{/* --- תזכורת חשובה --- */}
|
| 253 |
+
<div className="w-full max-w-sm mx-auto mb-4 flex items-center gap-1.5 px-2 py-1.5 rounded-lg bg-amber-50/90 border border-amber-200/80 text-amber-800">
|
| 254 |
+
<AlertCircle size={14} className="shrink-0 text-amber-600" />
|
| 255 |
+
<p className="text-xs font-medium text-center leading-tight">
|
| 256 |
חשוב להזין פרטים נכונים – כך נדע למי לחלק את המגנט 🧲
|
| 257 |
</p>
|
| 258 |
</div>
|
| 259 |
|
| 260 |
{/* --- הכפתור הראשי (מתחלף אם נגמרה המכסה) --- */}
|
| 261 |
+
<div className="w-full mb-[env(safe-area-inset-bottom)] pb-8">
|
| 262 |
{isLocked ? (
|
| 263 |
<div className="w-full py-4 text-xl rounded-xl bg-gray-100/50 text-gray-400 font-bold flex items-center justify-center gap-2 border-2 border-gray-200/50 border-dashed backdrop-blur-sm">
|
| 264 |
<Lock className="w-6 h-6" />
|
index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<html lang="he" dir="rtl">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
| 6 |
<title>תא צילום וירטואלי AI</title>
|
| 7 |
<!-- Runtime Environment Variables Injection -->
|
| 8 |
<script>
|
|
|
|
| 2 |
<html lang="he" dir="rtl">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
| 6 |
<title>תא צילום וירטואלי AI</title>
|
| 7 |
<!-- Runtime Environment Variables Injection -->
|
| 8 |
<script>
|