active season/icon highlighted insteas of using text

This commit is contained in:
2023-07-14 14:33:06 +02:00
parent f8b5160f2d
commit 52858e46ff
5 changed files with 18 additions and 17 deletions

View File

@@ -11,8 +11,7 @@
import { rand_array } from '$lib/js/randomize';
</script>
<SeasonLayout>
<h2 slot=test>Rezepte des Monats </h2>
<SeasonLayout active_index={current_month-1}>
<Recipes slot=recipes>
{#each rand_array(data.season) as recipe}
<Card {recipe} {current_month}></Card>