move category_list to common and added it to pages where we will see it (+ fixed home view array)
This commit is contained in:
		
							parent
							
								
									3b8207d3b1
								
							
						
					
					
						commit
						5d7c4628c6
					
				| @ -1,5 +1,5 @@ | ||||
| <a href="<?= $A_view["RECIPE_LINK"]?>"> | ||||
|     <img src="<?= $A_view["IMG_LINK"] ?>" alt="<?= $A_view["NAME"]?>"> | ||||
| <a href="<?= $A_view["LINK"]?>"> | ||||
|     <img src="<?= $A_view["IMG"] ?>" alt="<?= $A_view["NAME"]?>"> | ||||
|     <section> | ||||
|         <h2> <?= $A_view["NAME"]?> </h2>
 | ||||
|         <p> <?= $A_view["NOTE"]?> </p>
 | ||||
|  | ||||
| @ -1,5 +1,7 @@ | ||||
| <img src="static/img/bandeau.jpg" alt="Cook"> | ||||
| 
 | ||||
| <?php View::show("common/category_list") ?>
 | ||||
| 
 | ||||
| <main> | ||||
|     <section> | ||||
|         <h1> Nos idées recettes: </h1> | ||||
|  | ||||
| @ -1,3 +1,5 @@ | ||||
| <?php View::show("common/category_list") ?>
 | ||||
| 
 | ||||
| <main> | ||||
| 
 | ||||
|     <img src="<?= $A_view["IMAGE_URL"] ?>" alt="Image d'illustration de la recette"> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user