File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { navbarEvent , sidebarEvent } from "/assets/js/global/headerEvents.js" ;
1+ import { topbarEvent , navbarEvent , sidebarEvent } from "/assets/js/global/headerEvents.js" ;
22
33window . addEventListener ( "DOMContentLoaded" , function ( ) {
44 // code here
55
66 // Header Events
7+ topbarEvent ( ) ;
78 navbarEvent ( ) ;
89 sidebarEvent ( ) ;
910} ) ;
11+
Original file line number Diff line number Diff line change 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 ">
You can’t perform that action at this time.
0 commit comments