theWitcher commited on
Commit
82e1386
·
1 Parent(s): 93cb3c0

update suggestToolModal

Browse files
Files changed (1) hide show
  1. index.html +36 -23
index.html CHANGED
@@ -367,40 +367,53 @@ https://chatgpt.com/c/67efa5ae-ab80-8005-a7d4-de3ced6ccec4
367
  </div>
368
  </div>
369
  </div>
370
- <div id="suggestToolModal" class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center hidden z-50 px-4">
371
- <div class="bg-white rounded-lg p-6 w-full max-w-md shadow-lg max-h-[90vh] overflow-y-auto text-right">
372
- <h2 class="text-xl font-semibold mb-4">הצעת כלי חדש</h2>
373
- <form id="suggestToolForm">
374
 
375
- <label class="block mb-2">שם הכלי</label>
376
- <input type="text" name="name" required class="w-full mb-4 border rounded p-2">
 
 
 
 
 
 
 
 
377
 
378
- <label class="block mb-2">לינק</label>
379
- <input type="url" name="url" required placeholder="כתובת URL של הכלי: לדוגמא: https://linktr.ee/sagib" dir="ltr" class="w-full mb-4 border rounded p-2">
 
 
380
 
381
- <label class="block mb-2">תיאור קצר</label>
382
- <textarea name="description" required class="w-full mb-4 border rounded p-2"></textarea>
 
 
383
 
384
- <hr class="my-4">
 
 
 
385
 
386
- <label class="block mb-2">השם שלך</label>
387
- <input type="text" name="userName" placeholder="איך לקרוא לך כשנחזור אליך?" class="w-full mb-4 border rounded p-2">
 
 
388
 
389
- <label class="block mb-2">מס' טלפון נייד</label>
390
- <input type="tel" name="userPhone" placeholder="05X-XXXXXXX" class="w-full mb-2 border rounded p-2" dir="ltr">
391
  <p class="text-sm text-gray-500">נשמח לחזור אליך כשהכלי שצעת נוסף לאתר ❤️</p>
392
- <p class="text-sm text-gray-500 italic mt-1">
393
- ✦ הפרטים שלך נשמרים אצלנו רק לצורך עדכון – אין שימוש אחר.
394
- </p>
395
-
396
- <div class="flex justify-end mt-4">
397
- <button type="button" onclick="closeSuggestModal()" class="mr-2 px-4 py-2 bg-gray-300 rounded">ביטול</button>
398
- <button type="submit" class="px-4 py-2 bg-purple-600 text-white rounded hover:bg-purple-700">שלח</button>
399
- </div>
400
  </form>
 
 
 
 
 
 
 
401
  </div>
402
  </div>
403
 
 
404
  <!-- /* --- Footer --- */ -->
405
  <footer class="fixed bottom-0 left-0 w-full z-50 backdrop-blur-md bg-white/80 shadow-xl border-t border-gray-200">
406
  <!-- <span>© 2025 כל הזכויות שמורות לשגיא בר און.</span> -->
 
367
  </div>
368
  </div>
369
  </div>
370
+ <div id="suggestToolModal" class="fixed inset-0 bg-black bg-opacity-40 flex items-center justify-center z-[9999] px-4 hidden">
 
 
 
371
 
372
+ <div class="bg-white rounded-lg w-full max-w-md shadow-lg max-h-[90vh] overflow-hidden flex flex-col text-right relative">
373
+
374
+ <!-- תוכן -->
375
+ <div class="p-6 overflow-y-auto flex-grow">
376
+ <h2 class="text-xl font-semibold mb-4">הצעת כלי חדש</h2>
377
+ <form id="suggestToolForm" class="space-y-4">
378
+ <div>
379
+ <label class="block mb-1">שם הכלי</label>
380
+ <input type="text" name="name" required class="w-full border rounded p-2">
381
+ </div>
382
 
383
+ <div>
384
+ <label class="block mb-1">לינק</label>
385
+ <input type="url" name="url" required placeholder="כתובת URL של הכלי: לדוגמא: https://linktr.ee/sagib" dir="ltr" class="w-full border rounded p-2">
386
+ </div>
387
 
388
+ <div>
389
+ <label class="block mb-1">תיאור קצר</label>
390
+ <textarea name="description" required class="w-full border rounded p-2"></textarea>
391
+ </div>
392
 
393
+ <div>
394
+ <label class="block mb-1">השם שלך</label>
395
+ <input type="text" name="userName" placeholder="איך לקרוא לך כשנחזור אליך?" class="w-full border rounded p-2">
396
+ </div>
397
 
398
+ <div>
399
+ <label class="block mb-1">מס' טלפון נייד</label>
400
+ <input type="tel" name="userPhone" placeholder="05X-XXXXXXX" class="w-full border rounded p-2" dir="ltr">
401
+ </div>
402
 
 
 
403
  <p class="text-sm text-gray-500">נשמח לחזור אליך כשהכלי שצעת נוסף לאתר ❤️</p>
404
+ <p class="text-sm text-gray-500 italic">✦ הפרטים שלך נשמרים אצלנו רק לצורך עדכון – אין שימוש אחר.</p>
 
 
 
 
 
 
 
405
  </form>
406
+ </div>
407
+
408
+ <!-- כפתורים קבועים בתחתית -->
409
+ <div class="sticky bottom-0 bg-white/80 backdrop-blur-md px-6 py-4 border-t flex justify-center space-x-4 space-x-reverse z-10 rounded-b-lg">
410
+ <button type="button" onclick="closeSuggestModal()" class="px-5 py-2 bg-gray-200 text-gray-800 rounded hover:bg-gray-300">ביטול</button>
411
+ <button type="submit" form="suggestToolForm" class="px-6 py-2 bg-purple-600 text-white rounded hover:bg-purple-700">שלח</button>
412
+ </div>
413
  </div>
414
  </div>
415
 
416
+
417
  <!-- /* --- Footer --- */ -->
418
  <footer class="fixed bottom-0 left-0 w-full z-50 backdrop-blur-md bg-white/80 shadow-xl border-t border-gray-200">
419
  <!-- <span>© 2025 כל הזכויות שמורות לשגיא בר און.</span> -->