refining structure
This commit is contained in:
parent
1168c33085
commit
7cac2b70fa
|
|
@ -1,20 +1,40 @@
|
|||
<?php
|
||||
$home_header = get_field('home_header_datas');
|
||||
|
||||
$photo_archives = get_field('photos_archives');
|
||||
?>
|
||||
|
||||
|
||||
<section class="home-header header_top">
|
||||
<div class="home-header__titling">
|
||||
<h1 class="home-header__title">
|
||||
<?php echo $home_header['title'] ?>
|
||||
</h1>
|
||||
<p><?php echo $home_header['description'] ?></p>
|
||||
<a class="home-header__scroll-down-indicator" href="#section-show-thematiques">
|
||||
<img class="home-header__scroll-down-indicator__arrow" src='<?php echo get_template_directory_uri() ?>/resources/img/graphic-assets/arrow-down-white.svg' alt=''>
|
||||
</a>
|
||||
<section class="homegarde-blocks-photos-archives">
|
||||
|
||||
<div class="table_head">
|
||||
<p>
|
||||
<?php echo __("Photos", "homegrade-theme__texte-fonctionnel") ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo __("Nom de l'archive", "homegrade-theme__texte-fonctionnel") ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo __("Référence", "homegrade-theme__texte-fonctionnel") ?>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="home-header__fresque">
|
||||
<img src="<?php echo get_template_directory_uri() . '/resources/img/illustrations/illustration-accueil-thematiques.jpg' ?>" alt="">
|
||||
<ul class="homegarde-blocks-photos-archives__archives-grid">
|
||||
<?php foreach ($photo_archives as $archive_row) : ?>
|
||||
<li class="homegarde-blocks-photos-archives__archive-row">
|
||||
<figure>
|
||||
<img src="<?php echo $archive_row['url'] ?>" alt="<?php echo $archive_row['alt'] ?>">
|
||||
|
||||
<figcaption class="figcaption">
|
||||
<h3 class="figcaption__title"><?php echo $archive_row['title'] ?></h3>
|
||||
<div>
|
||||
<p class="figcaption__description"><?php echo $archive_row['description'] ?></p>
|
||||
<p class="figcaption__caption"><?php echo $archive_row['caption'] ?></p>
|
||||
</div>
|
||||
</figcaption>
|
||||
</figure>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
Loading…
Reference in New Issue
Block a user