_header.php 1.1 KB

12345678910111213141516171819202122232425
  1. <?=i('_head')?>
  2. <body <?= isset($bodyclasses)? 'class="'.$bodyclasses.'"' : '' ?>>
  3. <?=i('_ga')?>
  4. <?php if(isset($banner_image) and isset($banner_image_half)) : ?>
  5. <div id="top_banner" style="background-image: url('<?=$baseurl.$banner_image_half ?>')" data-hq="<?=$baseurl.$banner_image ?>">
  6. <?php else : ?>
  7. <div id="top_banner" style="background-image: url('<?=$baseurl ?>images/banner-half.jpg')" data-hq="<?=$baseurl ?>images/banner.jpg">
  8. <?php endif ?>
  9. <div id="bold_title" class="container mx-auto max-w-screen-md grid grid-6">
  10. <?php if(stristr($bodyclasses, 'home')) : ?>
  11. <h1>Hello</h1>
  12. <p class="tagline"><span>I'm Andrea</span></p>
  13. <?php else : ?>
  14. <h1><?= isset($title) ? $title : '' ?></h1>
  15. <p class="tagline print:hidden"><span><?= isset($tagline) ? $tagline : "" ?></span></p>
  16. <?php endif ?>
  17. </div>
  18. </div>
  19. <div id="content_box" class="">
  20. <div id="main_flex" class="flex flex-col">
  21. <?=i('_main_menu')?>
  22. <div id="inner_box" class="container md:max-w-screen-md mx-auto prose max-w-none <?= stristr($bodyclasses, 'home') ? 'px-0' : 'px-4' ?> md:px-0 pt-6">