-
Notifications
You must be signed in to change notification settings - Fork 1
/
createFooter.js
74 lines (73 loc) · 3.42 KB
/
createFooter.js
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
const createFooter = () => {
let footer = document.querySelector(".footer");
footer.innerHTML =
' <footer class="bg-footer_color h-80 flex items-center content-center">\n' +
' <div class="text-white font-body w-full flex justify-evenly">\n' +
' <div class="">\n' +
' <h1 class="pb-3 font-medium text-[20px]">Exclusive</h1>\n' +
' <h2 class="pb-3 text-[15px]">Subscribe</h2>\n' +
' <p class="pb-3 text-[13px]">Get 10% off your first order</p>\n' +
" <div\n" +
' class="flex items-center content-center gap-5 border-2 border-stone-50 rounded-md py-1 px-2"\n' +
" >\n" +
' <p class="text-[13px] text-slate-200">Enter your email</p>\n' +
' <img src="images/icon-send.svg" alt="" />\n' +
" </div>\n" +
" </div>\n" +
"\n" +
' <div class="w-60">\n' +
' <h1 class="pb-3 font-medium text-[20px]">Support</h1>\n' +
' <h2 class="pb-3 text-[15px]">\n' +
" 111 Teen Business Compulex, Nhub Nigeria, Jos, Plateau State.\n" +
" </h2>\n" +
' <p class="pb-3 text-[13px]">[email protected]</p>\n' +
' <p class="pb-3 text-[13px]">+234 8085499803</p>\n' +
" </div>\n" +
"\n" +
' <div class="">\n' +
' <h1 class="pb-3 font-medium text-[20px]">Account</h1>\n' +
' <h2 class="pb-3 text-[15px]">My Account</h2>\n' +
' <h2 class="pb-3 text-[15px]">Login / Register</h2>\n' +
' <h2 class="pb-3 text-[15px]">Cart</h2>\n' +
' <h2 class="pb-3 text-[15px]">Wishlist</h2>\n' +
' <h2 class="pb-3 text-[15px]">Shop</h2>\n' +
" </div>\n" +
"\n" +
' <div class="">\n' +
' <h1 class="pb-3 font-medium text-[20px]">Quick Link</h1>\n' +
' <h2 class="pb-3 text-[15px]">Privacy Policy</h2>\n' +
' <h2 class="pb-3 text-[15px]">Terms Of Use</h2>\n' +
' <h2 class="pb-3 text-[15px]">FAQ</h2>\n' +
' <h2 class="pb-3 text-[15px]">Contact</h2>\n' +
" </div>\n" +
"\n" +
' <div class="">\n' +
' <h1 class="pb-3 font-medium text-[20px]">Download App</h1>\n' +
' <h2 class="pb-3 text-[15px]">\n' +
" Save 1,000 naira with App New User Only\n" +
" </h2>\n" +
' <div class="pb-3 flex gap-3 justify-start items-center">\n' +
" <div>\n" +
' <img src="images/Qrcode 1.png" alt="" />\n' +
" </div>\n" +
" <div>\n" +
' <img class="mb-2" src="images/googleplay.png" alt="" />\n' +
' <img src="images/appplay.png" alt="" />\n' +
" </div>\n" +
" </div>\n" +
' <div class="flex gap-5">\n' +
' <img src="images/facebbok.svg" alt="" />\n' +
' <img src="images/twitter.svg" alt="" />\n' +
' <img src="images/insta.svg" alt="" />\n' +
' <img src="images/linkin.svg" alt="" />\n' +
" </div>\n" +
" </div>\n" +
" </div>\n" +
" </footer>\n" +
" <p\n" +
' class="flex justify-center items-center text-white py-3 bg-footer_color border-t-2 border-white"\n' +
" >\n" +
" © Copyright e-gona 2022. All right reserved\n" +
" </p>";
};
createFooter();