-
Notifications
You must be signed in to change notification settings - Fork 209
/
Copy pathprasadam.js
478 lines (471 loc) · 11.8 KB
/
prasadam.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
const recipes = {
kheer: {
title: "Kheer",
prepTime: "10 mins",
cookTime: "45 mins",
ingredients: [
"1 liter full-fat milk",
"¼ cup basmati rice",
"½ cup sugar",
"4-5 cardamom pods, crushed",
"¼ cup mixed nuts (almonds, pistachios)",
"Few strands of saffron",
"2 tablespoons raisins (optional)"
],
instructions: [
"Wash and soak the rice for 30 minutes",
"Bring the milk to a boil in a heavy-bottomed pan",
"Add the drained rice and simmer on low heat",
"Stir occasionally to prevent sticking",
"When rice is fully cooked (about 30 minutes), add sugar",
"Add cardamom powder and crushed saffron",
"Cook for another 5-10 minutes until thickened",
"Garnish with chopped nuts and serve hot or cold"
]
},
puri: {
title: "Puri",
prepTime: "20 mins",
cookTime: "15 mins",
ingredients: [
"2 cups whole wheat flour",
"½ teaspoon salt",
"Water for kneading",
"Oil for deep frying"
],
instructions: [
"Mix wheat flour and salt in a bowl",
"Add water gradually and knead into firm dough",
"Cover and let rest for 15-20 minutes",
"Divide into small balls",
"Roll each ball into circular shape",
"Heat oil in a deep pan",
"Fry puris until golden brown on both sides",
"Serve hot with curry or halwa"
]
},
halwa: {
title: "Halwa",
prepTime: "15 mins",
cookTime: "30 mins",
ingredients: [
"1 cup semolina (sooji/rava)",
"1 cup sugar",
"½ cup ghee",
"3 cups water",
"½ teaspoon cardamom powder",
"Chopped nuts for garnishing"
],
instructions: [
"Roast semolina in ghee until golden brown",
"Boil water with sugar separately",
"Add the hot water mixture to roasted semolina",
"Stir continuously to avoid lumps",
"Add cardamom powder",
"Cook until the mixture thickens",
"Garnish with nuts and serve hot"
]
},
ladoo: {
title: "Ladoo",
prepTime: "30 mins",
cookTime: "20 mins",
ingredients: [
"2 cups besan (gram flour)",
"1 cup ghee",
"1 cup powdered sugar",
"½ teaspoon cardamom powder",
"Chopped nuts (optional)"
],
instructions: [
"Roast besan in ghee on low flame until aromatic",
"Let the mixture cool completely",
"Add powdered sugar and cardamom powder",
"Mix well until combined",
"Shape into round balls while still warm",
"Let cool completely before storing",
"Can be stored in an airtight container for weeks"
]
},
"chappan-bhog": {
title: "Chappan Bhog",
prepTime: "3 hours",
cookTime: "4 hours",
ingredients: [
"Various sweet dishes",
"Savory snacks",
"Fruits and dry fruits",
"Drinks and sherbets",
"Different varieties of sweets",
"Various milk-based preparations"
],
instructions: [
"Prepare all 56 items with pure ingredients",
"Arrange items in specific order",
"Include various categories of food",
"Offer fruits and dry fruits",
"Include drinks and sherbets",
"Arrange milk-based preparations",
"Present with devotion and proper rituals"
]
},
panchamrit: {
title: "Panchamrit",
prepTime: "10 mins",
cookTime: "0 mins",
ingredients: [
"1 cup milk",
"2 tablespoons yogurt",
"1 tablespoon honey",
"2 tablespoons sugar",
"1 teaspoon ghee",
"Few holy basil leaves (optional)",
"A pinch of cardamom powder"
],
instructions: [
"Mix milk and yogurt in a bowl",
"Add honey and sugar",
"Add ghee and mix well",
"Add cardamom powder",
"Optional: add crushed holy basil leaves",
"Mix all ingredients thoroughly",
"Offer as prasadam"
]
},
"makhan-mishri": {
title: "Makhan Mishri",
prepTime: "15 mins",
cookTime: "0 mins",
ingredients: [
"Fresh white butter",
"Rock sugar (mishri)",
"Cardamom powder (optional)",
"Saffron strands (optional)"
],
instructions: [
"Freshly churn or whip white butter",
"Crush rock sugar to desired size",
"Mix butter and rock sugar",
"Add a pinch of cardamom powder if desired",
"Add few strands of saffron if using",
"Shape into small portions",
"Offer immediately or refrigerate"
]
},
"rajgira-ladoo": {
title: "Rajgira Ladoo",
prepTime: "20 mins",
cookTime: "15 mins",
ingredients: [
"2 cups rajgira flour",
"1 cup jaggery",
"½ cup ghee",
"½ cup mixed nuts",
"Cardamom powder"
],
instructions: [
"Roast rajgira flour in ghee",
"Melt jaggery separately",
"Mix roasted flour with jaggery",
"Add cardamom powder and nuts",
"Shape into ladoos while warm",
"Let cool completely",
"Store in airtight container"
]
},
"dahi-bhalla": {
title: "Dahi Bhalla",
prepTime: "30 mins",
cookTime: "20 mins",
ingredients: [
"1 cup urad dal",
"2 cups thick yogurt",
"Green chutney",
"Tamarind chutney",
"Chaat masala",
"Roasted cumin powder"
],
instructions: [
"Soak and grind urad dal",
"Shape into small dumplings",
"Deep fry until golden",
"Soak in water and squeeze",
"Whisk yogurt until smooth",
"Arrange bhallas with yogurt",
"Add chutneys and spices"
]
},
charnamrit: {
title: "Charnamrit",
prepTime: "10 mins",
cookTime: "0 mins",
ingredients: [
"1 cup milk",
"2 tablespoons yogurt",
"1 tablespoon honey",
"1 tablespoon sugar",
"Tulsi leaves",
"Few drops of Ganga jal"
],
instructions: [
"Mix milk and yogurt",
"Add honey and sugar",
"Add crushed tulsi leaves",
"Add Ganga jal",
"Mix well",
"Offer with devotion",
"Distribute as prasad"
]
},
"sabudana-khichdi": {
title: "Sabudana Khichdi",
prepTime: "4 hours",
cookTime: "20 mins",
ingredients: [
"1 cup sabudana",
"2 medium potatoes",
"½ cup peanuts",
"Cumin seeds",
"Green chilies",
"Salt to taste"
],
instructions: [
"Soak sabudana for 4 hours",
"Roast and crush peanuts",
"Cube potatoes",
"Heat ghee and add cumin",
"Add potatoes and cook",
"Add sabudana and mix",
"Season and serve hot"
]
},
shrikhand: {
title: "Shrikhand",
prepTime: "8 hours",
cookTime: "20 mins",
ingredients: [
"2 cups thick yogurt",
"½ cup powdered sugar",
"Saffron strands",
"Cardamom powder",
"Nuts for garnishing"
],
instructions: [
"Hang yogurt in muslin cloth",
"Add sugar to hung curd",
"Add saffron milk",
"Mix in cardamom powder",
"Whisk until smooth",
"Chill for few hours",
"Garnish with nuts"
]
},
"mohan-bhog": {
title: "Mohan Bhog",
prepTime: "25 mins",
cookTime: "35 mins",
ingredients: [
"1 cup wheat flour",
"½ cup ghee",
"1 cup sugar",
"Cardamom powder",
"Nuts for garnishing"
],
instructions: [
"Roast wheat flour in ghee",
"Add sugar and mix well",
"Add cardamom powder",
"Cook until well combined",
"Shape as desired",
"Garnish with nuts",
"Offer when cooled"
]
},
thekua: {
title: "Thekua",
prepTime: "30 mins",
cookTime: "25 mins",
ingredients: [
"2 cups wheat flour",
"1 cup jaggery",
"½ cup ghee",
"Cardamom powder",
"Water as needed"
],
instructions: [
"Mix flour and ghee",
"Add jaggery solution",
"Make firm dough",
"Shape using mould",
"Deep fry until golden",
"Cool completely",
"Store in airtight container"
]
},
"besan-barfi": {
title: "Besan Barfi",
prepTime: "15 mins",
cookTime: "25 mins",
ingredients: [
"2 cups besan",
"1 cup ghee",
"1½ cups sugar",
"Cardamom powder",
"Nuts for garnishing"
],
instructions: [
"Roast besan in ghee",
"Make sugar syrup separately",
"Mix both mixtures",
"Add cardamom powder",
"Pour in greased tray",
"Garnish with nuts",
"Cut when semi-set"
]
},
tilgul: {
title: "Tilgul",
prepTime: "20 mins",
cookTime: "30 mins",
ingredients: [
"2 cups sesame seeds",
"1½ cups jaggery",
"½ cup peanuts",
"Cardamom powder",
"Ghee for binding"
],
instructions: [
"Roast sesame seeds",
"Crush peanuts coarsely",
"Heat jaggery until right consistency",
"Mix all ingredients",
"Shape into balls",
"Let cool completely",
"Store in airtight container"
]
},
peda: {
title: "Peda",
prepTime: "20 mins",
cookTime: "30 mins",
ingredients: [
"2 cups milk powder",
"¾ cup sugar",
"½ cup milk",
"2 tablespoons ghee",
"Cardamom powder",
"Pistachios for garnish"
],
instructions: [
"Heat ghee in a pan",
"Add milk powder and roast",
"Add milk and sugar",
"Cook until thick",
"Add cardamom powder",
"Shape into pedas",
"Garnish with pistachios"
]
},
"banana-chips": {
title: "Banana Chips",
prepTime: "15 mins",
cookTime: "25 mins",
ingredients: [
"4 raw bananas",
"Oil for deep frying",
"Salt to taste",
"Turmeric powder",
"Water with salt"
],
instructions: [
"Slice bananas thinly",
"Soak in salt water",
"Drain and pat dry",
"Heat oil for frying",
"Fry until crisp",
"Season with salt",
"Cool before storing"
]
},
malpua: {
title: "Malpua",
prepTime: "20 mins",
cookTime: "30 mins",
ingredients: [
"1 cup all-purpose flour",
"½ cup milk",
"Sugar for syrup",
"Cardamom powder",
"Ghee for frying",
"Nuts for garnish"
],
instructions: [
"Make smooth batter",
"Prepare sugar syrup",
"Heat ghee in pan",
"Pour batter to make pancakes",
"Fry until golden",
"Soak in sugar syrup",
"Garnish and serve"
]
},
"badam-halwa": {
title: "Badam Halwa",
prepTime: "30 mins",
cookTime: "25 mins",
ingredients: [
"1 cup almonds",
"¾ cup sugar",
"½ cup ghee",
"Cardamom powder",
"Saffron strands",
"Milk as needed"
],
instructions: [
"Soak and peel almonds",
"Make almond paste",
"Heat ghee in pan",
"Add almond paste",
"Add sugar and milk",
"Cook until thick",
"Garnish and serve"
]
}
};
// Modal functionality
const modal = document.getElementById("recipeModal");
const closeButton = document.querySelector(".close-button");
const recipeCards = document.querySelectorAll(".recipe-card");
recipeCards.forEach(card => {
card.addEventListener("click", () => {
const recipe = recipes[card.dataset.recipe];
if (recipe) {
document.getElementById("modalImage").src = card.querySelector("img").src;
document.getElementById("modalTitle").textContent = recipe.title;
document.getElementById("prepTime").textContent = recipe.prepTime;
document.getElementById("cookTime").textContent = recipe.cookTime;
// Populate ingredients
const ingredientsList = document.getElementById("ingredientsList");
ingredientsList.innerHTML = recipe.ingredients
.map(ingredient => `<li>${ingredient}</li>`)
.join("");
// Populate instructions
const instructionsList = document.getElementById("instructionsList");
instructionsList.innerHTML = recipe.instructions
.map(instruction => `<li>${instruction}</li>`)
.join("");
modal.style.display = "block";
document.body.style.overflow = "hidden";
}
});
});
closeButton.addEventListener("click", () => {
modal.style.display = "none";
document.body.style.overflow = "auto";
});
window.addEventListener("click", (event) => {
if (event.target === modal) {
modal.style.display = "none";
document.body.style.overflow = "auto";
}
});