Sfoglia il codice sorgente

Integrate ApiHealth component into stats grid as first item

- Move ApiHealth from separate widget above grid into the main grid layout
- ApiHealth now displays alongside File Watcher, Task Processing, and Files Processed
- Maintains consistent card styling with other stats widgets
- Uses same grid responsiveness (lg:grid-cols-4) so ApiHealth takes one column
- Remove unused space-y-6 wrapper div, consolidate to single grid layout
- Build successfully passes with Turbopack
Timothy Pomeroy 3 settimane fa
parent
commit
a6755975c7
1 ha cambiato i file con 4 aggiunte e 5 eliminazioni
  1. 4 5
      apps/web/src/app/components/StatsSection.tsx

+ 4 - 5
apps/web/src/app/components/StatsSection.tsx

@@ -178,12 +178,11 @@ export default function StatsSection() {
   }, [queryClient]);
 
   return (
-    <div className="space-y-6">
-      {/* API Health Widget */}
-      <ApiHealth />
-
-      {/* Stats Grid */}
+    <div className="space-y-0">
       <div className="grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-4">
+        {/* API Health Widget */}
+        <ApiHealth />
+
         {/* File Watcher */}
         <div className="group relative overflow-hidden rounded-2xl bg-white/5 p-8 ring-1 ring-white/10 transition-all duration-300 hover:bg-white/10 hover:ring-white/20">
           <div className="flex items-center justify-between">