77 lines
3.5 KiB
PHP
77 lines
3.5 KiB
PHP
<?php /* Template Name: Page / Kontakt */ ?>
|
|
<?php get_header() ?>
|
|
|
|
<div class="wrapper--default">
|
|
|
|
<div class="wrapper--inner">
|
|
|
|
<section class="p-6 lg:container lg:mx-auto">
|
|
<h1 class=""><?php echo get_the_title() ?></h1>
|
|
<?php echo the_field('about_content') ?>
|
|
</section>
|
|
|
|
|
|
<div class="lg:flex lg:flex-row lg:container lg:mx-auto">
|
|
<div class="pt-12 pb-12 p-6 lg:w-6/12">
|
|
<div class="pb-6 text-xl">
|
|
<?php the_field('adres', 'option'); ?>
|
|
</div>
|
|
|
|
<div class="pb-6 text-xl">
|
|
<?php the_field('godziny_pracy', 'option'); ?>
|
|
</div>
|
|
|
|
<div class="pb-6 text-xl">
|
|
<?php the_field('dane_kontaktowe', 'option'); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="lg:w-full">
|
|
<iframe class="w-full"
|
|
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2502.856056265485!2d15.01493321575677!3d51.1480054795777!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4708dc057fca8a73%3A0x66d8cb5b2b983cc2!2sBohater%C3%B3w%20II%20Armii%20Wojska%20Polskiego%2014F%2C%2059-900%20Zgorzelec!5e0!3m2!1sen!2spl!4v1621415125033!5m2!1sen!2spl"
|
|
width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<?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 if (get_row_layout() == 'gallery') : ?>
|
|
<?php get_template_part('template-parts/sections/section-gallery', 'gallery'); ?>
|
|
<?php endif; ?>
|
|
<?php if (get_row_layout() == 'wysiwyg') : ?>
|
|
<?php get_template_part('template-parts/sections/section-wysiwyg', 'wysiwyg'); ?>
|
|
<?php endif; ?>
|
|
<?php endwhile; ?>
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
<?php get_footer() ?>
|