eaglelandsonce commited on
Commit
d0bf3bd
·
verified ·
1 Parent(s): 2536564

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -4
index.html CHANGED
@@ -107,9 +107,12 @@
107
  websiteLayer.style.display = 'none';
108
  websiteFrame.src = '';
109
  } else {
110
- const websiteURL = "https://chatgpt.com/g/g-mYPbdl190-finstart-devops";
111
- websiteFrame.src = websiteURL;
112
- websiteLayer.style.display = 'block';
 
 
 
113
  }
114
  websiteVisible = !websiteVisible;
115
  }
@@ -159,4 +162,3 @@
159
  </script>
160
  </body>
161
  </html>
162
-
 
107
  websiteLayer.style.display = 'none';
108
  websiteFrame.src = '';
109
  } else {
110
+ const websiteURL = slides[currentIndex]?.website || '';
111
+ if (websiteURL) {
112
+ window.open(websiteURL, '_blank');
113
+ } else {
114
+ console.warn('No website URL defined for this slide.');
115
+ }
116
  }
117
  websiteVisible = !websiteVisible;
118
  }
 
162
  </script>
163
  </body>
164
  </html>