forked from NeelayK/VGnetLabWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (33 loc) · 1.61 KB
/
index.html
File metadata and controls
44 lines (33 loc) · 1.61 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VGNET</title>
<link rel="stylesheet" href="CSS/styles.css">
<script src="https://kit.fontawesome.com/a9b2082fbc.js" crossorigin="anonymous"></script>
<link rel="icon" type="image/x-icon" href="./Assets/logo.jpg">
<script type="module" src="JS/sqlfetch.js"></script>
<script type="module" src="JS/htmlfetch.js"></script>
<script type="module">
import { loadComponent, loadPage } from './JS/htmlfetch.js';
window.addEventListener("DOMContentLoaded", () => {
loadComponent("header", "header.html");
loadComponent("footer", "footer.html");
loadComponent("socials", "socials.html");
loadPage("home");
});
</script>
<script type="module" src="JS/script.js"></script>
<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=Arimo:ital,wght@0,400..700;1,400..700&family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Inika:wght@400;700&family=Outfit:wght@100..900&family=Staatliches&family=Teko:wght@300..700&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap" rel="stylesheet">
</head>
<body>
<div id="header"></div>
<div id="socials"></div>
<main id="content"></main>
<div id="footer"></div>
<script src="JS/scroll.js"></script>
</body>
</html>