input loader page

This commit is contained in:
rngsurrounded
2025-03-04 09:54:34 +09:00
parent 3772d5793b
commit 84df49b316
@@ -150,16 +150,16 @@ const CompetitionSession = () => {
onSubmit={handleSubmit}
isSubmitting={isSubmitting}
/>
{isReloading && (
<div className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50">
<div className="bg-white p-6 rounded-lg shadow-xl text-center">
<Loader2 className="h-8 w-8 animate-spin mx-auto mb-4" />
<p className="font-hse-sans text-gray-700">
Решение отправлено! Пожалуйста, подождите...
</p>
</div>
{isReloading && (
<div className="fixed inset-0 z-50 flex items-center justify-center backdrop-blur-sm bg-white/30">
<div className="bg-white p-6 rounded-lg shadow-xl text-center max-w-sm mx-4 w-full">
<Loader2 className="h-8 w-8 animate-spin mx-auto mb-4" />
<p className="font-hse-sans text-gray-700">
Решение отправлено! Пожалуйста, подождите...
</p>
</div>
)}
</div>
)}
</div>
) : (
<div className="flex h-40 items-center justify-center rounded-lg bg-white">