<?php
/**
 * Template Name: Home Page
 *
 * @package worktech
 */

get_header();
?>

	<!-- Header -->
	<header class="header">
	  <div class="header__wrapper">
		<div class="header__logo"><a href="/worktech"><img src="<?php echo site_url(); ?>/static/images/logo-w23.svg"
			  alt="Worktech 23"></a></div>
		<nav class="header__links">
		  <a class="nav__close">
			<span></span>
		  </a>
		  <a class="nav__links" data-link="speakers">SPEAKERS</a> 
		  <a class="nav__links" data-link="sede">SEDE</a>
		  <a class="nav__links" data-link="sponsors">SPONSORS & PARTNERS</a>
		  <!--div class="subnav__links">Ver eventos WORKTECH 22
			<ul>
			  <li><a href="../buenosaires/" target="_blank">Buenos Aires</a></li>
			  <li><a href="../lima/" target="_blank">Lima</a></li>
			  <li><a href="../santiago/" target="_blank">Santiago</a></li>
			  <li><a href="../quito/" target="_blank">Quito</a></li>
			</ul>
		  </div-->
		  <a class="nav__links nav--participa" data-link="contacto">PARTICIPA</a>
		</nav>
		<div class="nav__trigger"></div>
	  </div>
	</header>

	<main id="primary" class="site-main">
		<?php
		while ( have_posts() ) :
			the_post();

			get_template_part( 'template-parts/content', 'front-page' );

			// If comments are open or we have at least one comment, load up the comment template.
			if ( comments_open() || get_comments_number() ) :
				comments_template();
			endif;

		endwhile; // End of the loop.
		?>

	</main><!-- #main -->
<?php 
get_footer();