adjust login screen

pull/1/head
Philipp Rothmann 2022-10-26 13:53:02 +02:00
parent db00cd7dde
commit 28dfe95ca6
3 changed files with 5 additions and 18 deletions

View File

@ -125,19 +125,6 @@ const HeaderLIT: React.FC<HeaderProps> = () => {
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.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>
{({ active }) => (
<a
@ -148,7 +135,7 @@ const HeaderLIT: React.FC<HeaderProps> = () => {
'block px-4 py-2 text-sm text-gray-700 cursor-pointer',
)}
>
Sign out
Logout
</a>
)}
</Menu.Item>

View File

@ -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="max-w-md w-full space-y-8">
<div className="flex justify-center">
<img className="lg:block" src="assets/logo.svg" alt="Stackspin" />
<h2 className="mt-6 text-center text-xl font-bold text-gray-900 sr-only">Sign in</h2>
<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">Einloggen</h2>
</div>
<button
onClick={handleSubmit}
@ -42,7 +42,7 @@ export function Login() {
<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" />
</span>
Sign in
Login
</button>
</div>
</div>

View File

@ -50,7 +50,7 @@ export function LoginCallback() {
/>
</svg>
</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>