-
Notifications
You must be signed in to change notification settings - Fork 1
/
DefaultDisplay.tsx
44 lines (40 loc) · 1.76 KB
/
DefaultDisplay.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { Typography } from '@mui/material';
import { Box } from '@mui/system';
import { ImageList } from './ImageList';
import { Links } from './Links';
export function DefaultDisplay(props: any) {
return (
<Box sx={{ display: props.showDefaultDisplay, marginTop: '2rem' }}>
<Box sx={{ m: '2rem', marginBottom: '1rem' }}>
<Links />
<Box sx={{ display: 'flex' }}>
<img src="images/vul_logo.svg" alt="Vul Logo" height="80px" />
<Box sx={{ marginLeft: '0.5rem', marginTop: '0.7rem' }}>
<Typography variant="h4" fontFamily='Droplet'>
khulnasoft
</Typography>
<Typography variant="h2" fontFamily='Droplet'>
vul
</Typography>
</Box>
</Box>
</Box>
<Box sx={{ marginLeft: '2rem' }}>
<ImageList width='50%'
disableScan={props.disableScan}
setDisableScan={props.setDisableScan}
scanImage={props.scanImage}
setScanImage={props.setScanImage}
runScan={props.runScan}
imageUpdated={props.imageUpdated}
fixedOnly={props.fixedOnly}
setFixedOnly={props.setFixedOnly}
SBOMOutput={props.SBOMOutput}
setSBOMOutput={props.setSBOMOutput}
uploadKhulnaSoft={props.uploadKhulnaSoft}
setUploadKhulnaSoft={props.setUploadKhulnaSoft}
showUploadKhulnaSoft={props.showUploadKhulnaSoft}
/>
</Box>
</Box>)
}