-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (76 loc) · 2.17 KB
/
index.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!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>home</title>
<link rel="stylesheet" href="./styles/index.css">
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined"
rel="stylesheet"
/>
</head>
<body>
<!-- header -->
<div id="Nav"></div>
<!-- header ends -->
<!-- main body -->
<div id="body">
<div id="matches">
<div>Matches</div>
<div>IND vs SL - Complete</div>
<div>PSZ vs ISU - Complete</div>
<div>UAE vs IRE - UAE Won</div>
<div>NZ vs RSA - Preview</div>
<div>NZW vs INDW -...</div>
</div>
<div id="details">
<div id="top">
<div id="featured">
<h3>FEATURED MATCHES</h3>
</div>
<div id="fourpart">
</div>
</div>
<div id="news">
<h3 class="green">Latest news</h3>
<div id="newsDiv"></div>
</div>
<div id="middle">
</div>
<div id="videopart">
<h3 class="green">FEATURED VIDEO</h3>
<div id="video"></div>
</div>
<div id="images">
<h3 class="green">Latest Photos</h3>
<div id="imgDiv"></div>
</div>
<div id="sp">
<h3 class="green">SPECIALS</h3>
<div id="spImg"></div>
</div>
</div>
</div>
<!-- body ends -->
<!-- footer -->
<div id="mainFooter"></div>
<!-- footer ends -->
</body>
</html>
<script type="module" >
import navbar from './components/navbar.js';
import footer from './components/footer.js';
var navDiv=document.getElementById("Nav")
navDiv.innerHTML= navbar()
var mainfooter=document.getElementById("mainFooter");
mainfooter.innerHTML=footer()
let accIcon=document.getElementById("AccountIcon")
accIcon.addEventListener("click", gotologinPage)
function gotologinPage() {
window.location.href="login.html"
}
</script>
<script src="./scripts/index.js">
</script>