<script>
	import { projects } from '$lib/projects.js';
	import ProjectCard from './ProjectCard/ProjectCard.svelte';
	let { category } = $props();
</script>

{#each projects as project}
	{#if project.category === category}
		<ProjectCard {...project} />
	{/if}
{/each}
