-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathindex.html
More file actions
400 lines (362 loc) · 19.9 KB
/
index.html
File metadata and controls
400 lines (362 loc) · 19.9 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
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TailorWind</title>
<link rel="icon" type="image/png" href="/Logo.png">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="/src/styles/main.css" />
</head>
<body>
<!-- Scroll-to-Top Button -->
<button id="scrollButton" title="Go to top">
<i class="fas fa-arrow-up"></i>
</button>
<!-- Navbar -->
<%- include("src/partials/navbar.ejs") %>
<main class="main pt-[10vh]">
<!-- Hero Section -->
<section class="px-4 py-12 text-center">
<div class="container mx-auto">
<h2 class="text-4xl md:text-6xl text-[#049b9f] my-5 font-bold">
Tailwind Generator
</h2>
<p class="max-w-2xl mx-auto text-base leading-relaxed text-gray-700 md:text-lg mb-7">
Collection of useful tools and generators for Tailwind to create,
design, and customize all kinds of web components using a graphical
editor.
</p>
<button
class="bg-[#049b9f] text-white py-3 px-6 md:px-8 rounded-lg text-base cursor-pointer transition duration-300 ease-in-out hover:bg-[#027074]"
onclick="window.location.href='/src/pages/tools-and-generator.html'">
>> Tools & Generators - 100% Free!
</button>
<img src="/src/assets/Homepage-HeroImage.png"
class="w-full h-auto max-w-5xl mx-auto mt-8 border border-gray-300 shadow-lg rounded-xl"
alt="Tailwind Generator Preview" />
</div>
</section>
<!-- Tools Section -->
<section class="px-6 pb-20 md:px-10">
<div class="mb-8 text-center">
<h3 class="text-3xl font-bold text-gray-800 md:text-4xl">
Tools & Generators
</h3>
<p class="mt-2 text-lg text-gray-600">
Check out the most useful tools and generators built by Tailwind
Generator.
</p>
</div>
<div class="grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3">
<!-- Card Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/Homepage-HeroImage.png" alt="Card Generator" class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">Card Generator</h4>
<p class="mb-4 text-gray-600">
Cards are a modern way of displaying information on a website.
Create, design, and customize beautiful card components.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8] focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f] active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/card-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b] opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out"></span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- Toast-Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/toast-generator.png" alt="Toast Generator" class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">Toast Generator</h4>
<p class="mb-4 text-gray-600">
Design clean and smooth Pop-Up Notification.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8] focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f] active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/toast-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b] opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out"></span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- Skeleton-Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/Skeketon-generator.png" alt="Skeleton Generator" class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">Skeleton Generator</h4>
<p class="mb-4 text-gray-600">
Design loading state placeholders visually.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8] focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f] active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/skeleton-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b] opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out"></span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- Grid Layout Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/grid_layout_gen_image.png" alt="Grid Layout Generator"
class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">
Grid Layout Generator
</h4>
<p class="mb-4 text-gray-600">
Easily create grid layouts using a graphical editor. Customize
columns, rows, and more or choose from various grid presets.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8] focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f] active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/grid-layout-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b] opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out"></span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- Table Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/table_gen_image.png" alt="Table Generator" class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">
Table Generator
</h4>
<p class="mb-4 text-gray-600">
Create and design tables for Tailwind using a graphical editor.
Export as HTML + Tailwind CSS code.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8] focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f] active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/table-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b] opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out"></span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- Form Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/form-generator.png" alt="Table Generator" class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">
Form Generator
</h4>
<p class="mb-4 text-gray-600">
Create and design dynamic forms using a user-friendly editor.
Customize fields, add buttons, preview live changes, and export
forms with HTML + TailwindCSS code for seamless integration.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8] focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f] active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/form-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b] opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out"></span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- navbar-generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/navbar.png" alt="Navbar Generator" class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">
Navbar Generator
</h4>
<p class="mb-4 text-gray-600">
Create and customize responsive navigation bars using a graphical editor
. Export as clean HTML and Tailwind CSS code.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8] focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f] active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/navbar-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b] opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out"></span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- Color Palette Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/color-plate.png" alt="Color Palette Generator" class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">
Color Palette Generator
</h4>
<p class="mb-4 text-gray-600">
Generate beautiful color combinations for your UI.
Create palettes, copy HEX values, and reuse them across components.
</p>
<button class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out
hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8]
focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f]
active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/color-palette.html'">
<span class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b]
opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out">
</span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- Gradient Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img
src="/src/assets/gradient-generator.jpeg"
alt="Gradient Generator"
class="object-cover w-full h-40"
/>
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">
Gradient Generator
</h4>
<p class="mb-4 text-gray-600">
Create beautiful linear and radial gradients visually and export
Tailwind CSS utility classes instantly.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out
hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg hover:text-[#e0f7f8]
focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f]
active:scale-95 active:bg-[#026a6c] relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/gradient-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b]
opacity-0 group-hover:opacity-100 transition-opacity duration-300 ease-in-out">
</span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
<!-- Button Generator -->
<div class="flex flex-col items-center overflow-hidden bg-white rounded-lg shadow-lg">
<img src="/src/assets/button.png" alt="Button Generator" class="object-cover w-full h-40" />
<div class="p-6 text-center">
<h4 class="mb-2 text-xl font-bold text-gray-800">Button Generator</h4>
<p class="mb-4 text-gray-600">
Create customizable buttons with colors, radius, border, and hover effects.
Export clean HTML + TailwindCSS code instantly.
</p>
<button
class="bg-[#049b9f] text-white px-4 py-2 rounded-lg shadow-md transform transition duration-300 ease-in-out hover:bg-[#037a7b] hover:scale-105 hover:shadow-lg focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-[#049b9f] active:scale-95 relative overflow-hidden group text-sm"
onclick="window.location.href='/src/pages/button-generator.html'">
<span
class="absolute inset-0 bg-gradient-to-r from-[#04c4d0] via-[#049b9f] to-[#037a7b] opacity-0 group-hover:opacity-100 transition-opacity duration-300"></span>
<span class="relative z-10">Get Started</span>
</button>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section id="faq" class="px-6 py-16 bg-gray-100">
<div class="mb-10 text-center">
<h3 class="text-3xl font-bold text-gray-800 md:text-4xl">
Frequently Asked Questions
</h3>
<p class="mt-4 text-gray-600">
Answers to the most common questions about Tailwind Generator.
</p>
</div>
<div class="max-w-4xl mx-auto space-y-6">
<div
class="p-6 bg-white rounded-lg shadow-md transform transition-transform duration-300 hover:scale-105 hover:shadow-xl hover:bg-gray-50">
<h4 class="text-lg font-bold text-gray-800 hover:text-blue-600">
What is Tailwind Generator?
</h4>
<p class="mt-2 text-gray-600">
Tailwind Generator is a collection of tools and graphical editors to
help you create and customize web components using Tailwind CSS.
</p>
</div>
<div
class="p-6 bg-white rounded-lg shadow-md transform transition-transform duration-300 hover:scale-105 hover:shadow-xl hover:bg-gray-50">
<h4 class="text-lg font-bold text-gray-800 hover:text-blue-600">
Is Tailwind Generator free to use?
</h4>
<p class="mt-2 text-gray-600">
Yes, all the tools and generators are completely free to use.
</p>
</div>
<div
class="p-6 bg-white rounded-lg shadow-md transform transition-transform duration-300 hover:scale-105 hover:shadow-xl hover:bg-gray-50">
<h4 class="text-lg font-bold text-gray-800 hover:text-blue-600">
Can I export the generated components?
</h4>
<p class="mt-2 text-gray-600">
Absolutely! You can export the components as HTML and Tailwind CSS
code.
</p>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="px-6 py-16">
<div class="mb-10 text-center">
<h3 class="text-3xl font-bold text-gray-800 md:text-4xl">Contact Us</h3>
<p class="mt-4 text-gray-600">
Have questions or feedback? We'd love to hear from you!
</p>
</div>
<div class="max-w-4xl mx-auto">
<form id="contactForm" class="p-8 space-y-6 bg-white rounded-lg shadow">
<div>
<label for="name" class="block font-medium text-gray-700">Name</label>
<input type="text" id="name" required class="w-full mt-2 p-3 border rounded-lg focus:outline-none focus:ring-2 focus:ring-[#049b9f]
transition-all duration-300 hover:shadow-md hover:border-[#049b9f]" placeholder="Your name" />
</div>
<div>
<label for="email" class="block font-medium text-gray-700">Email</label>
<input type="email" id="email" required class="w-full mt-2 p-3 border rounded-lg focus:outline-none focus:ring-2 focus:ring-[#049b9f]
transition-all duration-300 hover:shadow-md hover:border-[#049b9f]" placeholder="Your email" />
</div>
<div>
<label for="message" class="block font-medium text-gray-700">Message</label>
<textarea id="message" rows="5" required class="w-full mt-2 p-3 border rounded-lg focus:outline-none focus:ring-2 focus:ring-[#049b9f]
transition-all duration-300 hover:shadow-md hover:border-[#049b9f]"
placeholder="Your message"></textarea>
</div>
<div class="mt-4">
<button type="submit" class="w-full bg-[#049b9f] text-white font-medium py-3 rounded-lg
transition-all duration-300 hover:bg-[#037b7f] hover:shadow-lg hover:scale-105 focus:outline-none">
Send Message
</button>
</div>
</form>
</div>
</section>
</main>
<!-- Footer -->
<%- include("src/partials/footer.ejs") %>
<script>
document.addEventListener("DOMContentLoaded", () => {
const scrollButton = document.getElementById("scrollButton");
// Show button when scrolled down
window.addEventListener("scroll", () => {
if (window.scrollY > 200) {
scrollButton.style.display = "block"; // Show button
} else {
scrollButton.style.display = "none"; // Hide button
}
});
// Scroll to the top when the button is clicked
scrollButton.addEventListener("click", () => {
window.scrollTo({
top: 0,
behavior: "smooth", // Smooth scroll effect
});
});
});
</script>
<!-- Script for Menu Toggle and Dark Mode -->
<script type="module" src="/src/scripts/navbar.js"></script>
<script type="module" src="/src/scripts/contact.js"></script>
</body>
</html>