Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Change Guardicore logo with Akamai logo #2913

Merged
merged 3 commits into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
- "Local network scan" option to "Scan Agent's networks". #2299
- Information displayed in the preview pane in the map page. #2455
- The Hadoop exploiter to a plugin. #2826
- The Guardicore logo to Akamai logo. #2913

### Removed
- VSFTPD exploiter. #1533
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import {faExternalLinkAlt} from '@fortawesome/free-solid-svg-icons';
import {Routes} from '../Main';
import VersionComponent from './VersionComponent';

const guardicoreLogoImage = require('../../images/guardicore-logo.png');
const akamaiLogoImage = require('../../images/akamai-logo.svg');

function Logo() {
return (
<>
<hr/>
<div className='guardicore-link text-center' style={{'marginBottom': '0.5em'}}>
<div className='akamai-link text-center' style={{'marginBottom': '0.5em'}}>
<span>Powered by</span>
<a href='https://www.akamai.com/products/akamai-segmentation' rel='noopener noreferrer' target='_blank'>
<img src={guardicoreLogoImage} alt='GuardiCore'/>
<img src={akamaiLogoImage} alt='Akamai'/>
</a>
</div>
<div className='license-link text-center'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import {Link} from 'react-router-dom';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
import {faFileCode, faLightbulb} from '@fortawesome/free-solid-svg-icons';
import '../../styles/pages/LandingPage.scss';
import IslandHttpClient from "../IslandHttpClient";
import IslandHttpClient from '../IslandHttpClient';

import ParticleBackground from '../ui-components/ParticleBackground';
import Logo from "../logo/LogoComponent";
import Logo from '../logo/LogoComponent';

const monkeyIcon = require('../../images/monkey-icon.svg')
const infectionMonkey = require('../../images/infection-monkey.svg')
Expand All @@ -27,7 +27,7 @@ const LandingPageComponent = (props: Props) => {
<div className={'scenario-header'}>
<ScenarioButtons/>
<br/>
<Col className={'guardicore-logo'}>
<Col className={'akamai-logo'}>
<Logo/>
</Col>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import ReactMarkdown from 'react-markdown';
import remarkBreaks from 'remark-breaks';

import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
import guardicoreLogoImage from '../../images/guardicore-logo.png'
import akamaiLogoImage from '../../images/akamai-logo.svg'
import {faExclamationTriangle} from '@fortawesome/free-solid-svg-icons';
import '../../styles/App.css';
import {
Expand Down Expand Up @@ -288,7 +288,7 @@ class ReportPageComponent extends AuthComponent {
For questions, suggestions, or any other feedback,
contact <a href='mailto:[email protected]' className='no-print'>[email protected]</a>
<div className='force-print' style={{ display: 'none' }}>[email protected]</div>.
<img src={guardicoreLogoImage} alt='GuardiCore' className='center-block' style={{ height: '50px' }} />
<img src={akamaiLogoImage} alt='Akamai' className='center-block' style={{ height: '55px' }} />
</div>
);
}
Expand Down
38 changes: 38 additions & 0 deletions monkey/monkey_island/cc/ui/src/images/akamai-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
10 changes: 5 additions & 5 deletions monkey/monkey_island/cc/ui/src/styles/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,25 +111,25 @@ body {
border-top-color: #ccc !important;
}

.guardicore-link span {
.akamai-link span {
color: #999;
vertical-align: middle;
padding-left: 4px;
padding-right: 4px;
font-size: 1.7em;
}

.guardicore-link img {
height: 38px;
.akamai-link img {
height: 55px;
padding-left: 4px;
padding-right: 4px;
vertical-align: middle;
}
}

@media (max-width: 575px) {
.guardicore-link img {
height: 28px;
.akamai-link img {
height: 45px;
padding-left: 4px;
padding-right: 4px;
vertical-align: middle;
Expand Down
4 changes: 2 additions & 2 deletions monkey/monkey_island/cc/ui/src/styles/pages/LandingPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
height: 100%;
}

.guardicore-logo .license-text {
.akamai-logo .license-text {
position: relative;
}

.guardicore-logo .version-text {
.akamai-logo .version-text {
position: relative;
}

Expand Down