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"]?>"> | <a href="<?= $A_view["LINK"]?>"> | ||||||
|     <img src="<?= $A_view["IMG_LINK"] ?>" alt="<?= $A_view["NAME"]?>"> |     <img src="<?= $A_view["IMG"] ?>" alt="<?= $A_view["NAME"]?>"> | ||||||
|     <section> |     <section> | ||||||
|         <h2> <?= $A_view["NAME"]?> </h2>
 |         <h2> <?= $A_view["NAME"]?> </h2>
 | ||||||
|         <p> <?= $A_view["NOTE"]?> </p>
 |         <p> <?= $A_view["NOTE"]?> </p>
 | ||||||
|  | |||||||
| @ -1,5 +1,7 @@ | |||||||
| <img src="static/img/bandeau.jpg" alt="Cook"> | <img src="static/img/bandeau.jpg" alt="Cook"> | ||||||
| 
 | 
 | ||||||
|  | <?php View::show("common/category_list") ?>
 | ||||||
|  | 
 | ||||||
| <main> | <main> | ||||||
|     <section> |     <section> | ||||||
|         <h1> Nos idées recettes: </h1> |         <h1> Nos idées recettes: </h1> | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | <?php View::show("common/category_list") ?>
 | ||||||
|  | 
 | ||||||
| <main> | <main> | ||||||
| 
 | 
 | ||||||
|     <img src="<?= $A_view["IMAGE_URL"] ?>" alt="Image d'illustration de la recette"> |     <img src="<?= $A_view["IMAGE_URL"] ?>" alt="Image d'illustration de la recette"> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user