Новые изменения в проект

This commit is contained in:
Web-serfer 2026-04-19 23:38:15 +05:00
parent 1a1871f5f3
commit ecb720f751
5 changed files with 100 additions and 30 deletions

View file

@ -99,15 +99,11 @@ export default function ReviewFormContainer() {
</Show>
<Show when={isLoading()}>
<div class="max-w-700px mx-auto text-center py-12">
<div class="inline-block animate-spin rounded-full h-12 w-12 border-4 border-blue-600 border-t-transparent"></div>
<p class="mt-4 text-gray-600">Загрузка...</p>
</div>
</Show>
<Show when={!isLoading()}>
<Show when={isAuthenticated()} fallback={
<div class="max-w-700px mx-auto">
<div class="mx-auto" style="max-width: 700px;">
<div class="bg-linear-to-br from-gray-50 to-gray-100 rounded-2xl p-8 md:p-12 border border-gray-200 text-center" style="background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);">
<div class="w-20 h-20 mx-auto mb-6 rounded-full flex items-center justify-center" style="background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(30, 64, 175, 0.3) 100%);">
<svg class="w-10 h-10 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">

View file

@ -94,10 +94,6 @@ export default function ReviewsList(props: ReviewsListProps) {
return (
<>
<Show when={isLoading()}>
<div class="text-center py-12">
<div class="inline-block animate-spin rounded-full h-12 w-12 border-4 border-blue-600 border-t-transparent"></div>
<p class="mt-4 text-gray-600">Загрузка отзывов...</p>
</div>
</Show>
<Show when={error()}>