prep/cook times and some fit and finish
This commit is contained in:
parent
a3b0fffe45
commit
9656888cb7
14 changed files with 141 additions and 46 deletions
|
@ -49,9 +49,6 @@ function RecipePage() {
|
|||
|
||||
updateStarsInDB();
|
||||
}, [stars]);
|
||||
console.log(recipe)
|
||||
console.log(stars)
|
||||
console.log(initialStars)
|
||||
return (
|
||||
<div className="recipe page-outer">
|
||||
|
||||
|
@ -65,6 +62,7 @@ function RecipePage() {
|
|||
<div className="border-b-2 border-amber-300 pb-4 mb-6">
|
||||
<h3 className="text-2xl lg:text-3xl font-bold text-amber-900 mb-2">{recipe.details.name}</h3>
|
||||
<p className="text-amber-700 italic text-lg">{recipe.details.cuisine}</p>
|
||||
<p>prep: {recipe.details.prep_minutes} min | cook: {recipe.details.cook_minutes} min</p>
|
||||
</div>
|
||||
|
||||
<div className="grid lg:grid-cols-2 gap-6 mb-6">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue