fix(meme-generator): split into settings + preview panels, fix thumbnail URLs

- Created meme-store.ts Zustand store for shared state between panels
- Split monolithic component into meme-generator-preview.tsx (main area)
  and meme-generator-settings.tsx (sidebar)
- Added ResultsPanel to tool registry entry
- Fixed thumbnail URLs (.jpg -> .webp extension)
- Fixed text overlay sizing and positioning
This commit is contained in:
SnapOtter
2026-05-08 17:16:45 +08:00
parent 68ed34ec29
commit 1569cc26f2
3 changed files with 29 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

@@ -3028,6 +3028,35 @@
"defaultText": "Bottom text"
}
]
},
{
"id": "grumpy-cat",
"name": "Grumpy Cat",
"aliases": [],
"tags": ["grumpy", "cat"],
"category": "animals",
"filename": "grumpy-cat.jpg",
"width": 800,
"height": 600,
"popularity": 101,
"textBoxes": [
{
"id": "top",
"x": 5,
"y": 2,
"width": 90,
"height": 20,
"defaultText": "Top text"
},
{
"id": "bottom",
"x": 5,
"y": 78,
"width": 90,
"height": 20,
"defaultText": "Bottom text"
}
]
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB