remove bloat fonts, get rid of svelte-i18n

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-07-24 06:15:19 +03:00
parent bf95c575eb
commit e3692f90b1
53 changed files with 1965 additions and 2616 deletions

View File

@@ -0,0 +1,35 @@
<script>
import { click } from "$lib/util.js";
import { page } from "$app/stores";
export let link;
</script>
<a
class={$page.url.pathname === link ? "active" : "inactive"}
data-sveltekit-preload-data
on:click={click}
href={link}
>
<slot></slot>
</a>
<style>
a {
font-weight: 600;
font-size: var(--size-3);
color: var(--white-1);
text-decoration: none;
text-decoration-color: var(--color);
}
a:hover {
color: var(--color);
text-decoration: underline;
}
.active {
color: var(--color);
}
</style>