[Security Solution] Fix Dashboard landing page images (#137271) (#137314)

* overview image changed and size fixed

* cloud posture image fixed

* remove unused video svg

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit a9c1ac9eec)

Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co>
This commit is contained in:
Kibana Machine 2022-07-28 07:15:22 -04:00 committed by GitHub
parent 5de1d7117d
commit b2cef82744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 13 deletions

View file

@ -12,14 +12,12 @@ import * as i18n from './translations';
import endpointSvg from '../../images/endpoint1.svg';
import cloudSvg from '../../images/cloud1.svg';
import siemSvg from '../../images/siem1.svg';
import videoSvg from '../../images/video.svg';
import { ADD_DATA_PATH } from '../../../../common/constants';
import { useKibana } from '../../lib/kibana';
const imgUrls = {
cloud: cloudSvg,
siem: siemSvg,
video: videoSvg,
endpoint: endpointSvg,
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 346 KiB

View file

@ -80,8 +80,9 @@ export const LandingLinksImages: React.FC<LandingImagesProps> = ({ items }) => (
</EuiFlexGroup>
);
const CARD_WIDTH = 320;
const LandingImageCardItem = styled(EuiFlexItem)`
max-width: 364px;
max-width: ${CARD_WIDTH}px;
`;
const LandingCardDescription = styled.span`
@ -112,7 +113,7 @@ export const LandingImageCards: React.FC<LandingImagesProps> = React.memo(({ ite
<EuiImage
data-test-subj="LandingImageCard-image"
role="presentation"
size={364}
size={CARD_WIDTH}
alt={title}
src={image}
/>