<?php /*template name: contact*/ get_header(); ?>
<div class="uk-cover-container uk-text-center banner">
    <canvas class="uk-visible@m" width="" height="360"></canvas>
    <canvas class="uk-hidden@m" width="" height="600"></canvas>
<?php if ( has_post_thumbnail() ) : ?>
    <img uk-img 
         src="<?php echo get_the_post_thumbnail_url(get_the_ID(), 'large'); ?>" 
         alt="<?php the_title_attribute(); ?>" 
         uk-cover>
<?php else : ?>
    <img uk-img 
         src="<?php echo get_template_directory_uri(); ?>/images/default.jpg" 
         alt="Default image" 
         uk-cover>
<?php endif; ?>




	<div class="uk-position-cover uk-text-center uk-container  uk-container-expand uk-flex uk-flex-center uk-flex-middle">
        <div>
			<h1 class="white"> <?php the_title(); ?></h1>
			
        </div>
    </div>
</div>					
<div class="uk-container">
	<main role="main">
		<section class="uk-section">
<div class=" uk-width-3-4@m uk-margin-auto">
			<h2 class="uk-text-center">Plan Your Golf Experience</h2>
			<h5 class="uk-text-center">Whether you’re interested in one of our guided tours or want to customize a<br class="uk-visible@m"> tour for your own private experience, we’d love to hear from you.</h5>
			
			<?php if (have_posts()): while (have_posts()) : the_post(); ?>

				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

					<?php the_content(); ?>

					<br class="clear">

					<p class="uk-text-right"><?php edit_post_link( __('Edit this page'), '', '', 0, 'post-edit-link uk-text-large uk-padding-small uk-button-large uk-button uk-button-primary' ); ?></p>

				</article>

			<?php endwhile; ?><?php endif; ?>
</div>
		</section>
	</main>
</div>
<?php get_footer(); ?>
