Skip to content

Commit 7f06a50

Browse files
committed
style: LoadingScreen beautifying - thanks Roo Code
1 parent 94e1969 commit 7f06a50

2 files changed

Lines changed: 31 additions & 2 deletions

File tree

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
<template>
2-
<div class="w-full flex items-center justify-center">
3-
Loading...
2+
<div class="fixed inset-0 z-50 flex flex-col items-center justify-center bg-surface-0 dark:bg-surface-900">
3+
<!-- Simple CSS Spinner -->
4+
<div class="spinner mb-4" />
5+
<p class="text-lg text-primary-500 font-medium dark:text-primary-400">
6+
{{ $t('components.loadingScreen.loadingText') }}
7+
</p>
48
</div>
59
</template>
10+
11+
<style scoped>
12+
.spinner {
13+
border: 4px solid rgba(0, 0, 0, 0.1);
14+
width: 36px;
15+
height: 36px;
16+
border-radius: 50%;
17+
border-left-color: hsl(var(--primary-500)); /* Assuming you have a primary color variable */
18+
animation: spin 1s ease infinite;
19+
}
20+
21+
.dark .spinner {
22+
border-left-color: hsl(var(--primary-400)); /* Assuming you have a primary color variable for dark mode */
23+
}
24+
25+
@keyframes spin {
26+
0% {
27+
transform: rotate(0deg);
28+
}
29+
100% {
30+
transform: rotate(360deg);
31+
}
32+
}
33+
</style>

locals/locales/src/sheets/frontend/i18n.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ components.convexIntegrationTest.configuredUrl,,Convex URL,URL de Convex,URL Con
55
components.convexIntegrationTest.tasksList.empty,,No tasks yet.,Aún no hay tareas.,Aucune tâche pour le moment.,Задач пока нет.,Chưa có công việc nào.,暂无任务。
66
components.convexIntegrationTest.tasksList.title,,Tasks,Tareas,Tâches,Задачи,Công việc,任务列表
77
components.convexIntegrationTest.testBackendButton,,"Test Convex integration with `backend` (fetch tasks)","Probar integración de Convex con `backend` (obtener tareas)","Tester l'intégration de Convex avec `backend` (récupérer les tâches)","Тестировать интеграцию Convex с `backend` (получить задачи)","Kiểm tra tích hợp Convex với `backend` (lấy công việc)","测试Convex与`backend`的集成(获取任务)"
8+
components.loadingScreen.loadingText,,Loading...,Cargando...,Chargement en cours...,Загрузка...,Đang tải...,加载中...
89
language,,Language,Idioma,Langue,Язык,Ngôn ngữ,语言
910
pages.home.apiResponse.empty,,Empty,Vacío,Vide,Пусто,Trống,空的
1011
pages.home.apiResponse.label,,API Response from,Respuesta de API de,Réponse API de,Ответ API от,Phản hồi API từ,API响应来自

0 commit comments

Comments
 (0)