<footer class="site-footer">
  <div class="container footer-inner">
    <div class="footer-col">
      <div class="brand footer-brand">
        <span class="brand-mark">GJ</span>
        <span class="brand-text">GamesJi <em>Updates</em></span>
      </div>
      <p>Auto-updating hub for online, mobile &amp; multiplayer game news, patch notes and a searchable library of games.</p>
      <a href="<?= e(MAIN_SITE_URL) ?>" class="blink-link footer-blink"><?= e(MAIN_SITE_TEXT) ?></a>
    </div>
    <div class="footer-col">
      <h4>Explore</h4>
      <a href="<?= SITE_URL ?>/index.php">Home</a>
      <a href="<?= SITE_URL ?>/news.php">Game News &amp; Updates</a>
      <a href="<?= SITE_URL ?>/games.php">Search All Games</a>
      <a href="<?= SITE_URL ?>/sitemap-index.xml">Sitemap</a>
    </div>
    <div class="footer-col">
      <h4>Top Categories</h4>
      <?php
        $cats = array_slice(get_categories(), 0, 6);
        foreach ($cats as $c): ?>
      <a href="<?= SITE_URL ?>/games.php?category=<?= e(urlencode($c)) ?>"><?= e($c) ?></a>
      <?php endforeach; ?>
    </div>
  </div>
  <div class="footer-bottom">
    <span>&copy; <?= date('Y') ?> GamesJi Updates &middot; Content refreshes automatically</span>
  </div>
</footer>

<script src="<?= SITE_URL ?>/assets/js/app.js" defer></script>
</body>
</html>
