mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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:
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 |
Reference in New Issue
Block a user