-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
38 lines (37 loc) · 1.44 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title><?php the_title();?></title>
<?php wp_head();?>
</head>
<body <?php body_class('border-t-8 border-teal-500');?>">
<header>
<nav>
<div class="container mx-auto px-4 max-w-4xl">
<div class="bg-white shadow-lg rounded-lg md:flex justify-between">
<div class="logo">
<img src="<?php bloginfo('template_url'); ?>/assets/img/logo.png" alt="company Logo" width="100" height="1s00">
</div>
<div class="navlinks p-8">
<?php
wp_nav_menu(
array(
'theme_location' => 'main-nav',
'menu_class' => 'flex'
)
)
?>
<!-- <ul class="flex">-->
<!-- <li class="px-2"><a href="/">Home</a></li>-->
<!-- <li class="px-2"><a href="about">About</a></li>-->
<!-- <li class="px-2"><a href="contact">Contact</a></li>-->
<!-- </ul>-->
</div>
</div>
</div>
</nav>
</header>