Island UI: remove the unnecessary header from landing page

This commit is contained in:
VakarisZ 2021-07-29 10:59:56 +03:00
parent b8b82039d8
commit 45f05dcddf
3 changed files with 8 additions and 4 deletions

View File

@ -3,7 +3,6 @@ import {NavLink} from 'react-router-dom';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck'; import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
import {faUndo} from '@fortawesome/free-solid-svg-icons/faUndo'; import {faUndo} from '@fortawesome/free-solid-svg-icons/faUndo';
import {faExternalLinkAlt} from '@fortawesome/free-solid-svg-icons';
import '../styles/components/SideNav.scss'; import '../styles/components/SideNav.scss';
import {CompletedSteps} from "./side-menu/CompletedSteps"; import {CompletedSteps} from "./side-menu/CompletedSteps";
import {isReportRoute, Routes} from "./Main"; import {isReportRoute, Routes} from "./Main";

View File

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import {Container,Col, Row} from 'react-bootstrap'; import {Col, Row} from 'react-bootstrap';
import {Link} from 'react-router-dom'; import {Link} from 'react-router-dom';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
import {faFileCode, faLightbulb} from '@fortawesome/free-solid-svg-icons'; import {faFileCode, faLightbulb} from '@fortawesome/free-solid-svg-icons';
@ -21,8 +21,7 @@ const LandingPageComponent = (props) => {
lg={{offset: 2, span: 8}} xl={{offset: 3, span: 6}} lg={{offset: 2, span: 8}} xl={{offset: 3, span: 6}}
className={'landing-page'}> className={'landing-page'}>
<MonkeyBanner /> <MonkeyBanner />
<h1 className="page-title">Breach & Attack Simulation</h1> <div className={'scenario-header'}>
<div style={{'fontSize': '1.2em'}}>
<ScenarioButtons/> <ScenarioButtons/>
<br/> <br/>
</div> </div>

View File

@ -64,3 +64,9 @@
padding-bottom: 10px; padding-bottom: 10px;
max-height: 35%; max-height: 35%;
} }
.landing-page .scenario-header {
font-size: 1.2em;
margin-top: 30px;
margin-left: 20px;
}