aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/ChangeServer.js
diff options
context:
space:
mode:
authorLibravatar kytwb <kytwb@pm.me>2021-12-13 06:42:12 +0100
committerLibravatar kytwb <kytwb@pm.me>2021-12-13 06:42:12 +0100
commit1553ea204a88cd8ee4aeb9bf4b08388677d412b0 (patch)
tree764e4b5ca3c3a0eb33689ffd47285a9547f21334 /src/components/auth/ChangeServer.js
parentFix sidebar scrolling in horizontal mode (diff)
downloadferdium-app-1553ea204a88cd8ee4aeb9bf4b08388677d412b0.tar.gz
ferdium-app-1553ea204a88cd8ee4aeb9bf4b08388677d412b0.tar.zst
ferdium-app-1553ea204a88cd8ee4aeb9bf4b08388677d412b0.zip
Simplify navigation in auth screens
Diffstat (limited to 'src/components/auth/ChangeServer.js')
-rw-r--r--src/components/auth/ChangeServer.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/auth/ChangeServer.js b/src/components/auth/ChangeServer.js
index a659cdc31..4c69b2821 100644
--- a/src/components/auth/ChangeServer.js
+++ b/src/components/auth/ChangeServer.js
@@ -6,6 +6,7 @@ import Form from '../../lib/Form';
6import Input from '../ui/Input'; 6import Input from '../ui/Input';
7import Select from '../ui/Select'; 7import Select from '../ui/Select';
8import Button from '../ui/Button'; 8import Button from '../ui/Button';
9import Link from '../ui/Link';
9import Infobox from '../ui/Infobox'; 10import Infobox from '../ui/Infobox';
10import { url, required } from '../../helpers/validation-helpers'; 11import { url, required } from '../../helpers/validation-helpers';
11import { LIVE_FERDI_API, LIVE_FRANZ_API } from '../../config'; 12import { LIVE_FERDI_API, LIVE_FRANZ_API } from '../../config';
@@ -105,7 +106,7 @@ class ChangeServer extends Component {
105 return ( 106 return (
106 <div className="auth__container"> 107 <div className="auth__container">
107 <form className="franz-form auth__form" onSubmit={e => this.submit(e)}> 108 <form className="franz-form auth__form" onSubmit={e => this.submit(e)}>
108 <img src="./assets/images/logo.svg" className="auth__logo" alt="" /> 109 <Link to='/auth/welcome'><img src="./assets/images/logo.svg" className="auth__logo" alt="" /></Link>
109 <h1>{intl.formatMessage(messages.headline)}</h1> 110 <h1>{intl.formatMessage(messages.headline)}</h1>
110 {form.$('server').value === this.franzServer && ( 111 {form.$('server').value === this.franzServer && (
111 <Infobox type="warning"> 112 <Infobox type="warning">