-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
214 lines (214 loc) · 8.2 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
209
210
211
212
213
214
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Donate | Donate Bangladesh</title>
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon" />
<script src="https://cdn.tailwindcss.com"></script>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.min.css"
rel="stylesheet"
type="text/css"
/>
<script src="index.js" defer></script>
</head>
<body class="bg-base-200">
<nav class="sticky top-0 z-20">
<div class="backdrop-blur-sm">
<div class="navbar bg-base-100">
<div class="navbar-start md:px-4">
<a href="./blog.html" class="btn btn-success text-xl text-white max-sm:text-sm"
>Blog</a
>
</div>
<div class="navbar-center">
<header>
<a href='./index.html' class="btn btn-ghost text-xl text-white max-sm:text-sm"
><img src="assets/logo.png" alt="logo" class="w-1/6" /> Donate
Bangladesh</a
>
</header>
</div>
<div class="navbar-end">
<button class="btn btn-ghost text-slate text-lg">
<img src="assets/coin.png" alt="coin" class="w-6" />
<span id="current-balance">80,000</span>
</button>
</div>
</div>
</div>
</nav>
<main>
<section>
<div class="bg-base-200 justify-center items-center flex my-4 gap-4">
<button
class="btn btn-active bg-green-500 text-white"
id="enable-donation"
>
Donation
</button>
<button class="btn btn-outline text-white" id="enable-history">
History
</button>
</div>
</section>
<section id="noakhali">
<div class="hero bg-base-200">
<div class="hero-content flex-col lg:flex-row">
<img
src="assets/noakhali.png"
class="max-w-sm rounded-lg shadow-2xl"
/>
<div class="flex flex-col">
<div>
<div class="p-3 rounded-lg bg-slate-800 inline-block font-bold">
<img src="assets/coin.png" alt="coin" class="inline mr-1" />
<span id="donated-noakhali">500</span> BDT
</div>
</div>
<h1 class="text-3xl font-bold">
Donate for Flood at Noakhali, Bangladesh
</h1>
<p class="py-2">
The recent floods in Noakhali have caused significant damage to
homes infrastructure. Your donation will help provide essential
supplies and to those affected by this disaster. Every
contribution, big or small, makes difference. Please join us in
supporting the relief efforts and making a positive impact on
the lives of those in need.
</p>
<input
type="text"
placeholder="Donation Amount"
class="input input-bordered w-full my-2"
id="amount-noakhali"
/>
<button
class="btn btn-primary bg-yellow-300 border-none"
id="donate-noakhali"
>
Donate now
</button>
</div>
</div>
</div>
</section>
<section id="feni">
<div class="hero bg-base-200">
<div class="hero-content flex-col lg:flex-row">
<img src="assets/feni.png" class="max-w-sm rounded-lg shadow-2xl" />
<div class="flex flex-col">
<div>
<div class="p-3 rounded-lg bg-slate-800 inline-block font-bold">
<img src="assets/coin.png" alt="coin" class="inline mr-1" />
<span id="donated-feni">1,000</span> BDT
</div>
</div>
<h1 class="text-3xl font-bold">
Donate for Flood Relief in Feni, Bangladesh
</h1>
<p class="py-2">
The recent floods in Feni have devastated local communities,
leading to severe disruption and loss. Your generous donation
will help provide immediate aid, including food, clean water,
and medical supplies, to those affected by this calamity.
Together, we can offer crucial support and help rebuild lives in
the aftermath of this disaster. Every contribution counts
towards making a real difference. Please consider donating today
to assist those in urgent need.
</p>
<input
type="text"
placeholder="Donation Amount"
class="input input-bordered w-full my-2"
id="amount-feni"
/>
<button
class="btn btn-primary bg-yellow-300 border-none"
id="donate-feni"
>
Donate now
</button>
</div>
</div>
</div>
</section>
<section id="protest">
<div class="hero bg-base-200">
<div class="hero-content flex-col lg:flex-row">
<img
src="assets/quota-protest.png"
class="max-w-sm rounded-lg shadow-2xl"
/>
<div class="flex flex-col">
<div>
<div class="p-3 rounded-lg bg-slate-800 inline-block font-bold">
<img src="assets/coin.png" alt="coin" class="inline mr-1" />
<span id="donated-protest">1,500</span> BDT
</div>
</div>
<h1 class="text-3xl font-bold">
Aid for Injured in the Quota Movement
</h1>
<p class="py-2">
The recent Quota movement has resulted in numerous injuries and
significant hardship for many individuals. Your support is
crucial in providing medical assistance, rehabilitation, and
necessary supplies to those affected. By contributing, you help
ensure that injured individuals receive the care and support
they need during this challenging time. Every donation plays a
vital role in alleviating their suffering and aiding in their
recovery. Please consider making a donation to support these
brave individuals in their time of need.
</p>
<input
type="text"
placeholder="Donation Amount"
class="input input-bordered w-full my-2"
id="amount-protest"
/>
<button
class="btn btn-primary bg-yellow-300 border-none"
id="donate-protest"
>
Donate now
</button>
</div>
</div>
</div>
</section>
<section class="px-4 md:px-40 flex flex-col-reverse gap-4 hidden" id="history">
</section>
</main>
<dialog id="successful-modal" class="modal">
<div class="modal-box flex flex-col justify-center items-center">
<svg
class="w-12 h-12 mb-1"
fill="#4BB543"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
data-darkreader-inline-fill=""
style="--darkreader-inline-fill: #000000"
>
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
<g
id="SVGRepo_tracerCarrier"
stroke-linecap="round"
stroke-linejoin="round"
></g>
<g id="SVGRepo_iconCarrier">
<path
d="M12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm5.676,8.237-6,5.5a1,1,0,0,1-1.383-.03l-3-3a1,1,0,1,1,1.414-1.414l2.323,2.323,5.294-4.853a1,1,0,1,1,1.352,1.474Z"
></path>
</g>
</svg>
<h3 class="text-lg font-bold">Donation Successful!</h3>
<p class="py-2">Your donation is much appreciated!</p>
<form method="dialog">
<button class="btn">Close</button>
</form>
</div>
</dialog>
</body>
</html>