mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-12 01:17:04 +02:00
chore: improve demo auth screen (#9780)
https://linear.app/unleash/issue/2-2575/adjust-text-login-screen Adjusts the text for the demo auth screen. Also took some liberties to improve the visual design of this page (at least, IMO). ### Before  ### After 
This commit is contained in:
parent
f3a1da9d7e
commit
176e9d3187
@ -1,5 +1,11 @@
|
||||
.container {
|
||||
width: 350px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.container > h2 {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.container > * {
|
||||
@ -24,9 +30,15 @@
|
||||
.button {
|
||||
min-width: 150px;
|
||||
margin: 1rem auto;
|
||||
margin-top: 0.5rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.terms {
|
||||
margin-top: 32px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
.container {
|
||||
width: 100%;
|
||||
|
@ -49,7 +49,11 @@ const DemoAuth: VFC<IDemoAuthProps> = ({ authDetails, redirect }) => {
|
||||
<Logo className={styles.logo} aria-label='Unleash logo' />
|
||||
<div className={styles.container}>
|
||||
<h2>Access the Unleash demo instance</h2>
|
||||
<p>No further data or Credit Card required</p>
|
||||
<p>
|
||||
Use your email to test out the demo
|
||||
<br />
|
||||
No further data or credit card required
|
||||
</p>
|
||||
<div className={styles.form}>
|
||||
<TextField
|
||||
value={email}
|
||||
@ -73,10 +77,10 @@ const DemoAuth: VFC<IDemoAuthProps> = ({ authDetails, redirect }) => {
|
||||
className={styles.button}
|
||||
data-testid={LOGIN_BUTTON}
|
||||
>
|
||||
Sign in
|
||||
Test Unleash demo
|
||||
</Button>
|
||||
</div>
|
||||
<p>
|
||||
<p className={styles.terms}>
|
||||
By accessing our demo instance, you agree to the
|
||||
Unleash
|
||||
<a
|
||||
|
Loading…
Reference in New Issue
Block a user