Skip to content

Commit 4ad9b4d

Browse files
committed
fix
1 parent 7ff45f5 commit 4ad9b4d

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

src/views/Login.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useAuthOnboarding } from '../spaces/onboarding/auth/AuthContextOnboarding.tsx';
2-
import { Button, Card, FlexBox, Text } from '@ui5/webcomponents-react';
2+
import { Button, Card, FlexBox, Link, Text } from '@ui5/webcomponents-react';
33
import ButtonDesign from '@ui5/webcomponents/dist/types/ButtonDesign.js';
44
import './login.css';
55
import { ThemingParameters } from '@ui5/webcomponents-react-base';
@@ -31,12 +31,14 @@ export default function LoginView() {
3131
<div style={{ margin: '1rem' }}>
3232
<img className="logo" src="/co-logo-orchestrating.png" alt="Logo" />
3333
<div className="headline">{t('Login.welcomeMessage')}</div>
34-
<Text>{t('Login.description')}</Text>
34+
35+
<Text className="description"> {t('Login.description')}</Text>
36+
3537
<Text>
3638
<p>
37-
<a href={documentationHomepage} target="_blank" rel="noreferrer">
39+
<Link href={documentationHomepage} target="_blank" rel="noreferrer">
3840
{t('Login.learnMore')}
39-
</a>
41+
</Link>
4042
</p>
4143
</Text>
4244
<div>

src/views/login.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
margin-bottom: 8px;
55
}
66

7+
.description {
8+
max-width: 50ch;
9+
text-align: center;
10+
margin: 0 auto;
11+
}
12+
713
.logo {
814
width: 400px;
915
}
@@ -17,4 +23,4 @@
1723
.signinBtn {
1824
font-size: 1rem;
1925
padding: 10px 20px;
20-
}
26+
}

0 commit comments

Comments
 (0)