Skip to content

Commit 7e609b9

Browse files
author
Dorin Paslaru
authored
Merge pull request #215 from smiclea/azure-migrate-logo
Update 'azure-migrate' logo
2 parents 187e24b + 7b5ef91 commit 7e609b9

3 files changed

Lines changed: 21 additions & 40 deletions

File tree

src/components/organisms/AssessmentDetailsContent/images/azure-migrate.svg

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Loading

src/components/organisms/AssessmentDetailsContent/index.jsx

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import type { Endpoint } from '../../../types/Endpoint'
3636
import type { Instance, Nic } from '../../../types/Instance'
3737
import type { Network, NetworkMap } from '../../../types/Network'
3838

39-
import azureMigrateImage from './images/azure-migrate.svg'
39+
import azureMigrateImage from './images/logo.svg'
4040
import arrowImage from './images/arrow.svg'
4141

4242
const Wrapper = styled.div`
@@ -83,19 +83,10 @@ const Value = styled.div`
8383
${props => props.capitalize ? 'text-transform: capitalize;' : ''}
8484
`
8585
const AzureMigrateLogo = styled.div`
86-
display: flex;
87-
text-align: center;
88-
`
89-
const AzureMigrateLogoImage = styled.div`
90-
width: 48px;
91-
height: 33px;
86+
width: 208px;
87+
height: 32px;
9288
background: url('${azureMigrateImage}') center no-repeat;
9389
`
94-
const AzureMigrateLogoText = styled.div`
95-
font-size: 27px;
96-
color: #2E97DE;
97-
margin-left: 12px;
98-
`
9990
const LoadingWrapper = styled.div`
10091
display: flex;
10192
flex-direction: column;
@@ -106,7 +97,7 @@ const LoadingText = styled.div`
10697
font-size: 18px;
10798
margin-top: 32px;
10899
`
109-
const TableStyled = styled(Table)`
100+
const TableStyled = styled(Table) `
110101
margin-top: 62px;
111102
${props => props.addWidthPadding ? css`
112103
margin-left: -24px;
@@ -182,7 +173,7 @@ type Props = {
182173
loadingVmSizes: boolean,
183174
vmSizes: VmSize[],
184175
onVmSizeChange: (vm: VmItem, size: { name: string }) => void,
185-
onGetVmSize: (vm: VmItem) => ?VmSize,
176+
onGetVmSize: (vm: VmItem) =>?VmSize,
186177
networks: Network[],
187178
sourceEndpoint: ?Endpoint,
188179
page: string,
@@ -266,10 +257,7 @@ class AssessmentDetailsContent extends React.Component<Props> {
266257
</Field>
267258
</Row>
268259
<Row>
269-
<AzureMigrateLogo>
270-
<AzureMigrateLogoImage />
271-
<AzureMigrateLogoText>Azure Migrate</AzureMigrateLogoText>
272-
</AzureMigrateLogo>
260+
<AzureMigrateLogo />
273261
</Row>
274262
<Row>
275263
<Field>

0 commit comments

Comments
 (0)