<script>
	import commitCard from "./commitCard.svelte";

	let { data } = $props();
	let commits = data.data.commits;
	import "./card.scss";
</script>

<table class="commitContainer">
	<caption>Git Commits of the website repo</caption>
	<tbody>
		{#each commits as commit}
			{@render commitCard(commit)}
		{/each}
	</tbody>
</table>
