forked from tinkerhub/tink-her-hack-temp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
331 lines (312 loc) · 10 KB
/
index.html
File metadata and controls
331 lines (312 loc) · 10 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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spectrum Together | Empowering Autism & Disability Support</title>
<link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet"> <!-- Creative Font -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <!-- For Arrow Icon -->
<style>
body {
font-family: Arial, sans-serif;
background-color: #f5fffee7;
margin: 0;
padding: 0;
text-align: center;
color: #333;
}
header {
background-color: #3eb8a0; color: white;
padding: 0.5px 5px;
}
.left-image, .right-image {
position: absolute;
top: 300px;
width: 300px;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.left-image {
left: 20px;
}
.right-image {
right: 20px;
}
.header-image {
width: 450px;
height: auto;
margin-right: 25px;
border-bottom: 5px solid #9d5db4;
}
h1 {
font-family: 'Pacifico', cursive;
font-size: 80px;
margin: 0;
letter-spacing: 2px;
}
h2 {
font-size: 34px;
margin-top: 10px;
font-weight: normal;
color: #7a4a14;
}
section {
padding: 20px;
margin: 40px auto;
max-width: 800px;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 2px solid #2d7b9d;
}
p {
font-size: 18px;
line-height: 1.6;
margin: 20px auto;
width: 80%;
}
.aim-section {
background-color: #f3e5f5;
padding: 40px;
margin-top: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.search-container {
position: absolute;
top: 20px;
right: 20px;
background-color: white;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
padding: 5px;
}
.search-container input[type="text"] {
padding: 8px;
font-size: 16px;
border: none;
border-radius: 4px;
}
.live-chat-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #29a09a;
color: white;
padding: 15px 25px;
border-radius: 50%;
font-size: 24px;
border: none;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s;
}
.live-chat-button:hover {
background-color: #237d72;
}
.chat-modal {
display: none;
position: fixed;
bottom: 70px;
right: 20px;
width: 300px;
height: 400px;
background-color: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
border-radius: 10px;
padding: 10px;
}
.chat-modal header {
font-size: 18px;
font-weight: bold;
margin-bottom: 15px;
}
.chat-modal textarea {
width: 100%;
height: 80%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}
.chat-modal .close-btn {
background-color: #ff5c5c;
color: white;
padding: 8px;
border-radius: 5px;
cursor: pointer;
border: none;
}
.images-container {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 40px;
}
.images-container img {
width: 200px;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.next-button {
margin-top: 50px;
background-color: #8e24aa;
color: white;
padding: 15px 30px;
border: none;
border-radius: 5px;
font-size: 20px;
cursor: pointer;
transition: background-color 0.3s;
}
.next-button:hover {
background-color: #9a1b92;
}
.oval-boxes-container {
position: relative;
width: 100%; /* Ensure it takes up full width */
height: 300px; /* Adjust height based on your needs */
margin-top: 50px; /* To separate it from other content */
}
.oval-box {
position: absolute;
width: 200px;
height: 120px;
background-color: #59dac0;
color: white;
border-radius: 70px; /* Making the boxes oval */
display: flex;
justify-content: center;
align-items: center;
font-size: 20px;
font-weight: bold;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out;
}
.oval-left {
left: 10%;
top: 50%;
transform: translateY(-50%);
}
/* Position the second oval on the right edge */
.oval-right {
right: 10%;
top: 50%;
transform: translateY(-50%);
}
/* Position the third oval at the center */
.oval-centre {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.oval-box:hover {
transform: scale(1.1); /* Slightly enlarge the boxes on hover */
}
.image-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
z-index: 1000;
}
.image-modal img {
width: 80%;
max-width: 800px;
height: auto;
border-radius: 10px;
}
.close-modal {
position: absolute;
top: 10px;
right: 10px;
background-color: red;
color: white;
padding: 10px;
border-radius: 50%;
font-size: 20px;
cursor: pointer;
}
</style>
</head>
<body>
<header>
<img src="images/4-removebg-preview.png" class="header-image">
<div>
<div class="search-container">
<input type="text" placeholder="🔍Search...">
</div>
<img src="images/au.jpg" class="left-image" alt="Left Image">
<div>
<h1>Spectrum Together</h1>
<h2>Empowering the Autism & Disability Community</h2>
</div>
<img src="images/hi.jpg" class="right-image" alt="Right Image">
</header>
<section>
<p>Welcome to <strong>Spectrum Together</strong>, a place where we unite to support individuals with autism, disabilities, along with their families. Our mission is to create a caring community, offer resources, and provide assistance that promotes inclusion, independence, and emotional well-being.</p>
<p>We are affliated to <strong>Department of Empowerment of Persons with Disabilities</strong> which works as the governmental level to ensure the rights of people with disabilities are protected.. </p>
<p><strong> Join us as we work together to make a difference, raise awareness, and create a brighter future for people with disabilities.</strong></p>
</section>
<div class="oval-boxes-container">
<div class="oval-box oval-left" onclick="openImage('images/ii.png')">What is Autism?</div>
<div class="oval-box oval-right" onclick="openImage('images/disability-image.jpg')">What is Disability?</div>
<div class="oval-box oval-centre" onclick="openImage('images/strategies-image.jpg')">How can we amplify their voices effectively? </div>
</div>
</div>
<section class="images-container">
<img src="images/handin.png">
<img src="images/infini.jpg">
<img src="images/auti.webp">
</section>
<div class="image-modal" id="imageModal">
<img id="modalImage" src="" alt="Modal Image">
<button class="close-modal" onclick="closeModal()">X</button>
</div>
<!-- Next Button to navigate to the next page -->
<a href="aim.html"><button class="next-button"><i class="fas fa-arrow-right"></i> Next</button></a>
<button class="live-chat-button">
<i class="fas fa-comments"></i>
</button>
<!-- Live Chat Button -->
<button class="live-chat-button" onclick="openChat()">
<i class="fas fa-comments"></i>
</button>
<!-- Chat Modal -->
<div class="chat-modal" id="chatModal">
<header>Live Chat</header>
<textarea placeholder="Type your message..."></textarea>
<button class="close-btn" onclick="closeChat()">Close</button>
</div>
<script>
// Function for the search bar
function searchContent() {
const query = document.getElementById('searchInput').value.toLowerCase();
const paragraphs = document.querySelectorAll('section p');
paragraphs.forEach(p => {
const text = p.textContent.toLowerCase();
if (text.includes(query)) {
p.style.display = 'block';
} else {
p.style.display = 'none';
}
});
}
// Open the chat modal
function openChat() {
document.getElementById("chatModal").style.display = "block";
}
// Close the chat modal
function closeChat() {
document.getElementById("chatModal").style.display = "none";
}
</script>
</body>
</html>