header.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3. <head>
  4. <!--
  5. . . . . . .
  6. . . ...-..-| |-. .-. .-.-..-| .-.. ...-|
  7. ` ` '' '`-'-' '-`-`-' ' '`-'-`-`-` '`-'-
  8. -->
  9. <meta charset="UTF-8" />
  10. <meta name="viewport" content="width=device-width, initial-scale=1">
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  12. <meta name="description" content="<?php dw_meta_desc();?>"/>
  13. <?php wp_head(); ?>
  14. <?php if ( is_singular() ) echo '<link rel="canonical" href="' . get_permalink() . '" />'; ?>
  15. </head>
  16. <body <?php page_bodyclass(); ?>>
  17. <header id="header">
  18. <div class="navbar fixed-top">
  19. <div class="container">
  20. <div class="site-title">
  21. <a href="#offcanvasNav" class="navbar-brand navbar-right light" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNav" aria-controls="offcanvasNav" title="David A. Windham" rel="home">David A. Windham</a>
  22. </div>
  23. </div>
  24. </div>
  25. </header>
  26. <div class="offcanvas offcanvas-top text-bg-blue" tabindex="-1" id="offcanvasNav" aria-labelledby="offcanvasNavLabel">
  27. <nav class="d-flex justify-content-center" role="navigation">
  28. <ul class="nav list-group list-group-horizontal pt-3 fs-5">
  29. <li class="list-group-item list-group-flush"><a href="<?php echo home_url( '/' ); ?>"><i class="bi bi-house"></i></a></li>
  30. <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>about"><i class="bi bi-person"></i> About</a></li>
  31. <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>desk"><i class="bi bi-pen"></i> Desk</a></li>
  32. <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>now"><i class="bi bi-hourglass"></i> Now</a></li>
  33. <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>studio"><i class="bi bi-lightbulb"></i> Studio</a></li>
  34. <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>contact"><i class="bi bi-envelope"></i> Contact</a></li>
  35. <li class="list-group-item"><a href="<?php echo home_url( '/' ); ?>sitemap"><i class="bi bi-diagram-3"></i></a></li>
  36. </ul>
  37. </nav>
  38. </div>