rework stream info box in offline notice to conform more with the overall design (#196)
* rework stream info field to conform with the offline page layout * moved offline notice css to separate file * used ant design bold text option
This commit is contained in:
@@ -18,6 +18,7 @@ import '../styles/config-public-details.scss';
|
||||
import '../styles/home.scss';
|
||||
import '../styles/chat.scss';
|
||||
import '../styles/pages.scss';
|
||||
import '../styles/offline-notice.scss';
|
||||
|
||||
import { AppProps } from 'next/app';
|
||||
import ServerStatusProvider from '../utils/server-status-context';
|
||||
|
||||
@@ -43,27 +43,20 @@ export default function Offline({ logs = [], config }) {
|
||||
Learn how to point your existing software to your new server and start streaming your
|
||||
content.
|
||||
</a>
|
||||
<Row align="middle">
|
||||
<Col flex="none">
|
||||
<Text>Streaming URL:</Text>
|
||||
</Col>
|
||||
<Col flex="auto">
|
||||
<Paragraph className="stream-info-box" copyable>
|
||||
{generateStreamURL(instanceUrl, rtmpServerPort)}
|
||||
</Paragraph>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
<Row align="middle">
|
||||
<Col flex="none">
|
||||
<Text>Stream Key:</Text>
|
||||
</Col>
|
||||
<Col flex="auto">
|
||||
<Paragraph className="stream-info-box" copyable={{ text: streamKey }}>
|
||||
*********************
|
||||
</Paragraph>
|
||||
</Col>
|
||||
</Row>
|
||||
<div className="stream-info-container">
|
||||
<Text strong className="stream-info-label">
|
||||
Streaming URL:
|
||||
</Text>
|
||||
<Paragraph className="stream-info-box" copyable>
|
||||
{generateStreamURL(instanceUrl, rtmpServerPort)}
|
||||
</Paragraph>
|
||||
<Text strong className="stream-info-label">
|
||||
Stream Key:
|
||||
</Text>
|
||||
<Paragraph className="stream-info-box" copyable={{ text: streamKey }}>
|
||||
*********************
|
||||
</Paragraph>
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user