cleanups, brand font, etc.
This commit is contained in:
parent
22a8953332
commit
b7c1ce947c
@ -26,6 +26,7 @@
|
|||||||
"vite": "^6.2.0"
|
"vite": "^6.2.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@fontsource/athiti": "^5.2.5",
|
||||||
"@tailwindcss/vite": "^4.1.3",
|
"@tailwindcss/vite": "^4.1.3",
|
||||||
"tailwindcss": "^4.1.3",
|
"tailwindcss": "^4.1.3",
|
||||||
"validator": "13.15.0"
|
"validator": "13.15.0"
|
||||||
|
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
@ -8,6 +8,9 @@ importers:
|
|||||||
|
|
||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@fontsource/athiti':
|
||||||
|
specifier: ^5.2.5
|
||||||
|
version: 5.2.5
|
||||||
'@tailwindcss/vite':
|
'@tailwindcss/vite':
|
||||||
specifier: ^4.1.3
|
specifier: ^4.1.3
|
||||||
version: 4.1.3(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.29.2))
|
version: 4.1.3(vite@6.2.5(@types/node@22.14.0)(jiti@2.4.2)(lightningcss@1.29.2))
|
||||||
@ -357,6 +360,9 @@ packages:
|
|||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
|
'@fontsource/athiti@5.2.5':
|
||||||
|
resolution: {integrity: sha512-vHoAKBBw+wI4y3bGOkiogOkgcoLH7+SWtNNo/nBQ1XfhvfRPX/91xGtclEdwqUlbOJTCkNzEecdKChJQ5MsDFg==}
|
||||||
|
|
||||||
'@formatjs/ecma402-abstract@2.3.4':
|
'@formatjs/ecma402-abstract@2.3.4':
|
||||||
resolution: {integrity: sha512-qrycXDeaORzIqNhBOx0btnhpD1c+/qFIHAN9znofuMJX6QBwtbrmlpWfD4oiUUD2vJUOIYFA/gYtg2KAMGG7sA==}
|
resolution: {integrity: sha512-qrycXDeaORzIqNhBOx0btnhpD1c+/qFIHAN9znofuMJX6QBwtbrmlpWfD4oiUUD2vJUOIYFA/gYtg2KAMGG7sA==}
|
||||||
|
|
||||||
@ -2306,6 +2312,8 @@ snapshots:
|
|||||||
'@esbuild/win32-x64@0.25.2':
|
'@esbuild/win32-x64@0.25.2':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
'@fontsource/athiti@5.2.5': {}
|
||||||
|
|
||||||
'@formatjs/ecma402-abstract@2.3.4':
|
'@formatjs/ecma402-abstract@2.3.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@formatjs/fast-memoize': 2.2.7
|
'@formatjs/fast-memoize': 2.2.7
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<script>
|
<script lang="ts">
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import { _ } from "svelte-i18n";
|
import { _ } from "svelte-i18n";
|
||||||
import { apikey, api_endpoint, page, stationinfo } from "./store.js";
|
import { apikey, api_endpoint, page, stationinfo } from "./store.js";
|
||||||
function init(el) {
|
function init(el: HTMLInputElement) {
|
||||||
el.focus();
|
el.focus();
|
||||||
}
|
}
|
||||||
let lastscan_error = "";
|
let lastscan_error = "";
|
||||||
@ -29,7 +29,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="my-1 px-1 w-1/3 overflow-hidden text-center self-center">
|
<div class="my-1 px-1 w-1/3 overflow-hidden text-center self-center">
|
||||||
Lauf Für Kaya! Scan
|
LfK!Scan
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="my-1 px-1 w-1/3 overflow-hidden text-center self-center">
|
<div class="my-1 px-1 w-1/3 overflow-hidden text-center self-center">
|
||||||
@ -100,11 +100,11 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<label class="block">
|
<label class="block">
|
||||||
<span class="block mb-1 text-xs font-medium text-gray-700"
|
<span class="block text-base font-semibold text-gray-700"
|
||||||
>{$_("runner_card")}</span
|
>{$_("runner_card")}</span
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 mt-1 leading-tight focus:outline-none focus:shadow-outline"
|
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="123456789"
|
placeholder="123456789"
|
||||||
required
|
required
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
on:click={() => {
|
on:click={() => {
|
||||||
page.set("");
|
page.set("");
|
||||||
}}
|
}}
|
||||||
class="mb-3 w-full py-3 border-black border-3 text-black focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black"
|
class="mb-3 w-full py-3 border-black border-3 text-black focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black cursor-pointer"
|
||||||
>{$_("back_to_scanner")}</button
|
>{$_("back_to_scanner")}</button
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
@ -108,7 +108,7 @@
|
|||||||
api_endpoint.set("");
|
api_endpoint.set("");
|
||||||
page.set("");
|
page.set("");
|
||||||
}}
|
}}
|
||||||
class="w-full py-3 bg-black text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black"
|
class="w-full py-3 bg-black text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black cursor-pointer"
|
||||||
>{$_("log_out_from_this_client")}</button
|
>{$_("log_out_from_this_client")}</button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1 +1,4 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
|
body {
|
||||||
|
font-family: "Athiti", sans-serif;
|
||||||
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import { mount } from 'svelte'
|
import { mount } from 'svelte'
|
||||||
|
import '@fontsource/athiti';
|
||||||
import './app.css'
|
import './app.css'
|
||||||
import App from './App.svelte'
|
import App from './App.svelte'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user