-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
131 lines (120 loc) · 6.02 KB
/
contact.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<head>
<title>holmdel robotics | contact us</title>
<link rel="stylesheet" href="./css/default.css">
<link rel="icon" type="image/x-icon" href="./images/favicon.ico">
</head>
<body>
<header>
<h1>holmdel robotics <sub>contact us</sub></h1>
<nav>
<span><a href="./index.html">home</a></span>
<span> | </span>
<span><a href="./contact.html">contact us</a></span>
<span> | </span>
<span><button style="margin-top: 10px;" onclick="toggleTheme()"><u>toggle dark mode</u></button></span>
</nav>
</header>
<hr>
<div>
<h1>
Instagram: <a href="https://www.instagram.com/hornet.robotics/">hornet.robotics</a><br><br>
Hornet Blue Email: <a class="strokeblack" style="color: royalblue;" href="mailto: [email protected]">[email protected]</a> <br>
Hornet Silver Email: <a class="strokeblack" style="color: rgb(161, 161, 161);" href="mailto: [email protected]">[email protected]</a> <br>
Hornet Hive Email: <a class="strokeblack" style="color: #D9CEAE" href="mailto: [email protected]">[email protected]</a> <br>
</h3>
</div>
<footer>
<div>
<img src="./images/hornet_logo_black.png" id="logo" alt="holmdel robotics hornet logo" style="width:100px;height:100px;margin-top:100px;" class="center">
</div>
<hr>
<div class="badges">
<img src="./images/badges/button_copy16.png" class="boring-hide" alt="the frog" style="width:80px;height:15px;">
<img src="./images/badges/button_copy9.gif" class="boring-hide" alt="funky shirts" style="width:80px;height:15px;">
<img src="./images/badges/spongebob.gif" class="boring-hide" alt="sponge bob" style="width:80px;height:15px;">
<img src="./images/badges/nb2_copy1.gif" class="boring-hide" alt="nice" style="width:80px;height:15px;">
<img src="./images/badges/logitech.gif" class="boring-hide" alt="thank you logitech for bankrolling me (real)" style="width:80px;height:15px;">
<img src="./images/badges/loveani.gif" class="boring-hide" alt="be who you are" style="width:80px;height:15px;">
<button onclick="toggleBoring()"><img src="./images/badges/clickherebtn.gif" alt="click here" style="width:80px;height:15px;"></button>
<img src="./images/badges/autumn.gif" class="boring-hide" alt="me !!!" style="width:80px;height:15px;">
<img src="./images/badges/give_blood.gif" class="boring-hide" alt="give blood" style="width:80px;height:15px;">
<img src="./images/badges/8015_familyguy.png" class="boring-hide" alt="family guy" style="width:80px;height:15px;">
<img src="./images/badges/infp.gif" class="boring-hide" alt="im an infp" style="width:80px;height:15px;">
<img src="./images/badges/savewater.gif" class="boring-hide" alt="save water" style="width:80px;height:15px;">
<img src="./images/badges/luvsoaps.gif" class="boring-hide" alt="i <3 soaps" style="width:80px;height:15px;">
</div>
</footer>
<script>
if (window.localStorage.getItem('boring') == 'true') {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/boring.css');
} else {
setTheme('./css/boring_dark.css');
}
} else {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/default.css');
} else {
setTheme('./css/dark.css');
}
}
function toggleTheme() {
if (window.localStorage.getItem('boring') == 'true') {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/boring_dark.css');
window.localStorage.setItem('theme', 'dark');
} else {
setTheme('./css/boring.css');
window.localStorage.setItem('theme', 'default');
}
} else {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/dark.css');
window.localStorage.setItem('theme', 'dark');
} else {
setTheme('./css/default.css');
window.localStorage.setItem('theme', 'default');
}
}
}
function toggleBoring() {
if (window.localStorage.getItem('boring') == 'true') {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/default.css');
} else {
setTheme('./css/dark.css');
}
window.localStorage.setItem('boring', 'false');
alert("boring mode deactivated");
} else {
if (window.localStorage.getItem('theme') == 'default') {
setTheme('./css/boring.css');
} else {
setTheme('./css/boring_dark.css');
}
window.localStorage.setItem('boring', 'true');
alert("boring mode activated");
}
}
function setTheme(x) {
var get = document.getElementById('logo');
var theme = document.getElementsByTagName('link')[0];
theme.setAttribute('href', x);
if (x == './css/default.css' || x == './css/boring.css') {
get.src = "./images/hornet_logo_black.png";
} else {
get.src = "./images/hornet_logo_white.png";
}
}
function checkPassword() {
var password = document.getElementById("password");
var passwordText = password.value;
if(passwordText == "takeflighthornets") {
return true;
}
alert("incorrect password");
return false;
}
</script>
</body>