diff options
author | 2022-06-15 23:49:25 +0100 | |
---|---|---|
committer | 2022-06-15 22:49:25 +0000 | |
commit | c5c050d62cd19d266860dcf3aa54549de3fc1501 (patch) | |
tree | 4f5ef6309bf955c9784e01cd2326d1b5fae5d381 /src | |
parent | Fix Developer Tools won't show up via menu (#264) (diff) | |
download | ferdium-app-c5c050d62cd19d266860dcf3aa54549de3fc1501.tar.gz ferdium-app-c5c050d62cd19d266860dcf3aa54549de3fc1501.tar.zst ferdium-app-c5c050d62cd19d266860dcf3aa54549de3fc1501.zip |
Move location of 'Change server' link on main screen for better visibility (#268)
Diffstat (limited to 'src')
-rw-r--r-- | src/components/auth/Welcome.js | 14 | ||||
-rw-r--r-- | src/styles/welcome.scss | 7 |
2 files changed, 12 insertions, 9 deletions
diff --git a/src/components/auth/Welcome.js b/src/components/auth/Welcome.js index ec4e7b68a..d595aef3d 100644 --- a/src/components/auth/Welcome.js +++ b/src/components/auth/Welcome.js | |||
@@ -60,6 +60,11 @@ class Welcome extends Component { | |||
60 | <H1>Ferdium</H1> | 60 | <H1>Ferdium</H1> |
61 | </div> | 61 | </div> |
62 | </div> | 62 | </div> |
63 | <Link to={changeServerRoute} className="button__change-server"> | ||
64 | <span> | ||
65 | {intl.formatMessage(messages.changeServer)} | ||
66 | </span> | ||
67 | </Link> | ||
63 | <div className="welcome__buttons"> | 68 | <div className="welcome__buttons"> |
64 | <Link to={signupRoute} className="button button__inverted"> | 69 | <Link to={signupRoute} className="button button__inverted"> |
65 | {intl.formatMessage(messages.signupButton)} | 70 | {intl.formatMessage(messages.signupButton)} |
@@ -67,15 +72,6 @@ class Welcome extends Component { | |||
67 | <Link to={loginRoute} className="button"> | 72 | <Link to={loginRoute} className="button"> |
68 | {intl.formatMessage(messages.loginButton)} | 73 | {intl.formatMessage(messages.loginButton)} |
69 | </Link> | 74 | </Link> |
70 | <Link to={changeServerRoute}> | ||
71 | <span | ||
72 | style={{ | ||
73 | color: '#fff' | ||
74 | }} | ||
75 | > | ||
76 | {intl.formatMessage(messages.changeServer)} | ||
77 | </span> | ||
78 | </Link> | ||
79 | <br /> | 75 | <br /> |
80 | <br /> | 76 | <br /> |
81 | <hr /> | 77 | <hr /> |
diff --git a/src/styles/welcome.scss b/src/styles/welcome.scss index 59f3a6ca3..09d02d2eb 100644 --- a/src/styles/welcome.scss +++ b/src/styles/welcome.scss | |||
@@ -68,6 +68,13 @@ | |||
68 | background: none; | 68 | background: none; |
69 | color: #fff; | 69 | color: #fff; |
70 | } | 70 | } |
71 | |||
72 | &__change-server { | ||
73 | display: flex; | ||
74 | width: 30%; | ||
75 | margin: 5% auto 5% auto; | ||
76 | justify-content: center; | ||
77 | } | ||
71 | } | 78 | } |
72 | 79 | ||
73 | &__featured-services { | 80 | &__featured-services { |