feat: import Sea vHost single-server testing release
This commit is contained in:
commit
248badd33e
441 files changed
+63221
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { RefreshCw, ServerOff } from 'lucide-react';
|
||||
import { Brand } from './Brand';
|
||||
|
||||
export function StartupError({ message, onRetry }: { message: string; onRetry?: () => void }) {
|
||||
return <main className="startup-error-page"><section className="startup-error-panel">
|
||||
<Brand />
|
||||
<div className="startup-error-icon"><ServerOff /></div>
|
||||
<h1>暂时无法连接服务</h1>
|
||||
<p>{message}</p>
|
||||
{onRetry?<button className="primary" onClick={onRetry}><RefreshCw size={16} />重新连接</button>:null}
|
||||
{onRetry?<small>如果服务刚完成安装,通常等待几秒后重试即可。</small>:null}
|
||||
</section></main>;
|
||||
}
|
||||
Reference in new issue
Block a user