This commit is contained in:
Roman Pyrih
2026-02-13 15:26:54 +01:00
parent 4f17c5da06
commit 8ae18776fa

View File

@@ -1,7 +1,8 @@
<?php /* Template Name: Page / Carporty */ ?> <?php /* Template Name: Page / Carporty */ ?>
<?php get_header() ?> <?php get_header() ?>
<?php if (have_rows('sections')) : ?> <?php if ( true === false) : ?>
<?php if (have_rows('sections')) : ?>
<?php while (have_rows('sections')) : the_row(); ?> <?php while (have_rows('sections')) : the_row(); ?>
<?php if (get_row_layout() == 'hero_slider') : ?> <?php if (get_row_layout() == 'hero_slider') : ?>
<?php get_template_part('template-parts/sections/section-hero-slider', 'hero_slider'); ?> <?php get_template_part('template-parts/sections/section-hero-slider', 'hero_slider'); ?>
@@ -34,8 +35,22 @@
<?php get_template_part('template-parts/sections/section-wysiwyg', 'wysiwyg'); ?> <?php get_template_part('template-parts/sections/section-wysiwyg', 'wysiwyg'); ?>
<?php endif; ?> <?php endif; ?>
<?php endwhile; ?> <?php endwhile; ?>
<?php endif; ?>
<?php endif; ?> <?php endif; ?>
<section class="two-cols bg-light">
<div class="wrapper wrapper--inner imageRight">
<div class="col col-text">
<?php the_field('carports_excerpt') ?>
</div>
<div class="col col-image">
<div class="image-wrapper">
<img src="<?php the_field('carports_img'); ?>" alt="" class="img-auto section-image">
</div>
</div>
</div>
</section>
<div class="xl:container xl:mx-auto" style="max-width: 1200px;"> <div class="xl:container xl:mx-auto" style="max-width: 1200px;">
<div class="lg:flex lg:items-start lg:bg-gray "> <div class="lg:flex lg:items-start lg:bg-gray ">