File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,20 +111,38 @@ const App = observer(() => {
111111 } , [ ] ) ;
112112
113113 return (
114- < div >
115- < nav >
116- < div >
117- < div >
118- < h1 > Eval Protocol Logs</ h1 >
119- < div > { state . isConnected ? "Connected" : "Disconnected" } </ div >
120- </ div >
121- < div >
122- < Dashboard />
114+ < div className = "min-h-screen bg-gray-50" >
115+ < nav className = "bg-white border-b border-gray-200" >
116+ < div className = "max-w-7xl mx-auto px-3" >
117+ < div className = "flex justify-between items-center h-10" >
118+ < div className = "flex items-center space-x-2" >
119+ < h1 className = "text-sm font-medium text-gray-900" >
120+ Eval Protocol Logs
121+ </ h1 >
122+ </ div >
123+ < div className = "flex items-center" >
124+ < div
125+ className = { `inline-flex items-center px-2 py-0.5 rounded text-xs font-medium ${
126+ state . isConnected
127+ ? "bg-green-100 text-green-700"
128+ : "bg-red-100 text-red-700"
129+ } `}
130+ >
131+ < div
132+ className = { `w-1 h-1 rounded-full mr-1 ${
133+ state . isConnected ? "bg-green-500" : "bg-red-500"
134+ } `}
135+ > </ div >
136+ { state . isConnected ? "Connected" : "Disconnected" }
137+ </ div >
138+ </ div >
123139 </ div >
124140 </ div >
125141 </ nav >
126142
127- < main > TODO</ main >
143+ < main className = "max-w-7xl mx-auto px-3 py-4" >
144+ < Dashboard />
145+ </ main >
128146 </ div >
129147 ) ;
130148} ) ;
You can’t perform that action at this time.
0 commit comments