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:
emil
2026-05-13 00:25:09 +03:00
commit 8f11c5af43
161 changed files with 14023 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
---
import GeneratorLayout from '@/layouts/GeneratorLayout.astro';
import NamesGenerator from '@/components/generators/NamesGenerator.astro';
import { generators } from '@/data/generators';
const generator = generators.find((g) => g.slug === 'names')!;
---
<GeneratorLayout generator={generator}>
<NamesGenerator />
</GeneratorLayout>