adjust login screen
This commit is contained in:
parent
db00cd7dde
commit
28dfe95ca6
3 changed files with 5 additions and 18 deletions
|
@ -125,19 +125,6 @@ const HeaderLIT: React.FC<HeaderProps> = () => {
|
||||||
leaveTo="transform opacity-0 scale-95"
|
leaveTo="transform opacity-0 scale-95"
|
||||||
>
|
>
|
||||||
<Menu.Items className="origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none">
|
<Menu.Items className="origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none">
|
||||||
<Menu.Item>
|
|
||||||
{({ active }) => (
|
|
||||||
<a
|
|
||||||
onClick={() => currentUserModalOpen(currentUser?.id)}
|
|
||||||
className={classNames(
|
|
||||||
active ? 'bg-gray-100 cursor-pointer' : '',
|
|
||||||
'block px-4 py-2 text-sm text-gray-700 cursor-pointer',
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
Configure profile
|
|
||||||
</a>
|
|
||||||
)}
|
|
||||||
</Menu.Item>
|
|
||||||
<Menu.Item>
|
<Menu.Item>
|
||||||
{({ active }) => (
|
{({ active }) => (
|
||||||
<a
|
<a
|
||||||
|
@ -148,7 +135,7 @@ const HeaderLIT: React.FC<HeaderProps> = () => {
|
||||||
'block px-4 py-2 text-sm text-gray-700 cursor-pointer',
|
'block px-4 py-2 text-sm text-gray-700 cursor-pointer',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
Sign out
|
Logout
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
|
|
|
@ -29,8 +29,8 @@ export function Login() {
|
||||||
<div className="min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8">
|
<div className="min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8">
|
||||||
<div className="max-w-md w-full space-y-8">
|
<div className="max-w-md w-full space-y-8">
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<img className="lg:block" src="assets/logo.svg" alt="Stackspin" />
|
<img className="lg:block" src="assets/lit_logos/lit_transp_title_96.png" alt="Local-IT" />
|
||||||
<h2 className="mt-6 text-center text-xl font-bold text-gray-900 sr-only">Sign in</h2>
|
<h2 className="mt-6 text-center text-xl font-bold text-gray-900 sr-only">Einloggen</h2>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
|
@ -42,7 +42,7 @@ export function Login() {
|
||||||
<span className="absolute left-0 inset-y-0 flex items-center pl-3">
|
<span className="absolute left-0 inset-y-0 flex items-center pl-3">
|
||||||
<LockClosedIcon className="h-5 w-5 text-white group-hover:text-primary-light" aria-hidden="true" />
|
<LockClosedIcon className="h-5 w-5 text-white group-hover:text-primary-light" aria-hidden="true" />
|
||||||
</span>
|
</span>
|
||||||
Sign in
|
Login
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -50,7 +50,7 @@ export function LoginCallback() {
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
<p className="text-lg text-primary-600 mt-2">Logging You in, just a moment.</p>
|
<p className="text-lg text-primary-600 mt-2">Du wirst jetzt eingeloggt.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue