Skip to content

Commit 6b2d61a

Browse files
committed
learning-steps page topbar added
1 parent 17952b4 commit 6b2d61a

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

assets/js/pages/learning-steps.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
import { navbarEvent, sidebarEvent } from "/assets/js/global/headerEvents.js";
1+
import { topbarEvent, navbarEvent, sidebarEvent } from "/assets/js/global/headerEvents.js";
22

33
window.addEventListener("DOMContentLoaded", function () {
44
// code here
55

66
// Header Events
7+
topbarEvent();
78
navbarEvent();
89
sidebarEvent();
910
});
11+

pages/learning-steps.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,32 @@
6868
<!-- overlay all elements -->
6969
<div class="body--overlay"></div>
7070

71+
<!-- start topbar -->
72+
<div class="topbar no-select">
73+
<div class="topbar__container">
74+
<ul class="topbar__links">
75+
<li>
76+
<a class="topbar__link" href="/pages/about-us.html">درباره ما</a>
77+
</li>
78+
<li>
79+
<a class="topbar__link" href="/pages/contact.html">تماس با ما</a>
80+
</li>
81+
</ul>
82+
<div class="topbar__icons">
83+
<div class="topbar__icon topbar__search">
84+
<a><i class="topbar__search--toggle fa fa-search" aria-hidden="true"></i></a>
85+
</div>
86+
<div class="topbar__icon topbar__bag">
87+
<a href="#"><i class="fa fa-shopping-bag" aria-hidden="true"></i></a>
88+
</div>
89+
<div class="topbar__icon topbar__perm">
90+
<a href="/pages/my-account.html"><i class="fas fa-user" aria-hidden="true"></i></a>
91+
</div>
92+
</div>
93+
</div>
94+
</div>
95+
<!-- end topbar -->
96+
7197
<!-- start navbar -->
7298
<div class="navbar no-select">
7399
<div class="navbar__container">

0 commit comments

Comments
 (0)