-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
274 lines (245 loc) · 11.6 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Converted React App</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Michroma&family=Rubik&display=swap"
rel="stylesheet">
<style>
.gradient-bg {
background: linear-gradient(to bottom, #001e3c, #007fff, #00509f, #002345);
}
</style>
</head>
<style>
.text-secondary {
color: #4f46e5;
}
.text-green {
color: #10b981;
}
.text-red {
color: #ef4444;
}
.text-tetiary {
color: #6b7280;
}
.bg-light {
background-color: #f9fafb;
}
/* .bg-[#002953] {
background-color: #002953;
}
.text-[#003162] {
color: #003162;
} */
.arrow_right {
color: white;
}
.copyright {
color: #6b7280;
}
</style>
<body style="background: #001e3c; color: #f9fafb;">
<!-- Navigation -->
<nav class="w-full mx-auto border-b-2 border-secondary" style="padding: 0.7rem 3rem; border-bottom: 2px solid #007fff;">
<div class="flex items-center justify-between mx-auto py-4 w-[90%]">
<h1 class="font-bold text-xl"><a href="/">D-appsconnect</a></h1>
<ul class="hidden md:flex items-center justify-between gap-3 cursor-pointer sm:text-xs md:text-base">
<li class="hover:font-bold">Latest Airdrops</li>
<li class="hover:font-bold">Hot Airdrops</li>
<li class="hover:font-bold">Potential Airdrops</li>
</ul>
<div class="px-5 md:px-24 flex flex-col items-center">
<button id="connectButton"
class="w-full md:w-95 h-10 bg-green-500 text-white p-5 text-sm md:text-base rounded-3xl z-10 flex items-center justify-center"
aria-label="Claim Tokens">Connect Wallet</button>
</div>
<button id="menuButton" class="md:hidden">
<span id="menuIcon">☰</span>
<span id="closeIcon" class="hidden">✖</span>
</button>
</div>
<ul id="mobileMenu" class="flex flex-col items-center justify-between gap-3 cursor-pointer md:hidden">
<li class="hover:font-bold">Latest Airdrops</li>
<li class="hover:font-bold">Hot Airdrops</li>
<li class="hover:font-bold">Potential Airdrops</li>
</ul>
</nav>
<!-- Main Content -->
<main class="w-full h-auto sm:h-[89vh] mt-6 mb-4 gradient-bg" style="padding: 3rem;">
<section class="w-[90%] mx-auto py-4 flex flex-col sm:flex-row items-center justify-between gap-3">
<section class="basis-[45%]">
<h1 class="text-2xl sm:text-3xl md:text-5xl font-bold mb-4">
Claim Hot and Upcoming Airdrops
</h1>
<p class="mb-4 sm:text-lg">
Stay up to date with latest, hottest, and potential airdrops. See what's trending and participate...
</p>
</section>
<section class="basis-[55%] flex items-center justify-center">
<div class="p-1">
<img src="./images/galaxy-img.gif" alt="Ethereum logo" class="w-full h-auto" />
</div>
</section>
</section>
</main>
<!-- Latest Airdrops Section -->
<!-- <section class="w-full h-full">
<section class="w-10/12 mx-auto mt-16">
<section>
<h2 class="mb-4 text-2xl md:text-3xl">Latest Airdrops.</h2>
<p class="text-sm mb-4">
Here you will find the most recent airdrop campaigns. <br> Connect and get access to all available
airdrops!
</p>
</section>
<section class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4">
Airdrop Cards - Example for two items
<div class="bg-white shadow-md rounded-md p-4 cursor-pointer transition duration-300 hover:shadow-lg"
onclick="handleTokenClick(datasmd[0])">
<div class="flex items-center justify-between mb-2">
<div class="w-14 h-14 overflow-hidden rounded-full">
<img src="public/letit.jpg" alt="airdrop logo" class="object-cover w-full h-full">
</div>
<div class="flex flex-col items-start justify-start ml-2">
<div class="font-semibold">LETIT</div>
<div class="text-xs text-gray-600">value: n/a</div>
</div>
</div>
<div class="text-green-500 italic">confirmed</div>
</div>
<div class="bg-white shadow-md rounded-md p-4 cursor-pointer transition duration-300 hover:shadow-lg"
onclick="handleTokenClick(datasmd[1])">
<div class="flex items-center justify-between mb-2">
<div class="w-14 h-14 overflow-hidden rounded-full">
<img src="public/lightlink.jpg" alt="airdrop logo" class="object-cover w-full h-full">
</div>
<div class="flex flex-col items-start justify-start ml-2">
<div class="font-semibold">LIGHTLINK</div>
<div class="text-xs text-gray-600">value: n/a</div>
</div>
</div>
<div class="text-green-500 italic">confirmed</div>
</div>
End of Airdrop Cards
</section>
</section>
Modal
<div id="modal"
class="fixed top-0 left-0 w-full h-full bg-gray-800 bg-opacity-50 flex items-center justify-center hidden">
<div class="bg-white p-4 rounded-md shadow-md w-96">
<button id="closeModal"
class="relative top-0.07 left-2 text-gray-500 hover:text-gray-700">×</button>
<div id="modalContent">
Modal content goes here
</div>
</div>
</div>
</section> -->
<section class="w-full h-full">
<section class="w-11/12 h-full mx-auto">
<section class="mt-36">
<h2 class="mb-4 text-2xl md:text-4xl">Latest Airdrops.</h2>
<p class="text-sm mb-4">
Here you will find the most recent airdrop campaigns. <br /> Connect and get access to all available
airdrops!
</p>
</section>
<section id="airdropList" class="w-full flex items-center justify-between flex-wrap">
<!-- JavaScript will populate this section with airdrop cards -->
</section>
</section>
</section>
<!-- Modal -->
<div id="modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center hidden" style="text-align: left;">
<div class="p-6 rounded-lg max-w-sm mx-auto" style="background: #001e3c;">
<button id="closeModal" class=" mt-2 mr-2 text-white-500" style="position: absolute; right: 35rem; font-size: 1.5rem; font-weight: 100; font-family: sans-serif;">X</button>
<div id="modalContent" style="color: #fff">
<!-- Modal content will be populated by JavaScript -->
</div>
</div>
</div>
<section class="w-full h-full" style="padding: 3rem;">
<section class="w-[90%] h-full mx-auto">
<section style="margin-top: 9rem;">
<h2 class="mb-4 text-2xl md:text-[2.5rem]">
Trending collections
</h2>
<p class="text-sm mb-4">
See what’s trending in the market based on floor price, volume, etc.
</p>
</section>
<section class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8" id="collection-container">
<!-- Collection cards will be dynamically inserted here -->
</section>
</section>
</section>
<!-- Modal -->
<div id="modal"
class="fixed top-0 left-0 w-full h-full bg-gray-800 bg-opacity-50 flex items-center justify-center hidden">
<div class="bg-white p-4 rounded-md shadow-md w-96 relative">
<button id="closeModal" class="relative top-0.5 right-2 text-gray-500 hover:text-gray-700">×</button>
<div id="modalContent">
<!-- Modal content goes here -->
</div>
</div>
</div>
<footer class="w-full bg-light" style="padding: 3rem; background: #001e3c; color: #f9fafb;">
<section class="w-full flex items-center md:items-start justify-center md:justify-between flex-col p-[4%] mx-auto">
<section class="flex items-start justify-between flex-wrap w-full">
<div class="footer_left">
<div class="footer_logo">
<h2 class="text-4xl font-bold">D-Appsconnect</h2>
</div>
<p class="w-[13.6875rem] text-base my-4">Do almost everything with D-Appsconnect NFT market tools
built for
degens, by degens.</p>
<ul class="flex items-center justify-between text-3xl text-tetiary">
<li>
<i class="fab fa-discord"></i>
</li>
<li>
<i class="fab fa-twitter"></i>
</li>
<li>
<i class="fab fa-telegram"></i>
</li>
<li>
<i class="fab fa-github"></i>
</li>
</ul>
</div>
<div class="footer_right text-left md:text-right">
<i>
<h2 class="text-[1.72rem] text-left md:text-right mb-4">Know what's up</h2>
</i>
<form class="flex items-center justify-between bg-[#002953] mb-4 p-4">
<input type="text" placeholder="your e-mail"
class="bg-[#002953] outline-none text-white placeholder:text-tetiary p-4" />
<i class="fas fa-arrow-right arrow_right"></i>
</form>
<p class="font-normal text-[0.825rem] mb-2 flex items-center justify-start md:justify-end gap-2">
<i class="far fa-copyright copyright"></i>
<span>2024 D-Appsconnect Labs, Inc.</span>
</p>
<p>All Rights Reserved</p>
</div>
</section>
<div class="w-full">
<h1
class="text-[#003162] font-bold text-center w-full text-[2.118rem] sm:text-[4.45rem] md:text-[9.75rem] tracking-[0.1rem] sm:tracking-[0.5rem] md:tracking-[0.7rem]" style="font-size: 2.5rem; color: #003162; font-weight: bolder;">
D-Appsconnect
</h1>
</div>
</section>
</footer>
<script src="./main.js"></script>
<script src="./Js/script.js"></script>
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
</body>
</html>