diff --git a/Controllers/DefaultController.php b/Controllers/DefaultController.php
index 0590473..04045d8 100644
--- a/Controllers/DefaultController.php
+++ b/Controllers/DefaultController.php
@@ -7,21 +7,21 @@ final class DefaultController
{
$array_recipes = array(
array(
- "LINK" => "/recipe/view/1",
+ "RECIPE_LINK" => "/recipe/view/1",
"NAME" => "Pâte à crêpe",
- "IMG" => "/static/img/recipes/1.jpg",
+ "IMG_LINK" => "/static/img/recipes/1.jpg",
"NOTE" => "4.5"
),
array(
- "LINK" => "/recipe/view/1",
+ "RECIPE_LINK" => "/recipe/view/1",
"NAME" => "Pâte à crêpe",
- "IMG" => "/static/img/recipes/1.jpg",
+ "IMG_LINK" => "/static/img/recipes/1.jpg",
"NOTE" => "4.5"
),
array(
- "LINK" => "/recipe/view/1",
+ "RECIPE_LINK" => "/recipe/view/1",
"NAME" => "Pâte à crêpe",
- "IMG" => "/static/img/recipes/1.jpg",
+ "IMG_LINK" => "/static/img/recipes/1.jpg",
"NOTE" => "4.5"
),
);
diff --git a/Views/common/category_list.php b/Views/common/category_list.php
new file mode 100644
index 0000000..801551d
--- /dev/null
+++ b/Views/common/category_list.php
@@ -0,0 +1,19 @@
+ "type_de_cuisson",
+ "Temps de préparation" => "temps_de_preparation",
+ "Difficulté" => "difficulte",
+ "Végan" => "vegan",
+ "Sans gluten" => "sans_gluten",
+ "Sans lactose" => "sans_lactose");
+?>
+
+
diff --git a/Views/common/header.php b/Views/common/header.php
index a15c2b3..a1381c3 100644
--- a/Views/common/header.php
+++ b/Views/common/header.php
@@ -8,7 +8,6 @@ $array_header = array(
);
?>
diff --git a/Views/home/view.php b/Views/home/view.php
index 2634ea2..ce83fb7 100644
--- a/Views/home/view.php
+++ b/Views/home/view.php
@@ -1,5 +1,7 @@
+
+
Nos idées recettes:
diff --git a/Views/recipe/view.php b/Views/recipe/view.php
index 26b0cc2..c0cd8fa 100644
--- a/Views/recipe/view.php
+++ b/Views/recipe/view.php
@@ -1,3 +1,5 @@
+
+
" alt="Image d'illustration de la recette">