Skip to content

Commit 2ddefe3

Browse files
authored
recipe: add Rice recipe (#9)
1 parent 4b0e0fa commit 2ddefe3

5 files changed

Lines changed: 96 additions & 17 deletions

File tree

bun.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
},
1515
"dependencies": {
1616
"@astrojs/starlight": "^0.38.2",
17-
"astro": "^6.1.2"
17+
"astro": "^6.1.3"
1818
},
1919
"devDependencies": {
2020
"@biomejs/biome": "2.4.10",
21-
"@gameroman/config": "^0.0.5",
22-
"wrangler": "^4.79.0"
21+
"@gameroman/config": "^0.0.6",
22+
"wrangler": "^4.80.0"
2323
},
2424
"overrides": {
2525
"esbuild": "^0.27.4"

src/components/RecipeIngredients.astro

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
---
2-
type Unit = ("g" | "kg" | "г" | "кг" | "litres" | "литров") | (string & {});
2+
type Unit =
3+
| "g"
4+
| "kg"
5+
| "г"
6+
| "кг"
7+
| "litres"
8+
| "литров"
9+
| "cups"
10+
| "teaspoon"
11+
| "стакана"
12+
| "чайная ложка"
13+
| (string & {});
314
415
interface AmountRange {
516
from: number;

src/content/docs/recipes/rice.mdx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Rice
3+
description: How to make Rice.
4+
---
5+
6+
import Ingredients from "#components/RecipeIngredients.astro";
7+
8+
## Ingredients
9+
10+
<Ingredients
11+
items={[
12+
{ name: "Water", amount: 3, unit: "cups" },
13+
{ name: "Rice", amount: 1.5, unit: "cups" },
14+
{ name: "Salt", amount: 1, unit: "teaspoon" },
15+
]}
16+
/>
17+
18+
## Recipe
19+
20+
### In a Multi-cooker
21+
22+
If you have a multi-cooker, the recipe is simple:
23+
24+
1. Pour the rice into the multi-cooker.
25+
2. Add the water.
26+
3. Add a teaspoon of salt.
27+
4. Let it cook for 50-55 minutes.
28+
29+
### In a Pot
30+
31+
1. Place the rice in a pot and add the water.
32+
2. Add the salt, place on the stove, and bring to a boil.
33+
3. Once the water boils, reduce the heat to low, cover the pot tightly with a lid, and simmer for 15-20 minutes. It is important not to open the lid or stir the rice during this process.
34+
4. Remove the pot from the heat and let the rice sit covered for another 10 minutes.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Рис
3+
description: Как приготовить Рис.
4+
---
5+
6+
import Ingredients from "#components/RecipeIngredients.astro";
7+
8+
## Ингредиенты
9+
10+
<Ingredients
11+
items={[
12+
{ name: "Вода", amount: 3, unit: "стакана" },
13+
{ name: "Рис", amount: 1.5, unit: "стакана" },
14+
{ name: "Соль", amount: 1, unit: "чайная ложка" },
15+
]}
16+
/>
17+
18+
## Рецепт
19+
20+
### В мультиварке
21+
22+
Если есть мультиварка, то рецепт простой:
23+
24+
1. Насыпать рис в мультиварку
25+
2. Залить водой
26+
3. Добавить чайную ложку соли
27+
4. Оставить вариться на 50-55 минут
28+
29+
### В кастрюле
30+
31+
1. Поместите рис в кастрюлю и залейте водой.
32+
2. Добавьте соль, поставьте на огонь и доведите до кипения.
33+
3. Как только вода закипит, убавьте огонь до минимума, плотно закройте кастрюлю крышкой и варите 15-20 минут. Важно не открывать крышку и не перемешивать рис в процессе.
34+
4. Снимите кастрюлю с огня и дайте рису постоять под крышкой еще 10 минут.

0 commit comments

Comments
 (0)