update font to match lfk 2023 branding
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Philipp Dormann 2023-04-15 20:45:28 +02:00
parent b483ed1e49
commit 70a6120447
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
6 changed files with 90 additions and 56 deletions

View File

@ -6,6 +6,9 @@
<title>LfK!Beamershow</title>
<base href="./" />
<link rel="icon" type="image/png" href="./favicon.png" />
<style>
* { font-family: "Athiti", sans-serif; }
</style>
</head>
<body class="bg-white font-family-karla h-screen">

View File

@ -1,3 +1,11 @@
# @fontsource/athiti
**Author**: Lotus <declininglotus@gmail.com>
**Repo**: https://github.com/fontsource/fontsource
**License**: MIT
**Description**: Self-host the Athiti font in a neatly bundled NPM package.
## License Text
# @odit/license-exporter
**Author**: ODIT.Services
**Repo**: https://git.odit.services/odit/license-exporter

View File

@ -1,48 +1,51 @@
{
"name": "@lfk/beamershow",
"version": "0.1.5",
"scripts": {
"dev": "vite",
"build": "vite build",
"format": "prettier --write --plugin-search-dir=. ./**/*.html ./**/*.svelte",
"prepare": "husky install",
"license:export": "license-exporter --markdown && git stage licenses.md",
"release": "release-it --only-version"
},
"devDependencies": {
"@odit/license-exporter": "0.0.11",
"@svitejs/vite-plugin-svelte": "0.11.1",
"@tsconfig/svelte": "1.0.10",
"@types/html-minifier": "4.0.0",
"axios": "0.21.1",
"html-minifier": "4.0.0",
"husky": "5.1.3",
"prettier": "2.2.1",
"prettier-plugin-svelte": "2.2.0",
"release-it": "14.5.0",
"svelte": "3.36.0",
"svelte-i18n": "3.3.9",
"svelte-preprocess": "4.7.0",
"validator": "13.5.2",
"vite": "2.1.4",
"vite-plugin-windicss": "0.11.2"
},
"release-it": {
"git": {
"commit": true,
"requireCleanWorkingDir": false,
"commitMessage": "🚀Bumped version to ${version}",
"requireBranch": "main",
"push": false,
"tag": true,
"tagName": null,
"tagAnnotation": "${version}"
},
"npm": {
"publish": false
},
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false -p -u --hide-credit && git add CHANGELOG.md && node order.js && git add src/locales"
}
}
}
{
"name": "@lfk/beamershow",
"version": "0.1.5",
"scripts": {
"dev": "vite",
"build": "vite build",
"format": "prettier --write --plugin-search-dir=. ./**/*.html ./**/*.svelte",
"prepare": "husky install",
"license:export": "license-exporter --markdown && git stage licenses.md",
"release": "release-it --only-version"
},
"devDependencies": {
"@odit/license-exporter": "0.0.11",
"@svitejs/vite-plugin-svelte": "0.11.1",
"@tsconfig/svelte": "1.0.10",
"@types/html-minifier": "4.0.0",
"axios": "0.21.1",
"html-minifier": "4.0.0",
"husky": "5.1.3",
"prettier": "2.2.1",
"prettier-plugin-svelte": "2.2.0",
"release-it": "14.5.0",
"svelte": "3.36.0",
"svelte-i18n": "3.3.9",
"svelte-preprocess": "4.7.0",
"validator": "13.5.2",
"vite": "2.1.4",
"vite-plugin-windicss": "0.11.2"
},
"release-it": {
"git": {
"commit": true,
"requireCleanWorkingDir": false,
"commitMessage": "🚀Bumped version to ${version}",
"requireBranch": "main",
"push": false,
"tag": true,
"tagName": null,
"tagAnnotation": "${version}"
},
"npm": {
"publish": false
},
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false -p -u --hide-credit && git add CHANGELOG.md && node order.js && git add src/locales"
}
},
"dependencies": {
"@fontsource/athiti": "^4.5.10"
}
}

View File

@ -1,5 +1,10 @@
lockfileVersion: '6.0'
dependencies:
'@fontsource/athiti':
specifier: ^4.5.10
version: 4.5.10
devDependencies:
'@odit/license-exporter':
specifier: 0.0.11
@ -73,6 +78,10 @@ packages:
js-tokens: 4.0.0
dev: true
/@fontsource/athiti@4.5.10:
resolution: {integrity: sha512-46/sR0kTwwBdvTsWYNi6FVnPGg/GDWa+FQSuMMckVyd0zXAVyCghw4hNngf3A7iwPwl/BynSYjfRLdh67LUavQ==}
dev: false
/@formatjs/ecma402-abstract@1.11.4:
resolution: {integrity: sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==}
dependencies:

View File

@ -151,7 +151,7 @@
<!-- -->
<div class="flex flex-wrap -mx-1 overflow-hidden mt-5">
<div class="my-1 px-1 w-full overflow-hidden sm:w-1/2 md:w-1/3">
<h1 class="text-5xl font-semibold text-center text-gray-900">
<h1 class="text-5xl font-bold text-center text-gray-900">
{general.total_runners || "0"}
</h1>
<h1 class="text-2xl font-semibold text-center text-gray-900">
@ -159,7 +159,7 @@
</h1>
</div>
<div class="my-1 px-1 w-full overflow-hidden sm:w-1/2 md:w-1/3">
<h1 class="text-5xl font-semibold text-center text-gray-900">
<h1 class="text-5xl font-bold text-center text-gray-900">
{general.total_distance || "0"}
</h1>
<h1 class="text-2xl font-semibold text-center text-gray-900">
@ -167,7 +167,7 @@
</h1>
</div>
<div class="my-1 px-1 w-full overflow-hidden sm:w-1/2 md:w-1/3">
<h1 class="text-5xl font-semibold text-center text-gray-900">
<h1 class="text-5xl font-bold text-center text-gray-900">
{parseFloat(
((general.total_donation || 0) / 100).toFixed(2)
).toLocaleString(undefined, {
@ -188,7 +188,9 @@
>
{$_("top-laeufer")} ({$_("distanz")})
</h1>
<table class="table p-4 bg-white shadow rounded-lg w-full">
<table
class="table font-semibold p-4 bg-white shadow rounded-lg w-full"
>
<thead>
<tr>
<th
@ -242,9 +244,13 @@
{$_("top-laeufer")} ({$_("rundenzeit")})
</h1>
{#if runners_by_laptime.length === 0}
<p class="w-full text-center text-3xl font-semibold">Noch keine Daten...</p>
<p class="w-full text-center text-3xl font-semibold">
Noch keine Daten...
</p>
{:else}
<table class="table p-4 bg-white shadow rounded-lg w-full">
<table
class="table font-semibold p-4 bg-white shadow rounded-lg w-full"
>
<thead>
<tr>
<th
@ -298,7 +304,9 @@
>
{$_("top-organsiationen")}
</h1>
<table class="table p-4 bg-white shadow rounded-lg w-full">
<table
class="table font-semibold p-4 bg-white shadow rounded-lg w-full"
>
<thead>
<tr>
<th
@ -342,7 +350,9 @@
>
{$_("top-teams")}
</h1>
<table class="table p-4 bg-white shadow rounded-lg w-full">
<table
class="table font-semibold p-4 bg-white shadow rounded-lg w-full"
>
<thead>
<tr>
<th

View File

@ -1,5 +1,6 @@
import App from './App.svelte';
import 'windi.css';
import "@fontsource/athiti"
const app = new App({
target: document.body