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 NamesGenerator from '@/components/generators/NamesGenerator.astro';
|
||||
import { generators } from '@/data/generators';
|
||||
|
||||
const generator = generators.find((g) => g.slug === 'names')!;
|
||||
---
|
||||
|
||||
<GeneratorLayout generator={generator}>
|
||||
<NamesGenerator />
|
||||
</GeneratorLayout>
|
||||
Reference in New Issue
Block a user