fixed view, display time, diffuculty and author + edited first image

This commit is contained in:
Capelier-Marla 2023-01-17 10:37:07 +01:00
parent f77fcb7695
commit 681ec995d1
3 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,7 @@
<section class="infosRecette">
<header>
<h1><?= $A_view["NAME"] ?></h1>
<p><?= $A_view["TIME"] ?>&nbsp;—&nbsp;<?= $A_view["DIFFICULTY_NAME"] ?></p>
</header>
<p><?= $A_view["DESC"] ?></p>
</section>
@ -14,7 +15,7 @@
<ul>
<?php
foreach($A_view["INGREDIENTS"] as $ingredient)
echo "<li> ${ingredient["NAME"]}: ${ingredient["QUANTITY"]} </li>";
echo "<li> {$ingredient["NAME"]}: {$ingredient["QUANTITY"]} </li>";
?>
</ul>
</section>
@ -29,4 +30,6 @@
</ol>
</section>
<p>By <?= $A_view["AUTHOR_USERNAME"] ?></p>
</main>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 KiB

After

Width:  |  Height:  |  Size: 35 KiB

BIN
static/img/recettes/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB