feat: athiti font
This commit is contained in:
parent
ae056cd88c
commit
391186d01f
@ -42,6 +42,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@fontsource/athiti": "^5.2.5",
|
||||||
"@odit/lfk-client-js": "1.1.3",
|
"@odit/lfk-client-js": "1.1.3",
|
||||||
"@paralleldrive/cuid2": "2.2.2",
|
"@paralleldrive/cuid2": "2.2.2",
|
||||||
"@tanstack/svelte-table": "8.9.1",
|
"@tanstack/svelte-table": "8.9.1",
|
||||||
|
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
|
||||||
'@odit/lfk-client-js':
|
'@odit/lfk-client-js':
|
||||||
specifier: 1.1.3
|
specifier: 1.1.3
|
||||||
version: 1.1.3
|
version: 1.1.3
|
||||||
@ -231,6 +234,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@1.11.4':
|
'@formatjs/ecma402-abstract@1.11.4':
|
||||||
resolution: {integrity: sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==}
|
resolution: {integrity: sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==}
|
||||||
|
|
||||||
@ -2024,6 +2030,8 @@ snapshots:
|
|||||||
'@esbuild/win32-x64@0.17.16':
|
'@esbuild/win32-x64@0.17.16':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
'@fontsource/athiti@5.2.5': {}
|
||||||
|
|
||||||
'@formatjs/ecma402-abstract@1.11.4':
|
'@formatjs/ecma402-abstract@1.11.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@formatjs/intl-localematcher': 0.2.25
|
'@formatjs/intl-localematcher': 0.2.25
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("cards")}
|
{$_("cards")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("CARD:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("CARD:CREATE")}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("contacts")}
|
{$_("contacts")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("CONTACT:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("CONTACT:CREATE")}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="p-2 md:p-5 overflow-x-hidden">
|
<div class="p-2 md:p-5 overflow-x-hidden">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("dashboard-greeting")} <span class="text-blue-500"
|
{$_("dashboard-greeting")} <span class="text-blue-500"
|
||||||
>{store.state.jwtinfo.userdetails.firstname}
|
>{store.state.jwtinfo.userdetails.firstname}
|
||||||
{store.state.jwtinfo.userdetails.lastname}</span
|
{store.state.jwtinfo.userdetails.lastname}</span
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("donations")}
|
{$_("donations")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("DONATION:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("DONATION:CREATE")}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("donors")}
|
{$_("donors")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("DONOR:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("DONOR:CREATE")}
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<!-- /// -->
|
<!-- /// -->
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("about")}
|
{$_("about")}
|
||||||
</h4>
|
</h4>
|
||||||
<p class="mt-2 mb-2">
|
<p class="mt-2 mb-2">
|
||||||
@ -109,7 +109,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<span>{$_("lfk-is-os")}</span>
|
<span>{$_("lfk-is-os")}</span>
|
||||||
</p>
|
</p>
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("credits")}
|
{$_("credits")}
|
||||||
</h4>
|
</h4>
|
||||||
<p class="text-left">{$_("oss_credit_description")}</p>
|
<p class="text-left">{$_("oss_credit_description")}</p>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("user-groups")}
|
{$_("user-groups")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("USERGROUP:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("USERGROUP:CREATE")}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("organizations")}
|
{$_("organizations")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("ORGANIZATION:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("ORGANIZATION:CREATE")}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("runners")}
|
{$_("runners")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:CREATE")}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("scans")}
|
{$_("scans")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("SCAN:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("SCAN:CREATE")}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("scanstations")}
|
{$_("scanstations")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("STATION:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("STATION:CREATE")}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("statsclients")}
|
{$_("statsclients")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("STATSCLIENT:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("STATSCLIENT:CREATE")}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("teams")}
|
{$_("teams")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("TEAM:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("TEAM:CREATE")}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("tracks")}
|
{$_("tracks")}
|
||||||
</h4>
|
</h4>
|
||||||
<button
|
<button
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="container p-5">
|
<section class="container p-5">
|
||||||
<h4 class="mb-1 text-3xl font-extrabold leading-tight font-mono">
|
<h4 class="mb-1 text-3xl font-extrabold leading-tight">
|
||||||
{$_("users")}
|
{$_("users")}
|
||||||
</h4>
|
</h4>
|
||||||
{#if store.state.jwtinfo.userdetails.permissions.includes("USER:CREATE")}
|
{#if store.state.jwtinfo.userdetails.permissions.includes("USER:CREATE")}
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
import "./style.css";
|
import "./style.css";
|
||||||
import App from "./App.svelte";
|
import App from "./App.svelte";
|
||||||
|
import '@fontsource/athiti/200.css';
|
||||||
|
import '@fontsource/athiti/300.css';
|
||||||
|
import '@fontsource/athiti/400.css';
|
||||||
|
import '@fontsource/athiti/500.css';
|
||||||
|
import '@fontsource/athiti/600.css';
|
||||||
|
import '@fontsource/athiti/700.css';
|
||||||
|
|
||||||
const app = new App({
|
const app = new App({
|
||||||
target: document.body,
|
target: document.body,
|
||||||
|
@ -4,4 +4,7 @@
|
|||||||
@apply bg-gray-300;
|
@apply bg-gray-300;
|
||||||
@apply text-black;
|
@apply text-black;
|
||||||
}
|
}
|
||||||
|
*{
|
||||||
|
font-family: Athiti;
|
||||||
|
}
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user