page project.php et rename en preview.php

This commit is contained in:
laura.chevillet 2026-01-16 11:50:13 +01:00
parent 909015f0fa
commit 63da2a35b5
4 changed files with 36 additions and 2 deletions

View file

@ -11,7 +11,7 @@
<div class="row mb-2">
<?php
foreach($arrProjectToDiplay as $objProject){
include("../app/views/partials/project.php");
include("../app/views/partials/preview.php");
}
?>
</section>

34
app/views/project.php Normal file
View file

@ -0,0 +1,34 @@
<?php
include("../app/views/partials/header.php");
?>
<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>
<div>
<h3>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>
</div>
<div>
<h3>Other projects</h3>
<div class="row mb-2">
<?php
foreach($arrProjectToDiplay as $objProject){
include("../app/views/partials/preview.php");
}
?>
</div>
</div>
</div>
<section>
</body>

View file

@ -127,7 +127,7 @@
<?php
}
foreach($arrProjectToDisplay as $objProject){
include("../app/views/partials/project.php");
include("../app/views/partials/preview.php");
} ?>
</div>
</section>