<?php /*Template Name: login */ ?>
<?php get_header(); ?>

<section class="content">
    <div class="container">

        <h1 class="sec-tit text-center">
            <?php the_title(); ?>
        </h1>

        <div class="page-main">

            <?php if (has_post_thumbnail()) { ?>
                <div class="page-thumb">
                    <?php the_post_thumbnail('full', ['class' => 'img-fluid mx-auto d-block']); ?>
                </div>
            <?php } ?>

            <?php if (have_posts()) : ?>
                <?php while (have_posts()) : the_post(); ?>
                    <div class="page-content">
                        <?php the_content(); ?>
                    </div>
                <?php endwhile; ?>

            <?php endif; ?>

           <div class="login-form">
                <?php echo do_shortcode('[login-form]');?>
           </div>
            
        </div>

    </div>
</section>

<?php get_footer(); ?>
