-
Notifications
You must be signed in to change notification settings - Fork 2
/
gallery.html
62 lines (60 loc) · 2.22 KB
/
gallery.html
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
<!DOCTYPE html>
<html lang="en">
<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>Gallery</title>
<link rel="stylesheet" href="gallery.css">
<link rel="stylesheet" href="./navbar-after.css">
<link rel="stylesheet" href="./footer.css">
</head>
<body>
<div id="navbar_container"></div>
<div class="container">
<h1>Introducing the 97 top email <br> marketing campaign <br> examples and designs.</h1>
<p>We’ve curated a selection of the most inspiring and effective email marketing campaigns sent.</p>
<button> <a href="email_builder.html">Get started for free</a></button>
</div>
<div class="container2">
<hr>
<div class="innernav">
<label>GALLERY FILTER:</label>
<button id="active">FEATURED</button>
<button>MARKETING OFFERS</button>
<button>NEWSLETTERS</button>
<button>ANNOUNCEMENTS</button>
<button>EVENTS</button>
</div>
<div class="cards">
</div>
</div>
<div id="footer_container"></div>
</body>
</html>
<script src="gallery.js"></script>
<script type="module">
import navbar_After from './components/navbar_after.js' ;
let container=document.getElementById("navbar_container") ;
container.innerHTML=navbar_After() ;
let user_name = document.querySelector('#user-name');
let user_data = JSON.parse(localStorage.getItem('user_data')) ;
if(user_data.length>=1){
let user=user_data[user_data.length-1] ;
user_name.innerHTML= `<a href="./logout.html">${user.fullName}</a>` ;
}
let nav_butt = document.querySelector('#nav-button>button');
nav_butt.addEventListener('click', ()=>{
window.location.href = "Pricing.html";
})
let overview = document.querySelector('#logo');
overview.addEventListener('click', ()=>{
window.location.href = "overview.html";
})
</script>
<script type="module">
import Footer from './components/footer.js' ;
let footer_container=document.getElementById("footer_container") ;
footer_container.innerHTML=Footer() ;
footer_console.log(container)
</script>