-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader-single.php
117 lines (97 loc) · 5.89 KB
/
header-single.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html <?php language_attributes() ?> dir="rtl">
<head>
<!--required meta tags-->
<meta <?php bloginfo('charset') ?>>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!--meta-->
<meta name="description" content="Quiety creative Saas, software technology, Saas agency & business Bootstrap 5 Html template. It is best and famous software company and Saas website template.">
<meta name="author" content="">
<!--favicon icon-->
<link rel="icon" href="<?php echo get_template_directory_uri() ?>/assets/img/favicon.png" type="image/png" sizes="16x16">
<!--google fonts-->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
<!--build:css-->
<link rel="stylesheet" href="assets/css/main-rtl.css">
<!-- endbuild -->
<!--custom css start-->
<link rel="stylesheet" href="assets/css/custom.css">
<!--custom css end-->
<?php wp_head() ?>
</head>
<!--header start-->
<style>
.main-header {
z-index: 9999;
}
</style>
<header class="main-header position-absolute w-100">
<nav class="navbar navbar-expand-xl navbar-dark sticky-header">
<div class="container d-flex align-items-center justify-content-lg-between position-relative">
<a href="<?php echo get_home_url() ?>" class="navbar-brand d-flex align-items-center mb-md-0 text-decoration-none">
<img src="<?php echo get_template_directory_uri() ?>/assets/img/logo-white.png" alt="logo" class="img-fluid logo-white">
<img src="<?php echo get_template_directory_uri() ?>/assets/img/logo-color.png" alt="logo" class="img-fluid logo-color">
</a>
<a class="navbar-toggler position-absolute right-0 border-0" href="#offcanvasWithBackdrop" role="button">
<span class="far fa-bars" data-bs-toggle="offcanvas" data-bs-target="#offcanvasWithBackdrop" aria-controls="offcanvasWithBackdrop"></span>
</a>
<div class="collapse navbar-collapse justify-content-center">
<ul class="nav col-12 col-md-auto justify-content-center main-menu">
<li class="nav-item dropdown">
<a class="nav-link " href="<?php echo get_home_url() ?>" role="button" data-bs-toggle="dropdown" aria-expanded="false">
خانه
</a>
</li>
<li><a href="<?php echo get_home_url() ?>/blog" class="nav-link">مقالات آموزشی</a></li>
<li class="nav-item ">
<a class="nav-link " href="<?php echo get_home_url() ?>/#price">تعرفه ها</a>
</li>
<li><a href="#faq" class="nav-link">سوالات متداول</a></li>
<li class="nav-item dropdown">
<a class="nav-link " href="<?php echo get_home_url() ?>/#faq" role="button" data-bs-toggle="dropdown" aria-expanded="false">درباره ما</a>
</li>
</ul>
</div>
<div class="action-btns text-end me-5 me-lg-0 d-none d-md-block d-lg-block">
<!-- <a href="login.html" class="btn btn-link text-decoration-none me-2">ورود</a> -->
<a href="#price" class="btn btn-primary">خرید سرویس</a>
</div>
<!--offcanvas menu start-->
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasWithBackdrop">
<div class="offcanvas-header d-flex align-items-center mt-4">
<a href="index.html" class="d-flex align-items-center mb-md-0 text-decoration-none">
<img src="<?php echo get_template_directory_uri() ?>/assets/img/logo-color.png" alt="logo" class="img-fluid ps-2">
</a>
<button type="button" class="close-btn text-danger" data-bs-dismiss="offcanvas" aria-label="Close"><i class="far fa-close"></i></button>
</div>
<div class="offcanvas-body">
<ul class="nav col-12 col-md-auto justify-content-center main-menu">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="<?php echo get_home_url()?>" role="button" data-bs-toggle="dropdown" aria-expanded="false">
خانه
</a>
<div class="dropdown-menu border-0 rounded-custom shadow-lg py-0 bg-white">
<div class="dropdown-grid rounded-custom width-half">
</div>
</div>
</li>
<li><a href="<?php echo get_home_url()?>/blog" class="nav-link">مقالات آموزشی</a></li>
<li class="nav-item dropdown">
<a class="nav-link " href="<?php echo get_home_url()?>/#price" role="button">تعرفه ها</a>
</li>
<li><a href="<?php echo get_home_url()?>/#faq" class="nav-link">سوالات متداول</a></li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">درباره ما</a>
</li>
</ul>
<div class="action-btns mt-4 pe-3">
<!-- <a href="login.html" class="btn btn-outline-primary me-2">ورود</a> -->
<a href="request-demo.html" class="btn btn-primary">درخواست</a>
</div>
</div>
</div>
<!--offcanvas menu end-->
</div>
</nav>
</header>
<!--header end-->