-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (52 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>team project</title>
<link rel="stylesheet" type="text/css" href="./dist/output.css">
<link rel="stylesheet" href="./src/components/skews.css">
<script src="./src/components/data.js"></script>
<script defer="defer">
const loadComponents = (id, url) => {
return fetch(url)
.then((response) => response.text())
.then((html) => {
document.getElementById(id).innerHTML = html;
});
};
window.onload = () => {
Promise.all([
loadComponents("hero", "src/sections/hero.html"),
loadComponents("heroFooter", "src/sections/heroFooter.html"),
loadComponents("team", "src/sections/managedTeam.html"),
loadComponents("skill", "src/sections/skillSet.html"),
loadComponents("unsere", "src/sections/unsereTeam.html"),
loadComponents("MaibornWolff", "src/sections/MaibornWolff.html"),
loadComponents("footer", "src/sections/footer.html"),
loadComponents("founder", "src/sections/founder.html"),
loadComponents("training", "src/sections/trainingProgram.html"),
]).then(() => {
managedTeam(), skillSet();
});
};
</script>
</head>
<body class="mx-auto" style="max-width: 1624px;">
<div class="bg-blue_990">
<div class="relative">
<div id="heroFooter"></div>
<div id="hero"></div>
</div>
<div class="bg-gradient-to-r from-blue_990 from-40% to-greenn/50 team_skew">
<div id="team"></div>
<div id="unsere"></div>
<div id="skill"></div>
</div>
<div id="training"></div>
<div id="MaibornWolff"></div>
<div id="founder"></div>
<div id="footer"></div>
</div>
</body>
</html>