-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnft-favourites.html
51 lines (47 loc) · 2.1 KB
/
nft-favourites.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Diphylleia&family=Great+Vibes&family=Quicksand&display=swap" rel="stylesheet">
<title>Favourites</title>
<link rel="icon" href="images/logo/logo only.png" type="image/icon type">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link id="nav-theme" rel="stylesheet" href="styles/nft-nav.css">
<link id="footer-theme" rel="stylesheet" href="styles/nft-footer.css">
<link id="fav-theme" rel="stylesheet" href="styles/favourite.css">
<link rel="stylesheet" href="styles/sideNav.css">
</head>
<body>
<nav></nav>
<div id="mySideNav" class="sidenav"></div>
<div class="fav">
<div>FAVOURITES</div>
<div class="js-count-fav"></div>
</div>
<div class="removeAll">REMOVE ALL</div>
<div class="sortFunction"></div>
<div class="fav-items"></div>
<footer></footer>
<script src="javascript/sideNav.js"></script>
<script type="module" src="javascript/homepage/renderNavbar.js"></script>
<script type="module">
import {renderFav,removeAll} from './javascript/favourite.js'
renderFav();
document.querySelector('.removeAll').addEventListener('click',()=>{
removeAll();
});
</script>
<script type="module">
import {sortHTML} from "./javascript/sortFunction other.js";
import {sortNFT} from "./javascript/favourite.js";
sortHTML();
document.querySelector(".buttonSort").addEventListener('click',()=>{
sortNFT();
})
</script>
<script type='module' src="javascript/homepage/renderFooter.js"></script>
</body>
</html>