-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (65 loc) · 2.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Content Page</title>
<link rel="stylesheet" href="./style.css">
<link rel="icon" href="https://cdn-icons-png.freepik.com/512/1700/1700950.png" type="image/x-icon">
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="script.js"></script>
</head>
<body>
<header>
<h1>Inverse Kinematics of a 5 DOF Robot</h1>
<button id="theme-toggle">Toggle Theme</button>
</header>
<style>
.home-button {
background-color: #f1f1f1;
border: none;
color: black;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10px;
cursor: pointer;
width: 30%;
height: 100px;
border-radius: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.home-class{
display: flex;
justify-content: center;
align-items: center;
margin-top: 10%;
}
</style>
<main>
<div class="home-class">
<button class="home-button" onclick="navigateTo('./aim.html')" >
<h2>Objectives</h2>
</button>
<button onclick="navigateTo('./content.html')" class="home-button">
<h2>Theory</h2>
</button>
<button onclick="navigateTo('./credits.html')" class="home-button">
<h2>Credits</h2>
</button>
<button onclick="navigateTo('./model.html')" class="home-button">
<h2>Simulation</h2>
</button>
<button onclick="navigateTo('./contact.html')" class="home-button">
<h2>Contact Us</h2>
</button>
</div>
</main>
<script>
function navigateTo(page) {
window.location.href = page;
}
</script>
</body>