feat: add favorites panel to meal generator, remove redundant Another one button
- Add clickable favorites counter with expandable panel - Render saved recipes list with remove button - Remove duplicate 'Another one' button (Generate already covers it) - Sync favorite button state when removing from panel
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
---
|
||||
import GeneratorLayout from "@/layouts/GeneratorLayout.astro";
|
||||
import ListGenerator from "@/components/generators/ListGenerator.astro";
|
||||
import { generators } from "@/data/generators";
|
||||
|
||||
const generator = generators.find((g) => g.slug === "list")!;
|
||||
---
|
||||
|
||||
<GeneratorLayout generator={generator}>
|
||||
<ListGenerator />
|
||||
</GeneratorLayout>
|
||||
Reference in New Issue
Block a user