creaction entite & model image. Finalisation page projet

This commit is contained in:
laura.chevillet 2026-01-19 14:30:27 +01:00
parent 47ee556a8c
commit c0aab723d7
6 changed files with 154 additions and 14 deletions

View file

@ -1,24 +1,24 @@
<body>
<section class="container mt-5 p-5 d-flex flex-column align-items-center">
<div>
<h2>Alimenter votre projet</h2>
<button type="button" class="btn btn-primary btn-lg">+</button>
</div>
<section class="container mt-5 p-5 d-flex flex-column align-items-center justify-content-center">
<h2>Alimenter votre projet</h2>
<div class="justify-content-center align-items-center">
<button type="button" class="btn btn-primary rounded-circle d-flex justify-content-center align-items-center"><span class="fs-4 fw-bold text-white mb-2 ms-2 me-2">+</span></button>
</div class="col-12">
<div>
<h3>Description</h3>
<h3 class="fw-semibold fs-3 my-5">Description</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<div>
<h3>Photos behind the scene</h3>
<div class="row mb-2">
<img >
<div class="col-12">
<h3 class="fw-semibold fs-3 my-5">Photos behind the scene</h3>
<div class="row my-2">
<img class="bd-placeholder-img" width="200" height="250" src="<?= isset($objImage) ? '../../public/assets/img/'.$objImage->getName() : '' ?>" alt="<?php echo $objImage->getAlt(); ?>" loading="lazy">
</div>
</div>
<div>
<div class="col-12">
<h3>Other projects</h3>
<div class="row mb-2">
<div class="row my-2">
<?php
foreach($arrProjectToDiplay as $objProject){
include("../app/views/partials/preview.php");