Files
bibdle/src/lib/components/ProgressStatCard.svelte
George Powell 3eb3a968dc feat: add progress page with activity calendar, book grid, and insights
Adds a new /progress route showing a personalized Bible knowledge dashboard
with stat cards, book mastery grid, 30-day activity calendar, skill growth
chart, streak milestones, and section insights. Links added from WinScreen
(logged-in users) and DevButtons.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 23:33:47 -04:00

26 lines
677 B
Svelte

<script lang="ts">
import Container from "$lib/components/Container.svelte";
interface Props {
emoji: string;
value: string;
label: string;
colorClass: string;
suffix?: string;
}
let { emoji, value, label, colorClass, suffix }: Props = $props();
</script>
<Container class="p-4 md:p-6 w-full">
<div class="text-center w-full">
<div class="text-2xl md:text-3xl mb-1">{emoji}</div>
<div class="text-2xl md:text-3xl font-bold {colorClass} mb-1">
{value}{#if suffix}<span class="text-base font-normal text-gray-400"
>&nbsp;{suffix}</span
>{/if}
</div>
<div class="text-xs md:text-sm text-gray-300 font-medium">{label}</div>
</div>
</Container>