<script>
	import { projects } from '$lib/projects.js';
	import ProjectCard from './ProjectCard/ProjectCard.svelte';
	export let category;
</script>

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