deepak191z commited on
Commit
f75fa0e
·
verified ·
1 Parent(s): daf90d7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +88 -0
index.html CHANGED
@@ -319,7 +319,95 @@
319
  </div>
320
  </div>
321
 
 
 
322
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
  <script>
324
 
325
 
 
319
  </div>
320
  </div>
321
 
322
+ <section class="px-4 py-16 max-w-5xl mx-auto">
323
+ <h2 class="text-3xl font-semibold text-center mb-10">Why Use This Tool?</h2>
324
 
325
+ <div class="grid gap-8 md:grid-cols-3 text-center">
326
+ <div>
327
+ <div class="text-4xl mb-4">⚡</div>
328
+ <h3 class="text-xl font-medium mb-2">Fast Setup</h3>
329
+ <p class="text-gray-600 text-sm">Turn your Google Sheet into a REST API in under a minute. No server, no hosting required.</p>
330
+ </div>
331
+
332
+ <div>
333
+ <div class="text-4xl mb-4">🧠</div>
334
+ <h3 class="text-xl font-medium mb-2">No Coding Needed</h3>
335
+ <p class="text-gray-600 text-sm">Generate the exact Google Apps Script code you need—just copy and paste.</p>
336
+ </div>
337
+
338
+ <div>
339
+ <div class="text-4xl mb-4">💸</div>
340
+ <h3 class="text-xl font-medium mb-2">Completely Free</h3>
341
+ <p class="text-gray-600 text-sm">No signup, no cost, no limits. Just paste your spreadsheet and go.</p>
342
+ </div>
343
+ </div>
344
+ </section>
345
+
346
+ <!-- FAQ Section -->
347
+ <section class="px-4 py-16 max-w-2xl mx-auto">
348
+ <h2 class="text-3xl font-semibold text-center mb-10">FAQs</h2>
349
+
350
+ <div class="space-y-4">
351
+ <!-- FAQ Item -->
352
+ <div>
353
+ <button class="w-full text-left flex justify-between items-center text-lg font-medium faq-toggle">
354
+ <span>What does this tool do?</span>
355
+ <svg class="w-5 h-5 transition-transform duration-200" viewBox="0 0 24 24" fill="none" stroke="currentColor">
356
+ <path d="M6 9l6 6 6-6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
357
+ </svg>
358
+ </button>
359
+ <div class="mt-2 text-gray-600 hidden text-sm faq-content">
360
+ It generates Google Apps Script code to convert your spreadsheet into a REST API.
361
+ </div>
362
+ </div>
363
+
364
+ <div>
365
+ <button class="w-full text-left flex justify-between items-center text-lg font-medium faq-toggle">
366
+ <span>Is it really free?</span>
367
+ <svg class="w-5 h-5 transition-transform duration-200" viewBox="0 0 24 24" fill="none" stroke="currentColor">
368
+ <path d="M6 9l6 6 6-6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
369
+ </svg>
370
+ </button>
371
+ <div class="mt-2 text-gray-600 hidden text-sm faq-content">
372
+ Yes, it's completely free. No signups, no limits.
373
+ </div>
374
+ </div>
375
+
376
+ <div>
377
+ <button class="w-full text-left flex justify-between items-center text-lg font-medium faq-toggle">
378
+ <span>Do I need to know coding?</span>
379
+ <svg class="w-5 h-5 transition-transform duration-200" viewBox="0 0 24 24" fill="none" stroke="currentColor">
380
+ <path d="M6 9l6 6 6-6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
381
+ </svg>
382
+ </button>
383
+ <div class="mt-2 text-gray-600 hidden text-sm faq-content">
384
+ Nope. Just copy the generated code and paste it into your Apps Script editor.
385
+ </div>
386
+ </div>
387
+ </div>
388
+ </section>
389
+
390
+ <!-- FAQ Toggle Script -->
391
+ <script>
392
+ document.querySelectorAll('.faq-toggle').forEach(button => {
393
+ button.addEventListener('click', () => {
394
+ const content = button.nextElementSibling;
395
+ const icon = button.querySelector('svg');
396
+
397
+ const isOpen = !content.classList.contains('hidden');
398
+
399
+ // Close all
400
+ document.querySelectorAll('.faq-content').forEach(el => el.classList.add('hidden'));
401
+ document.querySelectorAll('.faq-toggle svg').forEach(i => i.classList.remove('rotate-180'));
402
+
403
+ // Open if not already open
404
+ if (!isOpen) {
405
+ content.classList.remove('hidden');
406
+ icon.classList.add('rotate-180');
407
+ }
408
+ });
409
+ });
410
+ </script>
411
  <script>
412
 
413