Skip to content

Commit

Permalink
feat(recipes): add roast potatoes
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Jun 23, 2019
1 parent 512e267 commit 971bc4c
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 10 deletions.
6 changes: 6 additions & 0 deletions assets/link-data/recipes/index.js
@@ -0,0 +1,6 @@
import recipe from './spaghetti.json';
import pastaAglioEOlio from './pasta_aglio_e_olio.json';
import lasagnaSalad from './lasagna-salad.json';
import roastTaters from './roast-taters.json';

export default [recipe, pastaAglioEOlio, lasagnaSalad, roastTaters];
@@ -1,5 +1,5 @@
{
"id": 1,
"id": 3,
"@context": "http://schema.org/",
"@type": "Recipe",
"name": "Dick Chmeller's Salad Lasagna",
Expand Down
@@ -1,5 +1,5 @@
{
"id": 1,
"id": 2,
"@context": "http://schema.org/",
"@type": "Recipe",
"name": "Binging with Babish: Pasta Aglio e Olio from \"Chef\"",
Expand Down
38 changes: 38 additions & 0 deletions assets/link-data/recipes/roast-taters.json
@@ -0,0 +1,38 @@
{
"id": 4,
"@context": "http://schema.org/",
"@type": "Recipe",
"name": "Roast Taters",
"suitableForDiet": "https://schema.org/VegetarianDiet",
"author": {
"@type": "Person",
"name": "Kandice Long"
},
"datePublished": "2019-06-10",
"description": "If you’ve ever wondered how to trick a pasta-loving kid (or perhaps even a carb-obsessed adult) into eating more vegetables, then a “lasagna salad” may just be the very green answer to your prayers. This virtually carb-free creation consists of seven layers of vitamin-rich veggies including a base of iceberg lettuce, layers of sliced onion and slivers of red tomatoes.",
"prepTime": "PT10M",
"cookTime": "PT45M",
"totalTime": "PT50M",
"keywords": "Roast Taters",
"recipeYield": "2 servings",
"recipeCategory": "Dinner",
"recipeIngredient": ["2 potatoes", "1/2 cup olive oil", "salt"],
"recipeInstructions": [
{
"@type": "HowToStep",
"text": "Preheat the oven to 180ºC - 220ºC. Peel and chop the potatoes into chunks, roughly the size of golf balls."
},
{
"@type": "HowToStep",
"text": " Parboil the potatoes in a pan of boiling, salted water for 10 minutes, drain, place in a plastic container with some oil and s&p (enough to coat the taters) shaking them to chuff up the edges."
},
{
"@type": "HowToStep",
"text": "Place some baking paper in a large roasting tray & add some unpeeled garlic, herbs (sage or rosemary leaves are good) if you like."
},
{
"@type": "HowToStep",
"text": "Place the tray in the oven and cook for 45 minutes, or until golden and crisp."
}
]
}
@@ -1,4 +1,5 @@
{
"id": 1,
"@context": "http://schema.org/",
"@type": "Recipe",
"name": "Audrey Hepburn’s Spaghetti Al Pomodoro Recipe",
Expand Down
10 changes: 2 additions & 8 deletions store/index.js
@@ -1,8 +1,6 @@
import damien from '@/assets/link-data/damien.json';

import recipe from '@/assets/link-data/spaghetti.json';
import pastaAglioEOlio from '@/assets/link-data/recipe/pasta_aglio_e_olio.json';
import lasagnaSalad from '@/assets/link-data/recipe/lasagna-salad.json';
import recipes from '@/assets/link-data/recipes';

import tomatoes from '@/assets/link-data/products/tomatoes.json';

Expand All @@ -16,11 +14,7 @@ export const state = () => ({
href:
'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css',
},
recipes: [
{ ...recipe, id: 1 },
{ ...pastaAglioEOlio, id: 2 },
{ ...lasagnaSalad, id: 3 },
],
recipes,
products: [{ ...tomatoes, id: 1 }],
damien,
});
Expand Down

0 comments on commit 971bc4c

Please sign in to comment.