add live statistics
All checks were successful
deploy / build-and-deploy (push) Successful in 22s

This commit is contained in:
2025-11-11 01:53:56 +01:00
parent dfc1425c6b
commit 5ce2db9040
26 changed files with 1168 additions and 817 deletions

View File

@@ -1,7 +1,6 @@
<script lang="ts">
import { getContext, type Snippet } from 'svelte';
import type { Writable } from 'svelte/store';
import Icon from '@iconify/svelte';
// types
interface Props {
@@ -37,9 +36,9 @@
<button class="flex items-center gap-1" onclick={() => onButtonClick()}>
<span>{@render children?.()}</span>
{#if $headerKey === key && asc}
<Icon icon="heroicons:chevron-up-16-solid" />
<span class="iconify iconify-[heroicons--chevron-up-16-solid]"></span>
{:else}
<Icon icon="heroicons:chevron-down-16-solid" />
<span class="iconify iconify-[heroicons--chevron-down-16-solid]"></span>
{/if}
</button>
{:else}