refining front page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2024-09-23 13:03:33 +02:00
parent 18f45ec034
commit e29cc748d0
4 changed files with 16 additions and 15 deletions

View File

@ -1,17 +1,7 @@
<?php get_header(); ?>
<?php get_header('minimal'); ?>
<div class="back-end__front-page">
<img class="cover" src="<?php echo get_template_directory_uri() . '/resources/img/lhoist-OG-image-personnage.png' ?>" alt="">
</div>
<?php if ( have_posts() ) : ?>
<?php
while ( have_posts() ) :
the_post();
the_content();
?>
<?php endwhile; ?>
<?php endif; ?>
<?php
get_footer();
<?php wp_footer(); ?>

View File

@ -16,6 +16,9 @@
@import './layout/section.css';
@import './layout/gutenberg.css';
/* ########### PAGE ############ */
@import './pages/front-page.css';
/* ########### BLOCKS ############ */
@import './blocks/search-and-find.css';

View File

@ -0,0 +1,8 @@
.back-end__front-page {
@apply bg-lhoist min-h-full w-full;
min-height: 100vh;
@apply flex justify-center items-center;
.cover {
@apply px-8 w-full max-w-6xl;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB