File tree Expand file tree Collapse file tree
platform/pages/system-status Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,33 +71,31 @@ const SystemStatusPage: NextPage = () => {
7171
7272 return (
7373 < MainLayout
74- title = { ss ? .meta ? .title || 'System Status - CrownCode' }
75- description = { ss ? .meta ? .description || 'Live status of CrownCode services.' }
76- keywords = { ss ? .meta ? .keywords || 'system status, health, uptime' }
74+ title = { ss . meta . title }
75+ description = { ss . meta . description }
76+ keywords = { ss . meta . keywords }
7777 >
7878 < div className = { styles [ 'page-container' ] } >
7979 < motion . div initial = { { opacity : 0 , y : 20 } } animate = { { opacity : 1 , y : 0 } } >
8080 < div className = { styles [ 'header-row' ] } >
8181 < Activity size = { 28 } className = { styles [ 'header-icon' ] } />
8282 < h1 className = { styles [ 'title' ] } >
83- { ss ? .title || 'System Status' }
83+ { ss . title }
8484 </ h1 >
8585 </ div >
8686
8787 < div className = { styles [ 'status-bar' ] } >
8888 < span className = { `${ styles [ 'status-dot' ] } ${ allOk ? styles [ 'status-dot-ok' ] : styles [ 'status-dot-error' ] } ` } />
8989 < span className = { styles [ 'status-text' ] } >
90- { allOk
91- ? ( ss ?. allOperational || 'All systems operational' )
92- : ( ss ?. someIssues || 'Some services have issues' ) }
90+ { allOk ? ss . allOperational : ss . someIssues }
9391 </ span >
9492 < button
9593 onClick = { checkServices }
9694 disabled = { checking }
9795 className = { styles [ 'refresh-btn' ] }
9896 >
9997 < RefreshCw size = { 14 } className = { checking ? 'animate-spin' : '' } />
100- { ss ? .refresh || 'Refresh' }
98+ { ss . refresh }
10199 </ button >
102100 </ div >
103101 </ motion . div >
You can’t perform that action at this time.
0 commit comments