refactor: separate components

This commit is contained in:
2026-10-04 08:48:14 +05:00
parent f89811c116
commit c4eab38866
63 changed files with 529 additions and 645 deletions
@@ -0,0 +1,31 @@
<script lang="ts">
interface Props {
caption: string;
value: string;
}
let { caption, value }: Props = $props();
</script>
<div class="meta-row">
<span class="meta-caption">{caption}</span>
<b class="meta-value">{value}</b>
</div>
<style>
.meta-row {
gap: var(--space-s);
display: grid;
}
.meta-caption {
font-family: var(--font-mono);
font-size: var(--font-size-s);
color: var(--color-text-muted);
line-height: normal;
}
.meta-value {
margin-top: var(--space-s);
line-height: normal;
font: var(--font-size-s) var(--font-mono);
color: var(--color-text);
}
</style>