Update index.html
Browse files- index.html +23 -0
index.html
CHANGED
|
@@ -35,8 +35,15 @@
|
|
| 35 |
<p>Already have an account? <span id="show-login" style="cursor:pointer;color:blue;">Login</span></p>
|
| 36 |
</div>
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
<!-- Chat Section -->
|
| 39 |
<div id="chat-section" style="display:none;">
|
|
|
|
| 40 |
<div id="chat-container"></div>
|
| 41 |
<div id="typing" style="display:none;">🤖 AI is typing...</div>
|
| 42 |
<footer>
|
|
@@ -58,6 +65,22 @@
|
|
| 58 |
</div>
|
| 59 |
</div>
|
| 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
<script src="script.js"></script>
|
| 62 |
</body>
|
| 63 |
</html>
|
|
|
|
| 35 |
<p>Already have an account? <span id="show-login" style="cursor:pointer;color:blue;">Login</span></p>
|
| 36 |
</div>
|
| 37 |
|
| 38 |
+
<!-- AI Apps / Bots Section -->
|
| 39 |
+
<div id="ai-apps-section" style="display:none;">
|
| 40 |
+
<h2>🌐 AI Apps / Bots</h2>
|
| 41 |
+
<div id="ai-apps-container"></div>
|
| 42 |
+
</div>
|
| 43 |
+
|
| 44 |
<!-- Chat Section -->
|
| 45 |
<div id="chat-section" style="display:none;">
|
| 46 |
+
<h2>💬 Chat with AI</h2>
|
| 47 |
<div id="chat-container"></div>
|
| 48 |
<div id="typing" style="display:none;">🤖 AI is typing...</div>
|
| 49 |
<footer>
|
|
|
|
| 65 |
</div>
|
| 66 |
</div>
|
| 67 |
|
| 68 |
+
<script>
|
| 69 |
+
// Toggle Login / Signup forms
|
| 70 |
+
document.addEventListener("DOMContentLoaded", () => {
|
| 71 |
+
const loginForm = document.getElementById("login-form");
|
| 72 |
+
const signupForm = document.getElementById("signup-form");
|
| 73 |
+
document.getElementById("show-signup").onclick = () => {
|
| 74 |
+
loginForm.style.display = "none";
|
| 75 |
+
signupForm.style.display = "block";
|
| 76 |
+
};
|
| 77 |
+
document.getElementById("show-login").onclick = () => {
|
| 78 |
+
signupForm.style.display = "none";
|
| 79 |
+
loginForm.style.display = "block";
|
| 80 |
+
};
|
| 81 |
+
});
|
| 82 |
+
</script>
|
| 83 |
+
|
| 84 |
<script src="script.js"></script>
|
| 85 |
</body>
|
| 86 |
</html>
|