forked from p15670423/monkey
Merge pull request #1314 from guardicore/1241/ransomware-quickstart-remove-congrats
Ransomware quickstart - Remove "Congrats" message and change header
This commit is contained in:
commit
3c84e70ab1
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import {BrowserRouter as Router, Redirect, Route, Switch} from 'react-router-dom';
|
import {BrowserRouter as Router, Redirect, Route, Switch} from 'react-router-dom';
|
||||||
import {Container} from 'react-bootstrap';
|
import {Container} from 'react-bootstrap';
|
||||||
|
|
||||||
import RunServerPage from 'components/pages/RunServerPage';
|
import GettingStartedPage from 'components/pages/GettingStartedPage';
|
||||||
import ConfigurePage from 'components/pages/ConfigurePage';
|
import ConfigurePage from 'components/pages/ConfigurePage';
|
||||||
import RunMonkeyPage from 'components/pages/RunMonkeyPage/RunMonkeyPage';
|
import RunMonkeyPage from 'components/pages/RunMonkeyPage/RunMonkeyPage';
|
||||||
import MapPage from 'components/pages/MapPage';
|
import MapPage from 'components/pages/MapPage';
|
||||||
|
@ -136,7 +136,7 @@ class AppComponent extends AuthComponent {
|
||||||
<Route path='/login' render={() => (<LoginPageComponent onStatusChange={this.updateStatus}/>)}/>
|
<Route path='/login' render={() => (<LoginPageComponent onStatusChange={this.updateStatus}/>)}/>
|
||||||
<Route path='/register' render={() => (<RegisterPageComponent onStatusChange={this.updateStatus}/>)}/>
|
<Route path='/register' render={() => (<RegisterPageComponent onStatusChange={this.updateStatus}/>)}/>
|
||||||
{this.renderRoute('/',
|
{this.renderRoute('/',
|
||||||
<StandardLayoutComponent component={RunServerPage}
|
<StandardLayoutComponent component={GettingStartedPage}
|
||||||
completedSteps={this.state.completedSteps}
|
completedSteps={this.state.completedSteps}
|
||||||
onStatusChange={this.updateStatus}
|
onStatusChange={this.updateStatus}
|
||||||
/>,
|
/>,
|
||||||
|
|
|
@ -4,9 +4,9 @@ import {Link} from 'react-router-dom';
|
||||||
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||||
import {faPlayCircle} from '@fortawesome/free-regular-svg-icons';
|
import {faPlayCircle} from '@fortawesome/free-regular-svg-icons';
|
||||||
import {faBookOpen, faCogs} from '@fortawesome/free-solid-svg-icons';
|
import {faBookOpen, faCogs} from '@fortawesome/free-solid-svg-icons';
|
||||||
import '../../styles/pages/RunServerPage.scss';
|
import '../../styles/pages/GettingStartedPage.scss';
|
||||||
|
|
||||||
class RunServerPageComponent extends React.Component {
|
class GettingStartedPageComponent extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
}
|
}
|
||||||
|
@ -15,12 +15,9 @@ class RunServerPageComponent extends React.Component {
|
||||||
return (
|
return (
|
||||||
<Col sm={{offset: 3, span: 9}} md={{offset: 3, span: 9}}
|
<Col sm={{offset: 3, span: 9}} md={{offset: 3, span: 9}}
|
||||||
lg={{offset: 3, span: 9}} xl={{offset: 2, span: 7}}
|
lg={{offset: 3, span: 9}} xl={{offset: 2, span: 7}}
|
||||||
className={'main'}>
|
className={'main getting-started-page'}>
|
||||||
<h1 className="page-title">Welcome to the Monkey Island Server</h1>
|
<h1 className="page-title" >Getting Started</h1>
|
||||||
<div style={{'fontSize': '1.2em'}}>
|
<div style={{'fontSize': '1.2em'}}>
|
||||||
<p style={{'marginTop': '30px'}}>
|
|
||||||
Congratulations! You have successfully set up the Monkey Island server. 👏 👏
|
|
||||||
</p>
|
|
||||||
<br/>
|
<br/>
|
||||||
<HomepageCallToActions />
|
<HomepageCallToActions />
|
||||||
<br/>
|
<br/>
|
||||||
|
@ -31,7 +28,7 @@ class RunServerPageComponent extends React.Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default RunServerPageComponent;
|
export default GettingStartedPageComponent;
|
||||||
|
|
||||||
function HomepageCallToActions() {
|
function HomepageCallToActions() {
|
||||||
return (
|
return (
|
|
@ -0,0 +1,11 @@
|
||||||
|
.getting-started-page h1.page-title {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#homepage-shortcuts a.d-block {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#homepage-shortcuts {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
|
@ -1,3 +0,0 @@
|
||||||
#homepage-shortcuts a.d-block {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
Loading…
Reference in New Issue