<?php
/**
 * The template for displaying offline pages
 *
 * @link https://github.com/xwp/pwa-wp#offline--500-error-handling
 *
 * @package stax
 */

namespace Stax;

// Prevent showing nav menus.
add_filter( 'has_nav_menu', '__return_false' );

get_header();
?>
	<main id="primary" class="site-main">
		<?php stax()->get_template_part( 'template-parts/content/error/offline' ); ?>
	</main><!-- #primary -->
<?php
get_footer();
