-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
208 lines (188 loc) · 5.65 KB
/
index.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aapki Sakhi</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap">
<style>
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
transition: background-color 0.3s, color 0.3s;
overflow-x: hidden;
}
.dark-mode {
background-color: #000;
color: #f4f4f4;
}
header {
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
background-color: #4CAF50;
transition: background-color 0.3s;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
}
.dark-mode header {
background-color: #129310;
}
.logo img {
height: 50px;
margin-right: 20px;
}
h1 {
font-size: 2em;
margin: 0;
text-align: center;
color: white;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
main {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
background-color: #fff;
transition: background-color 0.3s, box-shadow 0.3s;
}
.dark-mode main {
background-color: #111;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
section {
margin-bottom: 30px;
text-align: center;
}
h2 {
font-size: 1.5em;
margin-bottom: 10px;
}
p {
margin: 0 0 20px;
}
a button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
text-transform: uppercase;
font-weight: 500;
display: block;
margin: 0 auto;
text-decoration: none;
}
a button:hover {
background-color: #45a049;
}
.dark-mode a button {
background-color: #333;
}
footer {
text-align: center;
padding: 10px;
background-color: #4CAF50;
color: white;
transition: background-color 0.3s;
position: fixed;
width: 100%;
bottom: 0;
left: 0;
z-index: 1000;
}
.dark-mode footer {
background-color: #129310;
}
.toggle-dark-mode {
position: fixed;
top: 20px;
right: 20px;
background: none;
border: none;
font-size: 1.5em;
cursor: pointer;
z-index: 1001;
color: #333;
transition: color 0.3s;
}
.dark-mode .toggle-dark-mode {
color: #f4f4f4;
}
.chat-section {
position: fixed;
bottom: 50px; /* Adjusted to stay above footer */
right: 20px;
z-index: 1000;
}
.chat-section iframe {
width: 400px;
height: 200px;
border: none;
}
</style>
</head>
<body>
<button id="themeToggle" class="toggle-dark-mode">🌙</button>
<header>
<div class="logo">
<img src="logo.png" alt="Pad Donation Website Logo">
</div>
<h1>Aapki Sakhi</h1>
</header>
<main>
<section id="collaborate">
<h2>Collaborate with us</h2>
<p>NGOs and individuals can collaborate with us to donate pads or funds to support our cause.</p>
<a href="code.collborate.html">
<button>Collaborate Now</button>
</a>
</section>
<section id="request-pad">
<h2>Request a Pad</h2>
<p>Girls in need of pads can request one here.</p>
<a href="code.needapad.html">
<button>Request a Pad</button>
</a>
</section>
<section id="review">
<h2>Leave a Review</h2>
<p>Share your experience with our organization and help us improve.</p>
<a href="review.html" target="_blank">
<button>Leave a Review</button>
</a>
</section>
</main>
<div class="chat-section">
<script defer src="https://app.fastbots.ai/embed.js" data-bot-id="clzisykwl07pynibcdfpzfee7"></script>
</div>
<footer>
<p>© 2024 Pad Donation Website</p>
</footer>
<script>
const themeToggle = document.getElementById('themeToggle');
themeToggle.addEventListener('click', () => {
document.body.classList.toggle('dark-mode');
themeToggle.textContent = document.body.classList.contains('dark-mode') ? '☀️' : '🌙';
});
</script>
</body>
</html>