-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
68 lines (58 loc) · 2.43 KB
/
test.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
<!DOCTYPE html>
<html>
<title>Veritas</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
body, html {
height: 100%;
line-height: 1.8;
}
.w3-bar .w3-button {
padding: 16px;
}
</style>
<body>
<!-- Navbar (sit on top) -->
<div className="w3-top">
<div className="w3-bar w3-white w3-card" id="myNavbar">
<a href="#home" className="w3-bar-item w3-button w3-wide">VERITAS</a>
<!-- Right-sided navbar links -->
<div className="w3-right w3-hide-small">
<a href="#team" className="w3-bar-item w3-button"><i className="fa"></i> ADMIN </a>
<a href="#work" className="w3-bar-item w3-button"><i className="fa"></i> SPECIFIC DOCUMENT </a>
<a href="#pricing" className="w3-bar-item w3-button"><i className="fa"></i> OVERVIEW PANEL </a>
<a href="#contact" className="w3-bar-item w3-button"><i className="fa"></i> MANUAL REVIEWER </a>
</div>
</div>
</div>
<!-- Sidebar on small screens when clicking the menu icon -->
<nav className="w3-sidebar w3-bar-block w3-black w3-card w3-animate-left w3-hide-medium w3-hide-large" style="display:none" id="mySidebar">
<a href="javascript:void(0)" onclick="w3_close()" className="w3-bar-item w3-button w3-large w3-padding-16">Close ×</a>
<a href="#about" onclick="w3_close()" className="w3-bar-item w3-button">ABOUT</a>
<a href="#team" onclick="w3_close()" className="w3-bar-item w3-button">TEAM</a>
<a href="#work" onclick="w3_close()" className="w3-bar-item w3-button">WORK</a>
<a href="#pricing" onclick="w3_close()" className="w3-bar-item w3-button">PRICING</a>
<a href="#contact" onclick="w3_close()" className="w3-bar-item w3-button">CONTACT</a>
</nav>
<script>
// Toggle between showing and hiding the sidebar when clicking the menu icon
var mySidebar = document.getElementById("mySidebar");
function w3_open() {
if (mySidebar.style.display === 'block') {
mySidebar.style.display = 'none';
} else {
mySidebar.style.display = 'block';
}
}
// Close the sidebar with the close button
function w3_close() {
mySidebar.style.display = "none";
}
</script>
</body>
</html>