moved from files home/view, recipe/search, recipe/view

This commit is contained in:
Capelier-Marla 2023-01-25 14:53:39 +01:00
parent f030eff9c9
commit 9750af7839
3 changed files with 66 additions and 61 deletions

View File

@ -1,8 +1,9 @@
<img src="static/img/bandeau.jpg" alt="Cook">
<?php View::show("common/category_list") ?>
<main>
<?php View::show("common/category_list") ?>
<article>
<section>
<h1> Nos idées recettes: </h1>
<?php
@ -11,4 +12,5 @@
}
?>
</section>
</article>
</main>

View File

@ -3,9 +3,10 @@
$has_query = $A_view["QUERY"] !== null;
?>
<?php View::show("common/category_list") ?>
<main>
<?php View::show("common/category_list") ?>
<article>
<!-- Inclure les catégories -->
<form method="GET" action="/recipe/search">
<label for="query">Saisissez les termes à rechercher</label>
@ -27,4 +28,5 @@
}
?>
</section>
</article>
</main>

View File

@ -1,7 +1,7 @@
<?php View::show("common/category_list") ?>
<main>
<?php View::show("common/category_list") ?>
<article>
<img src="<?= $A_view["IMG_LINK"] ?>" alt="Image d'illustration de la recette">
<section class="infosRecette">
@ -37,5 +37,6 @@
<?php
View::show("appreciations/view_all", $A_view)
?>
</article>
</main>