// Recipe data + ingredient quick-picks. Real Unsplash food imagery. // Photos chosen to match recipe names for visual credibility. const QUICK_INGREDIENTS = [ { zh: '雞蛋', en: 'egg' }, { zh: '番茄', en: 'tomato' }, { zh: '雞肉', en: 'chicken' }, { zh: '洋蔥', en: 'onion' }, { zh: '馬鈴薯', en: 'potato' }, { zh: '豆腐', en: 'tofu' }, { zh: '米飯', en: 'rice' }, { zh: '麵條', en: 'noodle' }, { zh: '青椒', en: 'pepper' }, { zh: '牛肉', en: 'beef' }, { zh: '蝦', en: 'shrimp' }, { zh: '蘑菇', en: 'mushroom' }, { zh: '蔥', en: 'scallion' }, { zh: '蒜', en: 'garlic' }, { zh: '薑', en: 'ginger' }, { zh: '醬油', en: 'soy sauce' }, ]; const SUGGEST = { '雞': ['雞肉', '雞蛋', '雞腿', '雞翅', '雞胸肉'], '番': ['番茄', '番薯', '番茄醬'], '洋': ['洋蔥', '洋菇', '洋芋'], '豆': ['豆腐', '豆芽', '豆漿', '豆乾'], '蝦': ['蝦仁', '蝦米', '草蝦'], '牛': ['牛肉', '牛腩', '牛肋條'], }; // All Unsplash food photography. picsum/source URLs use stable IDs. // Format: photo-{id}?w=1200 const RECIPES = [ { slug: 'tomato-egg-rice', title: '番茄炒蛋蓋飯', subtitle: '酸甜下飯 · 一鍋出,15 分鐘端上桌', img: 'https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1400&q=80', cat: '中餐 · 快手', catSlug: 'chinese', time: 15, cal: 320, rating: 4.8, reviews: 142, diff: '新手', servings: 4, diet: ['素食'], have: ['雞蛋', '番茄', '洋蔥', '米飯'], match: 100, teaser: '番茄汁滲入米粒,蛋花柔嫩。週間夜晚最可靠的一餐。', editor: 'pick', }, { slug: 'omurice', title: '日式蛋包飯', subtitle: '柔軟蛋皮包覆茄汁雞肉飯', img: 'https://images.unsplash.com/photo-1604908176997-125f25cc6f3d?w=1400&q=80', cat: '日料 · 簡單', catSlug: 'japanese', time: 20, cal: 480, rating: 4.6, reviews: 88, diff: '家常', servings: 2, diet: [], have: ['雞蛋', '雞肉', '洋蔥', '米飯'], miss: ['番茄醬'], sub: { '番茄醬': '番茄 + 糖 + 醋 自製' }, match: 80, teaser: '半熟蛋液在飯上劃開的瞬間,是日式洋食最浪漫的時刻。', }, { slug: 'mapo-tofu', title: '麻婆豆腐', subtitle: '川菜經典 · 麻辣鮮香', img: 'https://images.unsplash.com/photo-1582450871972-ab5ca641643d?w=1400&q=80', cat: '中餐 · 川菜', catSlug: 'chinese', time: 25, cal: 380, rating: 4.9, reviews: 213, diff: '家常', servings: 4, diet: [], have: ['豆腐', '蔥', '蒜', '薑'], miss: ['豆瓣醬', '花椒'], match: 60, teaser: '一勺紅油,滾燙的豆腐顫動著等你。', }, { slug: 'cold-soba', title: '日式涼麵', subtitle: '炎夏救星 · 沾汁清涼', img: 'https://images.unsplash.com/photo-1569718212165-3a8278d5f624?w=1400&q=80', cat: '日料 · 涼麵', catSlug: 'japanese', time: 10, cal: 290, rating: 4.5, reviews: 56, diff: '新手', servings: 2, diet: ['素食'], have: ['麵條', '蔥', '醬油'], match: 90, teaser: '冰水裡浸過的蕎麥,蘸柴魚醬汁最對味。', }, { slug: 'roast-chicken', title: '香草烤全雞', subtitle: '週末招待菜 · 外脆內嫩', img: 'https://images.unsplash.com/photo-1598103442097-8b74394b95c6?w=1400&q=80', cat: '西餐 · 烤箱', catSlug: 'western', time: 90, cal: 620, rating: 4.7, reviews: 91, diff: '進階', servings: 4, diet: ['高蛋白'], have: ['雞肉', '馬鈴薯', '洋蔥', '蒜'], miss: ['迷迭香'], match: 80, teaser: '迷迭香與蒜香融進皮下脂肪,是廚房裡最動人的香氣。', }, { slug: 'pasta-aglio', title: '蒜香橄欖油義大利麵', subtitle: '極簡四料 · 義式靈魂', img: 'https://images.unsplash.com/photo-1473093295043-cdd812d0e601?w=1400&q=80', cat: '西餐 · 義麵', catSlug: 'western', time: 15, cal: 410, rating: 4.4, reviews: 67, diff: '新手', servings: 2, diet: ['素食'], have: ['麵條', '蒜', '橄欖油'], match: 90, teaser: '只要四樣材料,做好它就是廚房的成年禮。', }, { slug: 'shrimp-fried-rice', title: '蝦仁蛋炒飯', subtitle: '粒粒分明 · 鑊氣十足', img: 'https://images.unsplash.com/photo-1603133872878-684f208fb84b?w=1400&q=80', cat: '中餐 · 快手', catSlug: 'chinese', time: 12, cal: 450, rating: 4.7, reviews: 124, diff: '家常', servings: 2, diet: ['高蛋白'], have: ['雞蛋', '蝦', '米飯', '蔥'], match: 100, teaser: '隔夜飯與大火,是炒飯的兩個秘密。', }, { slug: 'avocado-toast', title: '酪梨太陽蛋吐司', subtitle: '咖啡廳早午餐標配', img: 'https://images.unsplash.com/photo-1525351484163-7529414344d8?w=1400&q=80', cat: '健康 · 早餐', catSlug: 'healthy', time: 8, cal: 340, rating: 4.3, reviews: 45, diff: '新手', servings: 1, diet: ['素食', '高蛋白'], have: ['雞蛋', '麵包'], miss: ['酪梨'], match: 80, teaser: '一片好吐司、一顆熟酪梨、一個流心蛋,週末就完整了。', }, { slug: 'beef-stew', title: '紅酒燉牛肉', subtitle: '冬夜慢燉 · 入口即化', img: 'https://images.unsplash.com/photo-1547308283-b941e0aaca1f?w=1400&q=80', cat: '西餐 · 燉煮', catSlug: 'western', time: 180, cal: 580, rating: 4.9, reviews: 178, diff: '進階', servings: 6, diet: ['高蛋白'], have: ['牛肉', '洋蔥', '馬鈴薯', '蒜'], miss: ['紅酒', '月桂葉'], match: 60, teaser: '時間是最好的調味料。三小時的耐心,換一鍋暖到指尖的滿足。', }, ]; // Recipe step blueprint for detail page const STEPS_TOMATO_EGG = [ { n: 1, text: '雞蛋打入碗中加少許鹽攪散;番茄切塊;蔥切花備用。', time: null }, { n: 2, text: '熱鍋下油,倒入蛋液,待邊緣凝固即用筷子劃散,七分熟盛起。', time: null }, { n: 3, text: '同鍋下番茄塊,中火炒至出汁、變軟,約 4 分鐘。', time: 240 }, { n: 4, text: '倒回炒蛋,加少許糖、生抽,翻炒均勻。', time: null }, { n: 5, text: '盛在熱白飯上,撒蔥花,立刻上桌。', time: null }, ]; window.QUICK_INGREDIENTS = QUICK_INGREDIENTS; window.SUGGEST = SUGGEST; window.RECIPES = RECIPES; window.STEPS_TOMATO_EGG = STEPS_TOMATO_EGG;