Spaces:
Running
Running
axeronis commited on
Commit ·
79314cb
1
Parent(s): 6439d6b
feat(ui): complete infinity design transparency across all major pages
Browse files
frontend/app/appointments/page.tsx
CHANGED
|
@@ -267,7 +267,7 @@ export default function AppointmentsPage() {
|
|
| 267 |
}, [filteredAppointments])
|
| 268 |
|
| 269 |
return (
|
| 270 |
-
<div className="min-h-full p-3 md:p-6 lg:p-10 font-['Inter']">
|
| 271 |
<div className="max-w-[1800px] mx-auto min-h-[calc(100vh-24px)] flex flex-col">
|
| 272 |
|
| 273 |
{/* Header */}
|
|
@@ -416,7 +416,7 @@ export default function AppointmentsPage() {
|
|
| 416 |
{/* Calendar Grid */}
|
| 417 |
<div className="flex-1 grid grid-cols-1 lg:grid-cols-12 gap-4 min-h-0">
|
| 418 |
{/* Calendar */}
|
| 419 |
-
<div className="lg:col-span-9 bg-[#
|
| 420 |
{isLoading ? (
|
| 421 |
<div className="flex items-center justify-center h-96">
|
| 422 |
<Loader2 className="w-8 h-8 animate-spin text-indigo-500" />
|
|
|
|
| 267 |
}, [filteredAppointments])
|
| 268 |
|
| 269 |
return (
|
| 270 |
+
<div className="min-h-full p-3 md:p-6 lg:p-10 font-['Inter'] bg-transparent">
|
| 271 |
<div className="max-w-[1800px] mx-auto min-h-[calc(100vh-24px)] flex flex-col">
|
| 272 |
|
| 273 |
{/* Header */}
|
|
|
|
| 416 |
{/* Calendar Grid */}
|
| 417 |
<div className="flex-1 grid grid-cols-1 lg:grid-cols-12 gap-4 min-h-0">
|
| 418 |
{/* Calendar */}
|
| 419 |
+
<div className="lg:col-span-9 bg-[#050510]/40 backdrop-blur-md border border-white/10 rounded-2xl overflow-hidden">
|
| 420 |
{isLoading ? (
|
| 421 |
<div className="flex items-center justify-center h-96">
|
| 422 |
<Loader2 className="w-8 h-8 animate-spin text-indigo-500" />
|
frontend/app/channels/page.tsx
CHANGED
|
@@ -74,14 +74,14 @@ export default function ChannelsPage() {
|
|
| 74 |
// Only show loading if no user data at all (cache miss)
|
| 75 |
if (!user) {
|
| 76 |
return (
|
| 77 |
-
<div className="flex items-center justify-center h-full bg-
|
| 78 |
<Loader2 className="w-8 h-8 animate-spin text-indigo-500" />
|
| 79 |
</div>
|
| 80 |
)
|
| 81 |
}
|
| 82 |
|
| 83 |
return (
|
| 84 |
-
<div className="min-h-full bg-
|
| 85 |
{/* Background Glows */}
|
| 86 |
<div className="absolute top-0 left-0 w-[500px] h-[500px] bg-purple-900/20 blur-[120px] rounded-full pointer-events-none" />
|
| 87 |
<div className="absolute bottom-0 right-0 w-[500px] h-[500px] bg-indigo-900/10 blur-[120px] rounded-full pointer-events-none" />
|
|
@@ -149,7 +149,7 @@ export default function ChannelsPage() {
|
|
| 149 |
</div>
|
| 150 |
|
| 151 |
{/* Statistics Panel - Reference Design */}
|
| 152 |
-
<div className="bg-
|
| 153 |
<h3 className="text-sm font-bold text-slate-400 uppercase tracking-wider mb-6">
|
| 154 |
Статистика подключений
|
| 155 |
</h3>
|
|
|
|
| 74 |
// Only show loading if no user data at all (cache miss)
|
| 75 |
if (!user) {
|
| 76 |
return (
|
| 77 |
+
<div className="flex items-center justify-center h-full bg-transparent">
|
| 78 |
<Loader2 className="w-8 h-8 animate-spin text-indigo-500" />
|
| 79 |
</div>
|
| 80 |
)
|
| 81 |
}
|
| 82 |
|
| 83 |
return (
|
| 84 |
+
<div className="min-h-full bg-transparent p-4 md:p-8 text-white font-['Inter'] relative overflow-hidden">
|
| 85 |
{/* Background Glows */}
|
| 86 |
<div className="absolute top-0 left-0 w-[500px] h-[500px] bg-purple-900/20 blur-[120px] rounded-full pointer-events-none" />
|
| 87 |
<div className="absolute bottom-0 right-0 w-[500px] h-[500px] bg-indigo-900/10 blur-[120px] rounded-full pointer-events-none" />
|
|
|
|
| 149 |
</div>
|
| 150 |
|
| 151 |
{/* Statistics Panel - Reference Design */}
|
| 152 |
+
<div className="bg-[#050510]/40 backdrop-blur-md rounded-2xl border border-white/10 p-6 h-fit">
|
| 153 |
<h3 className="text-sm font-bold text-slate-400 uppercase tracking-wider mb-6">
|
| 154 |
Статистика подключений
|
| 155 |
</h3>
|
frontend/app/settings/brain/page.tsx
CHANGED
|
@@ -327,7 +327,7 @@ export default function BrainSettingsPage() {
|
|
| 327 |
|
| 328 |
if (loading) {
|
| 329 |
return (
|
| 330 |
-
<div className="flex items-center justify-center min-h-screen bg-
|
| 331 |
<Loader2 className="w-12 h-12 animate-spin text-indigo-500" />
|
| 332 |
</div>
|
| 333 |
)
|
|
@@ -349,7 +349,7 @@ export default function BrainSettingsPage() {
|
|
| 349 |
}
|
| 350 |
|
| 351 |
return (
|
| 352 |
-
<div className="min-h-full bg-
|
| 353 |
<div className="max-w-4xl mx-auto">
|
| 354 |
{/* Clean Header */}
|
| 355 |
<motion.div
|
|
@@ -490,7 +490,7 @@ export default function BrainSettingsPage() {
|
|
| 490 |
className="space-y-6"
|
| 491 |
>
|
| 492 |
{/* Upload Zone */}
|
| 493 |
-
<motion.div variants={item} className="bg-
|
| 494 |
<h2 className="text-lg font-bold text-white mb-6 flex items-center gap-2">
|
| 495 |
<Upload className="w-5 h-5 text-indigo-600" />
|
| 496 |
Загрузить файлы
|
|
@@ -623,7 +623,7 @@ export default function BrainSettingsPage() {
|
|
| 623 |
<div className="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 624 |
{/* Search Column */}
|
| 625 |
<motion.div variants={item} className="lg:col-span-2 space-y-6">
|
| 626 |
-
<div className="bg-
|
| 627 |
<h2 className="text-lg font-bold text-white mb-4 flex items-center gap-2">
|
| 628 |
<Search className="w-5 h-5 text-indigo-600" />
|
| 629 |
Проверка знаний (Тест)
|
|
|
|
| 327 |
|
| 328 |
if (loading) {
|
| 329 |
return (
|
| 330 |
+
<div className="flex items-center justify-center min-h-screen bg-transparent">
|
| 331 |
<Loader2 className="w-12 h-12 animate-spin text-indigo-500" />
|
| 332 |
</div>
|
| 333 |
)
|
|
|
|
| 349 |
}
|
| 350 |
|
| 351 |
return (
|
| 352 |
+
<div className="min-h-full bg-transparent p-4 md:p-8">
|
| 353 |
<div className="max-w-4xl mx-auto">
|
| 354 |
{/* Clean Header */}
|
| 355 |
<motion.div
|
|
|
|
| 490 |
className="space-y-6"
|
| 491 |
>
|
| 492 |
{/* Upload Zone */}
|
| 493 |
+
<motion.div variants={item} className="bg-[#050510]/40 backdrop-blur-md rounded-2xl shadow-sm border border-white/10 p-8">
|
| 494 |
<h2 className="text-lg font-bold text-white mb-6 flex items-center gap-2">
|
| 495 |
<Upload className="w-5 h-5 text-indigo-600" />
|
| 496 |
Загрузить файлы
|
|
|
|
| 623 |
<div className="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 624 |
{/* Search Column */}
|
| 625 |
<motion.div variants={item} className="lg:col-span-2 space-y-6">
|
| 626 |
+
<div className="bg-[#050510]/40 backdrop-blur-md rounded-2xl shadow-sm border border-white/10 p-6">
|
| 627 |
<h2 className="text-lg font-bold text-white mb-4 flex items-center gap-2">
|
| 628 |
<Search className="w-5 h-5 text-indigo-600" />
|
| 629 |
Проверка знаний (Тест)
|