Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.php
More file actions
Latest commit
54 lines (44 loc) · 3.02 KB
/
Copy pathheader.php
File metadata and controls
54 lines (44 loc) · 3.02 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?phpbloginfo('name'); ?> | <?phpbloginfo('description'); ?></title>
<link rel="icon" href="<?phpechoget_template_directory_uri(); ?>/assets/icons/favicon.svg" />
<?phpwp_head(); ?>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg py-3 <?phpif(is_category() == true || is_single()) echo"bg-neutral navbar-light"; elseecho"navbar-dark bg-transparent"; ?>">
<div class="container">
<a class="navbar-brand" href="<?phpechoget_home_url(); ?>">
<?phpif(is_front_page()): ?>
<img id="neutral-logo" src="<?phpechoget_template_directory_uri(); ?>/assets/icons/neutral-logo.svg" alt="UpValue Logo">
<img id="reduced-neutral-logo" src="<?phpechoget_template_directory_uri(); ?>/assets/icons/logo-reduced-neutral.svg" alt="UpValue Logo">
<?phpelse: ?>
<img id="logo" src="<?phpechoget_template_directory_uri(); ?>/assets/icons/logo.svg" alt="UpValue Logo">
<img id="reduced-logo" src="<?phpechoget_template_directory_uri(); ?>/assets/icons/logo-reduced.svg" alt="UpValue Logo">
<?phpendif; ?>
</a>
<button class="navbar-toggler d-lg-none border-0 shadow-none" type="button" data-bs-toggle="collapse" data-bs-target="#navBar" aria-controls="navBar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end d-lg-flex" id="navBar">
<ul class="navbar-nav mb-2 mb-lg-0 d-flex align-items-center">
<li class="nav-item">
<a class="nav-link <?phpif(is_front_page()) { echo'border-bottom-neutral';} ?>" aria-current="home" href="<?phpechoget_home_url(); ?>"><h4 class="<?phpif(is_front_page()) echo'f-neutral'?>">Home</h4></a>
</li>
<li class="nav-item">
<a class="nav-link <?phpif(is_category() == true || is_single()) { echo'border-bottom-primary';} ?>" aria-current="blog" href="<?phpechoget_home_url(); ?>/category/geral"><h4 class="<?phpif(is_front_page()) echo'f-neutral'?>">Blog</h4></a>
</li>
<li class="nav-item">
<a href="<?phpechoget_home_url(); ?>/up_plataforma">
<button class="<?phpif(is_category() == true || is_single()) echo'neutral'?>">Área do cliente</button>
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>