This repository has been archived by the owner on Sep 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpeople.html
182 lines (171 loc) · 6.08 KB
/
people.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A place for Freakybob.">
<meta content="Freakybob" property="og:title" />
<meta content="These people helped in some way, shape, or form" property="og:description" />
<meta content="https://freakybob.site/people" property="og:url" />
<meta content="https://github.com/5quirre1/Freakybob.site/blob/main/Snapshots/Screenshot%202024-08-29%2012.38.20%20AM.png" property="og:image" />
<meta content="#006b79" data-react-helmet="true" name="theme-color" />
<link rel="icon" type="image/png" href="images/Freaky_Bob_people.png">
<title>Others</title>
<style>
body {
background-color: #2cfd9b;
font-family: Arial, sans-serif;
}
h1 {
color: #333;
text-align: center;
}
.button-container {
text-align: center;
margin-top: 20px;
}
.button-container button {
background: none;
border: none;
color: #555;
margin: 0 15px;
font-size: 20px;
cursor: pointer;
padding: 10px 20px;
border-radius: 5px;
border: 2px solid #555;
transition: color 0.3s, background-color 0.3s;
}
.button-container button:hover {
color: #6f0279;
background-color: #f3ef14;
}
.contributors {
text-align: center;
margin-top: 30px;
}
.contributors button {
background-color: #d6c20b;
border: none;
color: #6d5a05;
font-size: 24px;
cursor: pointer;
padding: 10px;
margin: 0 10px;
}
.contributors button:hover {
color: #f106f1;
}
.description {
text-align: center;
margin-top: 20px;
font-size: 20px;
color: #333;
}
.image-container {
text-align: center;
margin-top: 20px;
}
.image-container img {
width: 200px;
height: auto;
border-radius: 50%;
cursor: pointer;
}
audio {
display: none;
}
#main-image {
display: none;
}
</style>
</head>
<body>
<img id="main-image" src="images/pfps/giancafort.jpeg" alt="Main Image">
<h1>People who didn't help but still deserve to be here :)</h1>
<audio
src="audio/copyright-free-background-music-no-copyright-music-216517.mp3"
loop
autoplay>
</audio>
<div class="button-container">
<a href="https://freakybob.site">
<button>Go back to Main Website :3</button>
</a>
</div>
<div class="contributors">
<button onclick="showInfo('Saam')">Saam</button>
<button onclick="showInfo('KM')">KM</button>
<button onclick="showInfo('Noah')">Noah</button>
<button onclick="showInfo('Gianca')">Gianca</button>
<button onclick="showInfo('George')">Stanford</button>
<button onclick="showInfo('Nomaakip')">Nomaakip</button>
<button onclick="showInfo('Nintendofan64')">Nintendofan64</button>
<button onclick="showInfo('Lapis')">Lapis</button>
<button onclick="showInfo('Mpax235')">Mpax235</button>
</div>
<div id="description" class="description"></div>
<div class="image-container" id="person-image" style="display: none;">
<img id="personImage" alt="Person Image">
</div>
<script>
let giancaClickCount = 0;
let isGiancaReplaced = false;
let kmClickCount = 0;
let isKMReplaced = false;
function showInfo(name) {
const descriptions = {
'Saam': 'Saam is cool yay!',
'KM': 'Is now officially cool! (herbert simp)',
'Noah': 'Noah is awesome frfr',
'Gianca': 'Fortnite Playing Twi-I mean, Really good at Fortnite!',
'George': 'The Coolest Crackhead On Earth!',
'Nomaakip': 'Has been learning html which is awesome! Hope to see them on the team!',
'Nintendofan64': 'freakybob found my address and posted it on 4chan send help',
'Lapis': 'Is a really nice and cool person! (KiKi Simp)',
'Mpax235': 'Added Garrys song in the Music Gallery!',
};
const images = {
'Saam': 'images/pfps/Saam.webp',
'KM': isKMReplaced ? 'images/pfps/KM.png' : 'images/pfps/KM.webp',
'Noah': 'images/pfps/Noah.webp',
'Gianca': isGiancaReplaced ? 'images/pfps/giancafort.jpeg' : 'images/pfps/giancanew.png',
'George': 'images/pfps/George.png',
'Nomaakip': 'images/pfps/Nomaakip.png',
'Nintendofan64': 'images/pfps/Nintendofan.png',
'Lapis': 'images/pfps/lapispfp.jpg',
'Mpax235': 'images/pfps/Mpax.png',
};
const descriptionDiv = document.getElementById('description');
const personImage = document.getElementById('person-image');
const image = document.getElementById('personImage');
descriptionDiv.innerText = descriptions[name] || 'Information not available.';
image.src = images[name] || '';
personImage.style.display = (name in images) ? 'block' : 'none';
if (name === 'Gianca') {
image.onclick = handleGiancaImageClick;
} else if (name === 'KM') {
image.onclick = handleKMImageClick;
}
}
function handleGiancaImageClick() {
if (isGiancaReplaced) return;
giancaClickCount++;
if (giancaClickCount >= 10) {
const image = document.getElementById('personImage');
image.src = 'images/pfps/giancafort.jpeg';
isGiancaReplaced = true;
}
}
function handleKMImageClick() {
if (isKMReplaced) return;
kmClickCount++;
if (kmClickCount >= 10) {
const image = document.getElementById('personImage');
image.src = 'images/pfps/KM.png';
isKMReplaced = true;
}
}
</script>
</body>
</html>