theWitcher commited on
Commit
2f0117b
·
1 Parent(s): b0f8ecb

add youtube

Browse files
Files changed (2) hide show
  1. index.html +46 -13
  2. tools.json +13 -10
index.html CHANGED
@@ -203,8 +203,8 @@ https://chatgpt.com/c/67efa5ae-ab80-8005-a7d4-de3ced6ccec4
203
  <div class="hidden md:flex items-center space-x-4 space-x-reverse">
204
  <!-- /* --- Refresh Button - Still useful for resetting filters/sort --- */ -->
205
  <button id="refreshBtn" class="px-5 py-2 rounded-xl bg-gradient-to-l from-blue-600 to-indigo-500 text-white shadow-md hover:shadow-lg hover:from-blue-700 hover:to-indigo-600 transition-all duration-300">
206
- <i class="fas fa-sync-alt ml-2"></i> אפס תצוגה
207
- </button>
208
 
209
 
210
  <!-- /* --- Admin Edit Button - Uncomment if needed --- */ -->
@@ -412,6 +412,15 @@ https://chatgpt.com/c/67efa5ae-ab80-8005-a7d4-de3ced6ccec4
412
  </div>
413
  </div>
414
  </div>
 
 
 
 
 
 
 
 
 
415
 
416
 
417
  <!-- /* --- Footer --- */ -->
@@ -750,28 +759,38 @@ https://chatgpt.com/c/67efa5ae-ab80-8005-a7d4-de3ced6ccec4
750
 
751
  toolCard.innerHTML = `
752
  <div class="flex items-start mb-4">
753
- <div class="p-3 rounded-lg ${getCategoryColor(tool.category)} text-white mr-4 flex-shrink-0">
754
- <i class="${tool.icon} text-xl"></i>
755
- </div>
756
- <div class="flex-grow">
757
- <div class="flex justify-between items-start">
758
  <h3 class="text-xl font-semibold">${tool.name}</h3>
759
  <button class="speak-button p-2 text-blue-600 hover:text-blue-800 focus:outline-none"
760
  onclick="event.stopPropagation(); speakText('${speakableText.replace(/'/g, "\\'")}')">
761
  <i class="fas fa-volume-up"></i>
762
  </button>
763
  </div>
764
- <span class="text-xs px-2 py-1 rounded-full ${getCategoryBadgeColor(tool.category)}">${getCategoryName(tool.category)}</span>
765
- </div>
766
- ${tool.isNew ? '<span class="absolute top-2 left-2 bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">חדש!</span>' : ''}
 
767
  </div>
768
  <p class="text-gray-700 mb-4 text-sm min-h-[60px]">${tool.description}</p>
769
  <div class="flex justify-between items-center mb-4">
770
- <div class="flex"> ${renderRatingStars(tool.rating)} </div>
 
 
 
 
 
 
 
771
  </div>
772
  <a href="${tool.url}" target="_blank" rel="noopener noreferrer" class="inline-block w-full text-center px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition ${tool.url === '#' ? 'opacity-50 cursor-not-allowed' : ''}">
773
- <i class="fas fa-external-link-alt ml-2"></i> ${tool.url !== '#' ? 'גישה לכלי' : 'אין קישור'}
774
- </a>`;
 
 
775
 
776
  toolsContainer.appendChild(toolCard);
777
  });
@@ -1065,6 +1084,20 @@ https://chatgpt.com/c/67efa5ae-ab80-8005-a7d4-de3ced6ccec4
1065
  console.error(err);
1066
  }
1067
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1068
  </script>
1069
  <!-- /* --------------------------------- */
1070
  /* ------- END OF JAVASCRIPT ------- */
 
203
  <div class="hidden md:flex items-center space-x-4 space-x-reverse">
204
  <!-- /* --- Refresh Button - Still useful for resetting filters/sort --- */ -->
205
  <button id="refreshBtn" class="px-5 py-2 rounded-xl bg-gradient-to-l from-blue-600 to-indigo-500 text-white shadow-md hover:shadow-lg hover:from-blue-700 hover:to-indigo-600 transition-all duration-300">
206
+ <i class="fas fa-sync-alt ml-2"></i> אפס תצוגה
207
+ </button>
208
 
209
 
210
  <!-- /* --- Admin Edit Button - Uncomment if needed --- */ -->
 
412
  </div>
413
  </div>
414
  </div>
415
+ <div id="videoModal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center hidden z-[9999]">
416
+ <div class="bg-white rounded-lg overflow-hidden w-full max-w-3xl shadow-lg relative">
417
+ <button onclick="closeVideoModal()" class="absolute top-2 left-2 text-gray-700 hover:text-red-600 text-xl">
418
+ <i class="fas fa-times"></i>
419
+ </button>
420
+ <iframe id="videoIframe" class="w-full h-[300px] sm:h-[500px]" src="" frameborder="0" allowfullscreen></iframe>
421
+ </div>
422
+ </div>
423
+
424
 
425
 
426
  <!-- /* --- Footer --- */ -->
 
759
 
760
  toolCard.innerHTML = `
761
  <div class="flex items-start mb-4">
762
+ <div class="p-3 rounded-lg ${getCategoryColor(tool.category)} text-white mr-4 flex-shrink-0">
763
+ <i class="${tool.icon} text-xl"></i>
764
+ </div>
765
+ <div class="flex-grow">
766
+ <div class="flex justify-between items-start">
767
  <h3 class="text-xl font-semibold">${tool.name}</h3>
768
  <button class="speak-button p-2 text-blue-600 hover:text-blue-800 focus:outline-none"
769
  onclick="event.stopPropagation(); speakText('${speakableText.replace(/'/g, "\\'")}')">
770
  <i class="fas fa-volume-up"></i>
771
  </button>
772
  </div>
773
+
774
+ <span class="text-xs px-2 py-1 rounded-full ${getCategoryBadgeColor(tool.category)}">${getCategoryName(tool.category)}</span>
775
+ </div>
776
+ ${tool.isNew ? '<span class="absolute top-2 left-2 bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">חדש!</span>' : ''}
777
  </div>
778
  <p class="text-gray-700 mb-4 text-sm min-h-[60px]">${tool.description}</p>
779
  <div class="flex justify-between items-center mb-4">
780
+ <div class="flex items-center gap-2">
781
+ <div class="flex">${renderRatingStars(tool.rating)}</div>
782
+ ${tool.video ? `
783
+ <a href="#" onclick="openVideoModal('${tool.video}')" class="text-red-500 hover:text-red-700" title="צפה בסרטון הדרכה">
784
+ <i class="fab fa-youtube text-xl"></i>
785
+ </a>` : ''
786
+ }
787
+ </div>
788
  </div>
789
  <a href="${tool.url}" target="_blank" rel="noopener noreferrer" class="inline-block w-full text-center px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition ${tool.url === '#' ? 'opacity-50 cursor-not-allowed' : ''}">
790
+ <i class="fas fa-external-link-alt ml-2"></i> ${tool.url !== '#' ? 'גישה לכלי' : 'אין קישור'}
791
+ </a>
792
+ `;
793
+
794
 
795
  toolsContainer.appendChild(toolCard);
796
  });
 
1084
  console.error(err);
1085
  }
1086
  });
1087
+ function openVideoModal(url) {
1088
+ const modal = document.getElementById('videoModal');
1089
+ const iframe = document.getElementById('videoIframe');
1090
+ iframe.src = url;
1091
+ modal.classList.remove('hidden');
1092
+ }
1093
+
1094
+ function closeVideoModal() {
1095
+ const modal = document.getElementById('videoModal');
1096
+ const iframe = document.getElementById('videoIframe');
1097
+ iframe.src = "";
1098
+ modal.classList.add('hidden');
1099
+ };
1100
+
1101
  </script>
1102
  <!-- /* --------------------------------- */
1103
  /* ------- END OF JAVASCRIPT ------- */
tools.json CHANGED
@@ -484,6 +484,7 @@
484
  "description": "איך ליצור סוכן מבוסס GPT בהתאמה אישית באמצעות OpenAI.",
485
  "category": "productivity",
486
  "url": "https://chatgpt.com/gpts",
 
487
  "icon": "fas fa-robot",
488
  "rating": 5,
489
  "isNew": false,
@@ -639,6 +640,17 @@
639
  "isNew": false,
640
  "isFeatured": false
641
  },
 
 
 
 
 
 
 
 
 
 
 
642
  {
643
  "name": "Jasper",
644
  "description": "מחולל תוכן אוטומטי שעוזר בכתיבת טקסטים שיווקיים ובלוגים.",
@@ -1175,6 +1187,7 @@
1175
  "description": "מזכירות AI לפגישות – כולל סיכומים אוטומטיים לזום, קישורים, מעקב משימות ושיתוף.",
1176
  "category": "productivity",
1177
  "url": "https://timeos.com/",
 
1178
  "icon": "fas fa-clock",
1179
  "rating": 4,
1180
  "isNew": false,
@@ -1261,16 +1274,6 @@
1261
  "isNew": false,
1262
  "isFeatured": false
1263
  },
1264
- {
1265
- "name": "Virit.ai",
1266
- "description": "מנוע דיבור בעברית – תומך בקול טבעי עד 30 שניות. מצוין לקריינות קלה.",
1267
- "category": "audio",
1268
- "url": "https://www.ivrit.ai/he/174-2/",
1269
- "icon": "fas fa-language",
1270
- "rating": 3,
1271
- "isNew": false,
1272
- "isFeatured": false
1273
- },
1274
  {
1275
  "name": "UChat",
1276
  "description": "פלטפורמת בניית צ’אטבוטים מתקדמת – כולל אוטומציות, ווב-הוקים, אינטגרציה לוואטסאפ ועוד.",
 
484
  "description": "איך ליצור סוכן מבוסס GPT בהתאמה אישית באמצעות OpenAI.",
485
  "category": "productivity",
486
  "url": "https://chatgpt.com/gpts",
487
+ "video": "https://www.youtube.com/embed/iSIWAGgUIcg",
488
  "icon": "fas fa-robot",
489
  "rating": 5,
490
  "isNew": false,
 
640
  "isNew": false,
641
  "isFeatured": false
642
  },
643
+ {
644
+ "name": "iVrit",
645
+ "description": "מנוע דיבור בעברית – תומך בקול טבעי עד 30 שניות. מצוין לקריינות קלה.",
646
+ "category": "audio",
647
+ "url": "https://www.ivrit.ai/he/174-2/",
648
+ "video": "https://www.youtube.com/embed/MQy9afP0VKw",
649
+ "icon": "fas fa-language",
650
+ "rating": 3,
651
+ "isNew": false,
652
+ "isFeatured": false
653
+ },
654
  {
655
  "name": "Jasper",
656
  "description": "מחולל תוכן אוטומטי שעוזר בכתיבת טקסטים שיווקיים ובלוגים.",
 
1187
  "description": "מזכירות AI לפגישות – כולל סיכומים אוטומטיים לזום, קישורים, מעקב משימות ושיתוף.",
1188
  "category": "productivity",
1189
  "url": "https://timeos.com/",
1190
+ "video": "https://www.youtube.com/embed/nkogPCmzyjY",
1191
  "icon": "fas fa-clock",
1192
  "rating": 4,
1193
  "isNew": false,
 
1274
  "isNew": false,
1275
  "isFeatured": false
1276
  },
 
 
 
 
 
 
 
 
 
 
1277
  {
1278
  "name": "UChat",
1279
  "description": "פלטפורמת בניית צ’אטבוטים מתקדמת – כולל אוטומציות, ווב-הוקים, אינטגרציה לוואטסאפ ועוד.",