Skip to content

Commit a27d7b9

Browse files
committed
Update logo
Signed-off-by: Mantas Domaševičius <mantas@mysterium.network>
1 parent aaf98b8 commit a27d7b9

File tree

4 files changed

+84
-73
lines changed

4 files changed

+84
-73
lines changed

src/Pages/Authenticated/Onboarding/Password/PasswordSetComponents.tsx

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77
import styled from 'styled-components'
8-
import { ReactComponent as Lock } from '../../../../assets/images/onboarding/lock.svg'
98
import { Welcome } from './Welcome'
109
import { Button } from '../../../../Components/Inputs/Button'
1110
import { devices } from '../../../../theme/themes'
@@ -17,10 +16,12 @@ const Page = styled.div`
1716
height: unset;
1817
padding: 15px;
1918
}
20-
`
2119
22-
const LockIcon = styled(Lock)`
23-
border: 1px solid salmon;
20+
@media ${devices.mobileS} {
21+
min-width: unset;
22+
max-height: unset;
23+
padding: unset;
24+
}
2425
`
2526

2627
const WhiteCard = styled.div`
@@ -40,6 +41,13 @@ const WhiteCard = styled.div`
4041
@media ${devices.tablet} {
4142
padding: 15px;
4243
}
44+
45+
@media ${devices.mobileS} {
46+
min-width: unset;
47+
max-height: unset;
48+
padding: unset;
49+
min-height: unset;
50+
}
4351
`
4452

4553
const GradientCard = styled.div`
@@ -60,6 +68,12 @@ const GradientCard = styled.div`
6068
max-width: unset;
6169
padding: 30px 10px 50px 10px;
6270
}
71+
72+
@media ${devices.mobileS} {
73+
min-width: unset;
74+
max-height: unset;
75+
border-radius: unset;
76+
}
6377
`
6478

6579
type TextAlign = {
@@ -106,6 +120,10 @@ const GDescription = styled.div<TextAlign>`
106120

107121
const StartButton = styled(Button)`
108122
width: 300px;
123+
124+
@media ${devices.mobileS} {
125+
width: unset;
126+
}
109127
`
110128

111129
export const PasswordSetComponents = {
@@ -115,7 +133,6 @@ export const PasswordSetComponents = {
115133
Welcome,
116134
GTitle,
117135
GDescription,
118-
LockIcon,
119136
StartButton,
120137
GSubTitle,
121138
}

src/Pages/Authenticated/Onboarding/Password/Welcome.tsx

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,31 @@
77
import styled from 'styled-components'
88
import { devices } from '../../../../theme/themes'
99
import React from 'react'
10-
import { ReactComponent as LoginLogo } from '../../../../assets/images/onboarding/login.svg'
10+
import { ReactComponent as LoginLogo } from '../../../../assets/images/onboarding/logo.svg'
1111

1212
const LogoContainer = styled.div`
13+
position: relative;
14+
width: 180px;
15+
height: 100px;
16+
`
17+
18+
const Container = styled.div`
1319
display: flex;
1420
flex-direction: column;
1521
align-items: center;
1622
justify-content: center;
1723
@media ${devices.tablet} {
1824
align-self: center;
1925
}
26+
27+
@media ${devices.mobileS} {
28+
display: none;
29+
}
2030
`
2131
const Logo = styled(LoginLogo)`
22-
height: 180px;
23-
width: 180px;
24-
@media ${devices.tablet} {
25-
height: 250px;
26-
width: 250px;
27-
}
32+
position: absolute;
33+
right: -35%;
34+
top: -44%;
2835
@media ${devices.mobileS} {
2936
display: none;
3037
}
@@ -72,13 +79,16 @@ const Group = styled.div`
7279

7380
export const Welcome = () => {
7481
return (
75-
<LogoContainer>
76-
<Logo />
82+
<Container>
83+
<LogoContainer>
84+
<Logo />
85+
</LogoContainer>
86+
7787
<Group>
7888
<Title>Welcome</Title>
7989
<SubTitle>node runner!</SubTitle>
8090
<Comment>Let's get you up and running</Comment>
8191
</Group>
82-
</LogoContainer>
92+
</Container>
8393
)
8494
}

0 commit comments

Comments
 (0)