Merge pull request #82 from ThomasRubini/moving_main_in_article

moved from files home/view, recipe/search, recipe/view
This commit is contained in:
Marla 2023-01-25 15:02:08 +01:00 committed by GitHub
commit 01ae39a025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>