feat(frontend): increase preloader duration to 3s and bump version to V1.0.2
This commit is contained in:
@@ -14,7 +14,7 @@ export const LoginView: React.FC<LoginViewProps> = ({ onLoginSuccess }) => {
|
||||
const [isInitializing, setIsInitializing] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
const timer = setTimeout(() => setIsInitializing(false), 1000);
|
||||
const timer = setTimeout(() => setIsInitializing(false), 3000);
|
||||
return () => clearTimeout(timer);
|
||||
}, []);
|
||||
|
||||
@@ -42,7 +42,7 @@ export const LoginView: React.FC<LoginViewProps> = ({ onLoginSuccess }) => {
|
||||
<div className="min-h-screen bg-gray-50 flex flex-col items-center justify-center p-4">
|
||||
<Loader2 className="animate-spin text-blue-600 mb-4" size={48} />
|
||||
<h2 className="text-gray-500 font-bold uppercase tracking-widest text-sm">Inicializando Sistema...</h2>
|
||||
<span className="text-gray-400 text-xs mt-2 font-mono font-bold bg-gray-200 px-2 py-1 rounded">V1.0.1</span>
|
||||
<span className="text-gray-400 text-xs mt-2 font-mono font-bold bg-gray-200 px-2 py-1 rounded">V1.0.2</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -117,7 +117,7 @@ export const LoginView: React.FC<LoginViewProps> = ({ onLoginSuccess }) => {
|
||||
<div className="flex items-center gap-1">
|
||||
<ShieldCheck size={12}/> AMBIENTE SEGURO E CRIPTOGRAFADO
|
||||
</div>
|
||||
<span className="bg-gray-100 text-gray-500 px-2 py-1 rounded font-mono">V1.0.1</span>
|
||||
<span className="bg-gray-100 text-gray-500 px-2 py-1 rounded font-mono">V1.0.2</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user