apart the menu from banner

This commit is contained in:
Fabiano Alencar 2018-02-21 10:51:03 -03:00
parent 45f87c5841
commit 7788a8f57f
2 changed files with 60 additions and 59 deletions

59
src/header-top.php Normal file
View File

@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<?php wp_head(); ?>
</head>
<body>
<nav class="navbar navbar-expand-md navbar-light bg-white menu-shadow px-1">
<div class="d-md-flex ml-md-auto mr-md-4">
<a class="navbar-brand tainacan-logo" href="#">
<img src="<?php echo get_template_directory_uri().'/assets/images/logo.svg' ?>" class="logo" style="width: 150px">
</a>
<div class="btn-group pt-1 ml-auto">
<button type="button" class="btn btn-link text-heavy-metal pr-1"><i class="material-icons">folder_open</i></button>
<button type="button" class="btn btn-link text-jelly-bean px-1 dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu tainacan-dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
<div class="btn-group pt-1">
<button type="button" class="btn btn-link text-heavy-metal pr-0 pl-1"><i class="material-icons">person_outline</i></button>
<button type="button" class="btn btn-link text-jelly-bean px-1 dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu tainacan-dropdown-menu">
<a class="dropdown-item" href="#">Trocar Senha</a>
<a class="dropdown-item" href="#">Sair</a>
</div>
</div>
<button class="navbar-toggler text-heavy-metal border-0 px-0 pt-2" type="button" data-toggle="collapse" data-target="#menuTp" aria-controls="menuTp" aria-expanded="false" aria-label="Toggle navigation">
<i class="material-icons">more_vert</i>
</button>
<div class="collapse navbar-collapse mt-sm-1" id="menuTp">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-heavy-metal" href="#"><i class="material-icons">notifications_none</i></a>
</li>
<li class="nav-item">
<a class="nav-link text-heavy-metal" href="#"><i class="material-icons">event</i></a>
</li>
<li class="nav-item">
<a class="nav-link text-heavy-metal" href="#"><i class="material-icons">help_outline</i></a>
</li>
</ul>
</div>
</div>
</nav>

View File

@ -1,62 +1,4 @@
<!DOCTYPE html> <?php require_once('header-top.php'); ?>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<?php wp_head(); ?>
</head>
<body>
<nav class="navbar navbar-expand-md navbar-light bg-white menu-shadow px-1">
<div class="d-md-flex ml-md-auto mr-md-4">
<a class="navbar-brand tainacan-logo" href="#">
<img src="<?php echo get_template_directory_uri().'/assets/images/logo.svg' ?>" class="logo" style="width: 150px">
</a>
<div class="btn-group pt-1 ml-auto">
<button type="button" class="btn btn-link text-heavy-metal pr-1"><i class="material-icons">folder_open</i></button>
<button type="button" class="btn btn-link text-jelly-bean px-1 dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu tainacan-dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
<div class="btn-group pt-1">
<button type="button" class="btn btn-link text-heavy-metal pr-0 pl-1"><i class="material-icons">person_outline</i></button>
<button type="button" class="btn btn-link text-jelly-bean px-1 dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu tainacan-dropdown-menu">
<a class="dropdown-item" href="#">Trocar Senha</a>
<a class="dropdown-item" href="#">Sair</a>
</div>
</div>
<button class="navbar-toggler text-heavy-metal border-0 px-0 pt-2" type="button" data-toggle="collapse" data-target="#menuTp" aria-controls="menuTp" aria-expanded="false" aria-label="Toggle navigation">
<i class="material-icons">more_vert</i>
</button>
<div class="collapse navbar-collapse mt-sm-1" id="menuTp">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-heavy-metal" href="#"><i class="material-icons">notifications_none</i></a>
</li>
<li class="nav-item">
<a class="nav-link text-heavy-metal" href="#"><i class="material-icons">event</i></a>
</li>
<li class="nav-item">
<a class="nav-link text-heavy-metal" href="#"><i class="material-icons">help_outline</i></a>
</li>
</ul>
</div>
</div>
</nav>
<form class="tainacan-form-search d-sm-none"> <form class="tainacan-form-search d-sm-none">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">