diff --git a/.cursor/debug-c10bcb.log b/.cursor/debug-c10bcb.log index 13f4130..f48d5db 100644 --- a/.cursor/debug-c10bcb.log +++ b/.cursor/debug-c10bcb.log @@ -12,3 +12,5 @@ {"sessionId":"c10bcb","runId":"post-fix","hypothesisId":"H1","location":"badge-tabs.tsx:useEffect","message":"BadgeTabs layout metrics","data":{"flexDirection":"column","orientation":"horizontal","listLeft":280,"panelLeft":280,"stacked":true},"timestamp":1783605819320} {"sessionId":"c10bcb","runId":"post-fix","hypothesisId":"H1","location":"badge-tabs.tsx:useEffect","message":"BadgeTabs layout metrics","data":{"flexDirection":"column","orientation":"horizontal","listLeft":280,"panelLeft":280,"stacked":true},"timestamp":1783605827145} {"sessionId":"c10bcb","runId":"post-fix","hypothesisId":"H1","location":"badge-tabs.tsx:useEffect","message":"BadgeTabs layout metrics","data":{"flexDirection":"column","orientation":"horizontal","listLeft":280,"panelLeft":280,"stacked":true},"timestamp":1783605864391} +{"sessionId":"c10bcb","runId":"post-fix","hypothesisId":"H1","location":"badge-tabs.tsx:useEffect","message":"BadgeTabs layout metrics","data":{"flexDirection":"column","orientation":"horizontal","listLeft":280,"panelLeft":280,"stacked":true},"timestamp":1783606471768} +{"sessionId":"c10bcb","runId":"post-fix","hypothesisId":"H1","location":"badge-tabs.tsx:useEffect","message":"BadgeTabs layout metrics","data":{"flexDirection":"column","orientation":"horizontal","listLeft":280,"panelLeft":280,"stacked":true},"timestamp":1783606472923} diff --git a/apps/web/src/components/dashboard/dashboard-quick-link-card.tsx b/apps/web/src/components/dashboard/dashboard-quick-link-card.tsx index 1d4149f..a4bb57e 100644 --- a/apps/web/src/components/dashboard/dashboard-quick-link-card.tsx +++ b/apps/web/src/components/dashboard/dashboard-quick-link-card.tsx @@ -2,8 +2,8 @@ import { Link } from '@tanstack/react-router' import { ChevronRight } from 'lucide-react' import type { ReactNode } from 'react' -import { Frame, FramePanel } from '@/components/reui/frame' import { CardDotField } from '@/components/dashboard/card-dot-field' +import { FramePanel } from '@/components/reui/frame' import { cn } from '@evobgp/ui/lib/utils' import { Item, ItemMedia } from '@evobgp/ui/components/item' @@ -25,46 +25,44 @@ export function DashboardQuickLinkCard({ iconClass, }: QuickLinkCardProps) { return ( - - + - - -
- - - {icon} - - -
- {label} -

{description}

- - Перейти - - -
+ +
+ + + {icon} + + +
+ {label} +

{description}

+ + Перейти + +
- - - +
+ + ) } diff --git a/apps/web/src/components/dashboard/dashboard-quick-links.tsx b/apps/web/src/components/dashboard/dashboard-quick-links.tsx index 8ddc7bc..ae6eb61 100644 --- a/apps/web/src/components/dashboard/dashboard-quick-links.tsx +++ b/apps/web/src/components/dashboard/dashboard-quick-links.tsx @@ -2,6 +2,12 @@ import { Gauge, Network, Play, Plus, Share2, Tags } from 'lucide-react' import type { ReactNode } from 'react' import { DashboardQuickLinkCard } from '@/components/dashboard/dashboard-quick-link-card' +import { + Frame, + FrameDescription, + FrameHeader, + FrameTitle, +} from '@/components/reui/frame' type QuickLink = { icon: ReactNode @@ -63,12 +69,16 @@ const LINKS: QuickLink[] = [ export function DashboardQuickLinks() { return ( -
-
+ + + Быстрые действия + Частые переходы к настройке и деплою + +
{LINKS.map((link) => ( ))}
-
+ ) } diff --git a/apps/web/src/routes/_auth/dashboard.tsx b/apps/web/src/routes/_auth/dashboard.tsx index b517788..5dfc8b3 100644 --- a/apps/web/src/routes/_auth/dashboard.tsx +++ b/apps/web/src/routes/_auth/dashboard.tsx @@ -85,6 +85,8 @@ function DashboardComponent() { } /> + + {initialLoading ? ( ) : ( @@ -142,14 +144,6 @@ function DashboardComponent() { )}
- - - -
) }