Pp commited on
Commit
6593978
·
verified ·
1 Parent(s): 8554b18

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -534,7 +534,7 @@
534
  shareTwitterButton.addEventListener('click', () => {
535
  const text = encodeURIComponent("Look! I made it rain 🌧️ exploring the water cycle with this cool simulation! #WaterCycle #ScienceForKids #EdTech");
536
  // Get current URL - replace with actual deployed URL if needed
537
- const url = encodeURIComponent(window.location.href || "https://your-deployed-space-url.com"); // Replace placeholder
538
  window.open(`https://twitter.com/intent/tweet?text=${text}&url=${url}`, '_blank');
539
  });
540
 
 
534
  shareTwitterButton.addEventListener('click', () => {
535
  const text = encodeURIComponent("Look! I made it rain 🌧️ exploring the water cycle with this cool simulation! #WaterCycle #ScienceForKids #EdTech");
536
  // Get current URL - replace with actual deployed URL if needed
537
+ const url = encodeURIComponent(window.location.href || "https://huggingface.co/spaces/pp/WaterCycle"); // Replace placeholder
538
  window.open(`https://twitter.com/intent/tweet?text=${text}&url=${url}`, '_blank');
539
  });
540