slowtwitch-news/header.php

77 lines
3.3 KiB
PHP
Raw 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">
<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">
<a href="<?php echo home_url() ?>" class="st-site-title-link">
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>
<a href="<?php echo home_url() ?>" class="st-site-title-link">
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>