slowtwitch-news/header.php

78 lines
3.4 KiB
PHP
Raw Permalink Normal View History

2024-07-01 20:18:30 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
-->
<meta charset="utf-8">
<meta name="description" content="">
<meta name="author" content="">
<!-- Mobile Specific Metas
-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head() ?>
</head>
<body>
<header class="st-header st-main-grid">
2024-08-16 22:45:35 +00:00
<a href="<?php echo home_url() ?>" class="st-hidden-home-header-link"></a>
2024-07-01 20:18:30 +00:00
<div class="st-header-icon-bar">
2024-07-24 19:17:49 +00:00
<?php
wp_nav_menu(
array(
'menu' => 'desktop-nav',
'container' => '',
'theme_location' => 'primary',
'items_wrap' => '<ul class="st-desktop-nav-links">%3$s</ul>'
)
);
?>
2024-07-24 18:41:47 +00:00
<a href="https://forum.slowtwitch.com" class="st-chip st-chip-primary st-header-icon-bar__item">forum</a>
<a href="https://shop.slowtwitch.com" class="st-chip st-chip-secondary st-header-icon-bar__item">shop</a>
2024-07-22 19:41:07 +00:00
<button class="st-nav-btn st-open-search st-header-icon-bar__item" aria-label="Open Search"><i class="fa fa-search"></i></button>
<button class="st-nav-btn st-open-nav st-header-icon-bar__item" aria-label="Open Navigation"><i class="fa fa-bars"></i></button>
2024-07-01 20:18:30 +00:00
</div>
2024-07-22 19:41:07 +00:00
<div class="st-site-title-grid">
2024-08-16 22:45:35 +00:00
<a href="<?php echo home_url() ?>" class="st-site-title-link st-site-title-link__ball">
2024-07-24 19:17:49 +00:00
<img src="/wp-content/themes/slowtwitch-news/assets/images/slowtwitch-ball-dark-blue.png" alt="Logotype" class="st-site-title__ball">
2024-07-22 19:41:07 +00:00
</a>
2024-08-16 22:45:35 +00:00
<a href="<?php echo home_url() ?>" class="st-site-title-link st-site-title-link__main-title">
2024-07-24 19:17:49 +00:00
<img src="/wp-content/themes/slowtwitch-news/assets/images/logotype-dark-blue.png" alt="Logotype" class="st-site-title">
2024-07-22 19:41:07 +00:00
</a>
</div>
2024-07-01 20:18:30 +00:00
<nav class="st-nav st-main-grid">
<button class="st-nav-btn st-close-nav" aria-label="Close Navigation">&times;</button>
<?php
wp_nav_menu(
array(
'menu' => 'primary',
'container' => '',
'theme_location' => 'primary',
'items_wrap' => '<ul class="st-nav-links">%3$s</ul>'
)
);
?>
</nav>
<div class="st-search-overlay st-main-grid">
<button class="st-nav-btn st-close-search" aria-label="Close Search">&times;</button>
<form class="st-search-form" method="get" action="/">
<div class="st-searchbar-container">
<input type="text" class="st-search-box" name="s" id="s" placeholder="What are you looking for?" />
<button class="st-nav-btn st-btn-search">
<i class="fa fa-search st-open-search"></i>
</button>
</div>
</form>
</div>
2024-06-24 20:59:45 +00:00
</header>