feat: remove options page and add edit page
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/** @typedef {import('../flowerFlow/jobStore.js').MoodAnalysis} MoodAnalysis */
|
||||
/** @typedef {import('../flowerFlow/jobStore.js').BouquetRecipe} BouquetRecipe */
|
||||
/** @typedef {import('../flowerFlow/jobStore.js').BouquetSize} BouquetSize */
|
||||
|
||||
/** @returns {MoodAnalysis} */
|
||||
export function mockMoodAnalysis() {
|
||||
@@ -46,11 +45,11 @@ export function mockImagePrompt(recipe) {
|
||||
].join(' ');
|
||||
}
|
||||
|
||||
/** @param {BouquetSize} size */
|
||||
export function mockGeneratedImage(size) {
|
||||
/** @param {string} [label] */
|
||||
export function mockGeneratedImage(label = 'Bouquet') {
|
||||
const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="768" height="1024" viewBox="0 0 768 1024">
|
||||
<rect width="768" height="1024" fill="#f7f3ef"/>
|
||||
<text x="50%" y="48%" text-anchor="middle" font-size="42" fill="#6b5b53" font-family="Arial">Mock Bouquet ${size}</text>
|
||||
<text x="50%" y="48%" text-anchor="middle" font-size="42" fill="#6b5b53" font-family="Arial">Mock ${label}</text>
|
||||
<text x="50%" y="54%" text-anchor="middle" font-size="22" fill="#9a8d84" font-family="Arial">Set GEMINI_API_KEY for real images</text>
|
||||
</svg>`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user