-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.js
More file actions
36 lines (29 loc) · 1021 Bytes
/
header.js
File metadata and controls
36 lines (29 loc) · 1021 Bytes
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
customElements.define('pop-header', class extends HTMLElement{
constructor(){
super();
this.innerHTML =`
<header>
<nav>
<a href="#" class = "logo">Prince <span>of Peace</span> </a>
<div class = "bx bx-menu" id="menu-icon"></div>
<ul class="navbar">
<li><a href="index.html">Home</a></li>
<li><a href="Staff.html">Church Staff</a></li>
<li><a href="PhotoGallery.html">Photo Gallery</a></li>
<li><a href="AboutUs.html">About Us</a></li>
<li><a href="https://adventistgiving.org/#/org/ANBF23/envelope/start" class="Give">Give</a></li>
</ul>
<div class ="header-btn"></div>
</nav>
</header>`
}
});
customElements.define('pop-footer', class extends HTMLElement{
constructor(){
super();
this.innerHTML =`
<footer>
<p>© Our Church 2023. All rights reserved.</p>
</footer>`
}
});