From 45f05dcddf8aba4396daf1ce7e61078c0d42d703 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Thu, 29 Jul 2021 10:59:56 +0300 Subject: [PATCH] Island UI: remove the unnecessary header from landing page --- .../monkey_island/cc/ui/src/components/SideNavComponent.tsx | 1 - .../cc/ui/src/components/pages/LandingPage.tsx | 5 ++--- .../monkey_island/cc/ui/src/styles/pages/LandingPage.scss | 6 ++++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/SideNavComponent.tsx b/monkey/monkey_island/cc/ui/src/components/SideNavComponent.tsx index f3c8e3a94..6caa6617b 100644 --- a/monkey/monkey_island/cc/ui/src/components/SideNavComponent.tsx +++ b/monkey/monkey_island/cc/ui/src/components/SideNavComponent.tsx @@ -3,7 +3,6 @@ import {NavLink} from 'react-router-dom'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck'; import {faUndo} from '@fortawesome/free-solid-svg-icons/faUndo'; -import {faExternalLinkAlt} from '@fortawesome/free-solid-svg-icons'; import '../styles/components/SideNav.scss'; import {CompletedSteps} from "./side-menu/CompletedSteps"; import {isReportRoute, Routes} from "./Main"; diff --git a/monkey/monkey_island/cc/ui/src/components/pages/LandingPage.tsx b/monkey/monkey_island/cc/ui/src/components/pages/LandingPage.tsx index cc53a828d..cd3d73d8c 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/LandingPage.tsx +++ b/monkey/monkey_island/cc/ui/src/components/pages/LandingPage.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import {Container,Col, Row} from 'react-bootstrap'; +import {Col, Row} from 'react-bootstrap'; import {Link} from 'react-router-dom'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; 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}} className={'landing-page'}> -

Breach & Attack Simulation

-
+

diff --git a/monkey/monkey_island/cc/ui/src/styles/pages/LandingPage.scss b/monkey/monkey_island/cc/ui/src/styles/pages/LandingPage.scss index f5ec25055..fe9e3657b 100644 --- a/monkey/monkey_island/cc/ui/src/styles/pages/LandingPage.scss +++ b/monkey/monkey_island/cc/ui/src/styles/pages/LandingPage.scss @@ -64,3 +64,9 @@ padding-bottom: 10px; max-height: 35%; } + +.landing-page .scenario-header { + font-size: 1.2em; + margin-top: 30px; + margin-left: 20px; +}