first commit

This commit is contained in:
2024-12-20 12:48:12 +01:00
commit d9fb74972a
217 changed files with 26712 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php if (have_rows('sections')) : ?>
<?php while (have_rows('sections')) : the_row(); ?>
<?php if (get_row_layout() == 'hero_slider') : ?>
<?php get_template_part('template-parts/sections/section-hero-slider', 'hero_slider'); ?>
<?php endif; ?>
<?php if (get_row_layout() == 'hero_section') : ?>
<?php get_template_part('template-parts/sections/section-hero', 'hero_section'); ?>
<?php endif; ?>
<?php if (get_row_layout() == 'three_col_repeater_section') : ?>
<?php get_template_part('template-parts/sections/section-three-col-repeater', 'three_col_repeater_section'); ?>
<?php endif; ?>
<?php if (get_row_layout() == 'two_col_section') : ?>
<?php get_template_part('template-parts/sections/section-two-col', 'section-two-col'); ?>
<?php endif; ?>
<?php if (get_row_layout() == 'two_col_section_with_bg') : ?>
<?php get_template_part('template-parts/sections/section-two-col-with-bg', 'section-two-col-with-bg'); ?>
<?php endif; ?>
<?php if (get_row_layout() == 'one_col_2_cta') : ?>
<?php get_template_part('template-parts/sections/section-one-col-cta', 'section-one-col-cta'); ?>
<?php endif; ?>
<?php if (get_row_layout() == 'boxes_repeater_img_title_text_cta') : ?>
<?php get_template_part('template-parts/sections/section-boxes_repeater_img_title_text_cta', 'boxes_repeater_img_title_text_cta'); ?>
<?php endif; ?>
<?php if (get_row_layout() == 'faq') : ?>
<?php get_template_part('template-parts/sections/section-faq', 'faq'); ?>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>