From 6a288f12467fb01de5ee9b2aa4c063289998db01 Mon Sep 17 00:00:00 2001 From: Ruidy Nemausat Date: Mon, 27 Jan 2020 10:32:46 +0100 Subject: [PATCH] V1 Release --- README.md | 1 - public/index.html | 6 +++ src/components/MealPresentation.js | 7 ++- src/components/Navbar.js | 77 +++++++++++++++++++++++------- 4 files changed, 72 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 6094106..f1acf93 100644 --- a/README.md +++ b/README.md @@ -78,4 +78,3 @@ Free meal planner for cooks short on ideas! (like me …) ## TO DO - put a preloader -- on mealPage add link to catergory and origin diff --git a/public/index.html b/public/index.html index 945f4ea..4fba074 100644 --- a/public/index.html +++ b/public/index.html @@ -28,6 +28,12 @@ Chef's Meal Planner +
diff --git a/src/components/MealPresentation.js b/src/components/MealPresentation.js index 17e5f3b..414defc 100644 --- a/src/components/MealPresentation.js +++ b/src/components/MealPresentation.js @@ -1,4 +1,5 @@ import React from "react"; +import { Link } from "react-router-dom"; const MealPresentation = props => { const { @@ -36,7 +37,11 @@ const MealPresentation = props => { > */}
  • - Category: {mealCategory} + Category: {mealCategory} ( + + See every {mealCategory} recipes + + )
  • Origin: {mealArea} diff --git a/src/components/Navbar.js b/src/components/Navbar.js index a4d45d6..1af0c0c 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -6,24 +6,67 @@ import { Link } from "react-router-dom"; const Navbar = props => { return ( - + + + {/* + + menu + */} + ); };