<?php
/**
 * Header template.
 *
 * @package ttsunsolar
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="https://gmpg.org/xfn/11">
	<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<a class="skip-link screen-reader-text" href="#main-content"><?php esc_html_e( 'Skip to content', 'ttsunsolar' ); ?></a>

<?php get_template_part( 'solarpanels/header/panel', 'header' ); ?>

<main id="main-content">
<?php if ( ttsunsolar_show_homepage_sections() ) : ?>
	<?php get_template_part( 'solarpanels/slider/panel', 'banner' ); ?>
	<?php get_template_part( 'solarpanels/services/panel', 'services' ); ?>
<?php elseif ( ttsunsolar_show_inner_banner() ) : ?>
	<?php get_template_part( 'solarpanels/slider/panel', 'inner-banner' ); ?>
<?php endif; ?>
