Testing347 commited on
Commit
e0881d6
·
verified ·
1 Parent(s): 39edf13

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +8 -9
index.html CHANGED
@@ -182,10 +182,10 @@
182
 
183
  <!-- Navigation links (hidden on small screens, show on md and up) -->
184
  <div class="hidden md:flex space-x-8">
185
- <a href="#capabilities" class="hover:text-indigo-400 transition">Capabilities</a>
186
- <a href="#consciousness" class="hover:text-indigo-400 transition">Consciousness</a>
187
- <a href="#chat" class="hover:text-indigo-400 transition">Chat</a>
188
- <a href="#about" class="hover:text-indigo-400 transition">About</a>
189
  </div>
190
 
191
  <!-- “Access” button -->
@@ -1262,7 +1262,7 @@
1262
  typingIndicator.classList.remove('hidden');
1263
  try {
1264
  // NOTE: Replace the placeholder key with your actual OpenAI API key
1265
- const apiKey = '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';
1266
  const endpoint = 'https://api.openai.com/v1/chat/completions';
1267
  const response = await fetch(endpoint, {
1268
  method: 'POST',
@@ -1307,8 +1307,7 @@
1307
  const chatBtn = document.getElementById('chat-btn');
1308
  if (chatBtn) {
1309
  chatBtn.addEventListener('click', () => {
1310
- document.getElementById('chat').scrollIntoView({ behavior: 'smooth' });
1311
- chatInput.focus();
1312
  });
1313
  }
1314
 
@@ -1316,7 +1315,7 @@
1316
  const learnMoreBtn = document.getElementById('learn-more-btn');
1317
  if (learnMoreBtn) {
1318
  learnMoreBtn.addEventListener('click', () => {
1319
- document.getElementById('about').scrollIntoView({ behavior: 'smooth' });
1320
  });
1321
  }
1322
 
@@ -1469,4 +1468,4 @@
1469
  requestAnimationFrame(drawNeuralActivity);
1470
  </script>
1471
  </body>
1472
- </html>
 
182
 
183
  <!-- Navigation links (hidden on small screens, show on md and up) -->
184
  <div class="hidden md:flex space-x-8">
185
+ <a href="capabilities.html" class="hover:text-indigo-400 transition">Capabilities</a>
186
+ <a href="consciousness.html" class="hover:text-indigo-400 transition">Consciousness</a>
187
+ <a href="chat.html" class="hover:text-indigo-400 transition">Chat</a>
188
+ <a href="about.html" class="hover:text-indigo-400 transition">About</a>
189
  </div>
190
 
191
  <!-- “Access” button -->
 
1262
  typingIndicator.classList.remove('hidden');
1263
  try {
1264
  // NOTE: Replace the placeholder key with your actual OpenAI API key
1265
+ const apiKey = 'YOUR_OPENAI_API_KEY';
1266
  const endpoint = 'https://api.openai.com/v1/chat/completions';
1267
  const response = await fetch(endpoint, {
1268
  method: 'POST',
 
1307
  const chatBtn = document.getElementById('chat-btn');
1308
  if (chatBtn) {
1309
  chatBtn.addEventListener('click', () => {
1310
+ window.location.href = 'chat.html';
 
1311
  });
1312
  }
1313
 
 
1315
  const learnMoreBtn = document.getElementById('learn-more-btn');
1316
  if (learnMoreBtn) {
1317
  learnMoreBtn.addEventListener('click', () => {
1318
+ window.location.href = 'about.html';
1319
  });
1320
  }
1321
 
 
1468
  requestAnimationFrame(drawNeuralActivity);
1469
  </script>
1470
  </body>
1471
+ </html>