Repository navigation
Expand file tree
/
Copy pathaboutus.html
More file actions
241 lines (229 loc) · 9.13 KB
/
Copy pathaboutus.html
File metadata and controls
241 lines (229 loc) · 9.13 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="favicon.png" type="image/png" id="favicon" />
<title>About us</title>
<!-- Font Awesome CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-..." crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
body {
background-image: url('https://wallpapers.com/images/high/super-cool-wolf-1vnkzphi9nd86yr7.webp');
background-size: cover;
background-position: center;
background-attachment: fixed;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
color: white;
}
nav {
display: flex;
justify-content: space-between;
padding: 10px;
height: 70px; /* Set nav bar height to 70px */
background-color: rgba(0, 0, 0, 0.85); /* More opaque black */
position: sticky;
top: 0;
z-index: 1000;
}
.left, .right {
display: flex;
}
nav a {
margin: 0 15px;
text-decoration: none;
color: white; /* White text color for nav links */
display: flex;
align-items: center;
}
footer {
display: flex;
justify-content: space-between;
align-items: center;
background-color: rgba(0, 0, 0, 0.85); /* More opaque black */
padding: 20px;
color: white; /* White text color for footer */
margin-top: auto;
}
.footer-left {
display: flex;
}
.footer-left a {
margin: 0 15px;
text-decoration: none;
color: lightblue;
font-weight: bold;
display: flex;
align-items: center;
}
.footer-left a i {
margin-right: 5px;
}
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 34px;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
border-radius: 50%;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
}
input:checked + .slider {
background-color: #2196F3;
}
input:checked + .slider:before {
transform: translateX(26px);
}
.typing-effect {
font-size: 2rem;
color: white;
font-family: 'Courier New', Courier, monospace;
white-space: pre-wrap;
overflow-wrap: break-word;
border-right: 2px solid white;
animation: blink-caret 0.75s step-end infinite;
display: inline-block;
max-width: 80vw;
text-align: left;
margin-bottom: 20px;
}
@keyframes blink-caret {
from, to { border-color: transparent; }
50% { border-color: white; }
}
#typingContainer {
margin-top: 100px; /* Adjust this value to position lower */
}
</style>
</head>
<body>
<nav>
<div class="left">
<a href="index.html"><i class="fa-solid fa-house"></i> Home</a>
<a href="chat.html"><i class="fa-solid fa-comments"></i> Chat</a>
<a href="othersites.html"><i class="fa-solid fa-globe"></i> Other Sites</a>
</div>
<div class="right">
<a href="nextplannedlink.html"><i class="fa-solid fa-link"></i> Next Planned Link</a>
<a href="aboutus.html"><i class="fa-solid fa-question-circle"></i> About Us</a>
<a href="loading1v1lol.html"><i class="fa-solid fa-person-rifle"></i> 1v1.lol</a>
<a href="loadingminecraft.html"><i class="fa-solid fa-cube"></i> Minecraft</a>
<a href="games.html"><i class="fa-solid fa-gamepad"></i> Games Launcher</a>
<a href="settings.html"><i class="fa-solid fa-gear"></i> Settings</a>
</div>
</nav>
<div id="typingContainer">
<h1 class="typing-effect" id="typingEffect"></h1>
</div>
<footer>
<div class="footer-left">
<a href="https://stackoverflow.com/users/27782380/wolf-byte" target="_blank">
<i class="fa-brands fa-stack-overflow"></i> Stack Overflow
</a>
<a href="https://wolfbyte.straw.page" target="_blank">
<i class="fa-solid fa-face-smile"></i> Straw Page
</a>
<a href="https://github.com/wolfbyte-studios1" target="_blank">
<i class="fa-brands fa-github"></i> GitHub
</a>
</div>
<div class="footer-right">
<label for="faviconSwitch">Switch Favicon:</label>
<label class="switch">
<input type="checkbox" id="faviconSwitch" />
<span class="slider"></span>
</label>
</div>
</footer>
<script>
const textToType = "01100100 01100101 01110110 01100101 01101111 01101100 01110000 01101001 01101110 01100111 00100000 01110100 01101000 01100101 00100000 01110111 01100101 01100010 00100000 00110101 00100000 01110011 01110100 01100101 01110000 01110011 00100000 01100001 01101000 01100101 01100001 01100100";
let index = 0;
const typingEffect = document.getElementById('typingEffect');
function type() {
if (index < textToType.length) {
typingEffect.textContent += textToType.charAt(index);
index++;
if (typingEffect.scrollWidth > typingEffect.clientWidth) {
typingEffect.textContent += '\n'; // Move to next line
}
setTimeout(type, 100); // Adjust the speed here
}
}
type();
</script>
<script>
function changeFavicon() {
const favicon = document.getElementById('favicon');
const isChecked = document.getElementById('faviconSwitch').checked;
favicon.href = isChecked ? 'favicon1.png' : 'favicon.png';
document.title = isChecked ? 'MYP home' : 'wolfbyte home'; // Change title
localStorage.setItem('faviconState', isChecked); // Save state in localStorage
}
// Load favicon state on page load
window.addEventListener('load', () => {
const favicon = document.getElementById('favicon');
const savedState = localStorage.getItem('faviconState');
if (savedState === 'true') {
favicon.href = 'favicon1.png';
document.getElementById('faviconSwitch').checked = true;
} else {
favicon.href = 'favicon.png';
document.getElementById('faviconSwitch').checked = false;
}
// Load background image state
const savedBackground = localStorage.getItem('background');
if (savedBackground) {
document.body.style.backgroundImage = savedBackground; // Apply the saved background image
const currentBackground = savedBackground.match(/'([^']+)'/)[1];
document.getElementById('current-background').innerText = currentBackground.split('/').pop().split('.')[0]; // Update displayed background name
}
});
document.getElementById('faviconSwitch').addEventListener('change', changeFavicon);
// Background change functions
function changeBackground(image, name) {
document.body.style.backgroundImage = `url('${image}')`;
localStorage.setItem('background', `url('${image}')`); // Save the selected background in localStorage
document.getElementById('current-background').innerText = name; // Update displayed background name
}
// Event listeners for background buttons
document.getElementById('default-btn').addEventListener('click', () => changeBackground('https://wallpapers.com/images/high/super-cool-wolf-1vnkzphi9nd86yr7.webp', 'Default'));
document.getElementById('starry-btn').addEventListener('click', () => changeBackground('b2.jpeg', 'Starry'));
document.getElementById('blue-btn').addEventListener('click', () => changeBackground('b1.jpeg', 'Blue'));
document.getElementById('purple-btn').addEventListener('click', () => changeBackground('b3.jpeg', 'Purple'));
document.addEventListener('keydown', (event) => {
if (event.key === '`') {
window.location.href = 'https://web.toddleapp.com/page-not-found';
}
});
</script>
</body>
</html>