<?php

$cfg = Inoby_Config::page404();
$title = $cfg["title"];
$headline = $cfg["headline"];
$text = $cfg["text"];
$btn_home_text = $cfg["btn_home_text"];

inoby_enqueue_parted_style("page404", "page_templates");

get_header();
?>
<main id="primary" class="site-main">
  <section class="page-404">
      <div class="container">
        <div class="left centered">
          <div class="text-container">
            <h1><?= $title ?></h1>
            <h2><?= $headline ?></h2>
            <p class="large"><?= $text ?></p>
            <a href="/" class="button"><?= $btn_home_text ?></a>
          </div>
        </div>
        <div class="right centered">
          <img src="<?= get_theme_file_uri("/assets/svg/404.svg") ?>" alt="404"/>
        </div>
      </div>
  </section>
  <?php do_action('inoby_404_after_content_section'); ?>
</main>
<?php get_footer();
