chore(deps): bump
This commit is contained in:
4
src/app.css
Normal file
4
src/app.css
Normal file
@@ -0,0 +1,4 @@
|
||||
@import 'tailwindcss';
|
||||
* {
|
||||
font-family: 'Athiti', sans-serif;
|
||||
}
|
||||
@@ -5,11 +5,6 @@
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
%sveltekit.head%
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Athiti', sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div style="display: contents">%sveltekit.body%</div>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
/* Write your global styles here, in PostCSS syntax */
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
@@ -1,7 +1,7 @@
|
||||
<script>
|
||||
import { OpenAPI } from '@odit/lfk-client-js';
|
||||
import '../app.postcss';
|
||||
import '@fontsource/athiti';
|
||||
import '../app.css';
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
OpenAPI.BASE = 'https://run.lauf-fuer-kaya.de';
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<!-- End Title -->
|
||||
|
||||
<div class="mt-5 max-w-3xl text-center mx-auto">
|
||||
<p class="text-lg text-gray-600 dark:text-gray-400">Für die Anmeldung vor Ort</p>
|
||||
<p class="text-lg text-neutral-800 dark:text-gray-400">Für die Anmeldung vor Ort</p>
|
||||
</div>
|
||||
<div class="w-full max-w-md mx-auto p-6">
|
||||
<div
|
||||
@@ -51,14 +51,14 @@
|
||||
<div class="p-4 sm:p-7">
|
||||
<div class="text-center mb-8">
|
||||
<h1 class="block text-2xl font-bold text-gray-800 dark:text-white">Anmeldung</h1>
|
||||
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
|
||||
<p class="mt-2 text-neutral-800 dark:text-gray-400">
|
||||
Hierfür wird ein LfK Läufersystem Account benötigt
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{#if loginError}
|
||||
<div
|
||||
class="bg-red-500 text-sm text-white text-center font-semibold rounded-md shadow-lg mb-8"
|
||||
class="bg-red-500 text-white text-center font-semibold rounded-md shadow-lg mb-8"
|
||||
role="alert"
|
||||
>
|
||||
<div class="p-4">Falscher Nutzername oder falsches Passwort</div>
|
||||
@@ -70,7 +70,7 @@
|
||||
<div class="grid gap-y-4">
|
||||
<!-- Form Group -->
|
||||
<div>
|
||||
<label for="username" class="block text-sm mb-2 dark:text-white">Benutzername</label
|
||||
<label for="username" class="block mb-2 dark:text-white">Benutzername</label
|
||||
>
|
||||
<div class="relative">
|
||||
<input
|
||||
@@ -79,7 +79,7 @@
|
||||
type="username"
|
||||
id="username"
|
||||
name="username"
|
||||
class="py-3 px-4 block w-full border-gray-200 rounded-md text-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 border"
|
||||
class="py-3 px-4 block w-full border-gray-200 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 border"
|
||||
required
|
||||
aria-describedby="username-error"
|
||||
/>
|
||||
@@ -90,7 +90,7 @@
|
||||
<!-- Form Group -->
|
||||
<div>
|
||||
<div class="flex justify-between items-center">
|
||||
<label for="password" class="block text-sm mb-2 dark:text-white">Passwort</label>
|
||||
<label for="password" class="block mb-2 dark:text-white">Passwort</label>
|
||||
</div>
|
||||
<div class="relative">
|
||||
<input
|
||||
@@ -99,7 +99,7 @@
|
||||
type="password"
|
||||
id="password"
|
||||
name="password"
|
||||
class="py-3 px-4 block w-full border-gray-200 rounded-md text-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 border"
|
||||
class="py-3 px-4 block w-full border-gray-200 rounded-md focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 border"
|
||||
required
|
||||
aria-describedby="password-error"
|
||||
/>
|
||||
@@ -109,7 +109,7 @@
|
||||
|
||||
<button
|
||||
type="submit"
|
||||
class="py-3 px-4 inline-flex justify-center items-center gap-2 rounded-md border border-transparent font-semibold bg-blue-500 text-white hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all text-sm dark:focus:ring-offset-gray-800"
|
||||
class="py-3 px-4 inline-flex justify-center items-center gap-2 rounded-md border border-transparent font-semibold bg-blue-500 text-white hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all dark:focus:ring-offset-gray-800"
|
||||
>Anmelden</button
|
||||
>
|
||||
</div>
|
||||
|
||||
@@ -275,7 +275,7 @@
|
||||
id="submit"
|
||||
type="submit"
|
||||
disabled={!firstname || !lastname}
|
||||
class="py-3 px-4 inline-flex justify-center items-center gap-2 rounded-md border border-transparent font-semibold disabled:opacity-70 bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all dark:focus:ring-offset-gray-800"
|
||||
class="py-3 px-4 inline-flex justify-center items-center gap-2 rounded-md border border-transparent font-semibold disabled:opacity-70 bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all dark:focus:ring-offset-gray-800 cursor-pointer"
|
||||
>Anmelden</button
|
||||
>
|
||||
</div>
|
||||
@@ -307,7 +307,7 @@
|
||||
showResult = false;
|
||||
focusFirstName();
|
||||
}}
|
||||
class="w-full py-3 px-4 inline-flex justify-center items-center gap-2 rounded-md border border-transparent font-semibold bg-blue-500 text-white hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all text-sm dark:focus:ring-offset-gray-800"
|
||||
class="w-full py-3 px-4 inline-flex justify-center items-center gap-2 rounded-md border border-transparent font-semibold bg-blue-500 text-white hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all text-sm dark:focus:ring-offset-gray-800 cursor-pointer"
|
||||
>Fertig</button
|
||||
>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user