Spaces:
Running
Running
Update index.html
Browse files- index.html +49 -21
index.html
CHANGED
|
@@ -1,29 +1,57 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
-
|
| 4 |
<head>
|
| 5 |
-
<meta charset="UTF-8"
|
| 6 |
-
<
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
<
|
|
|
|
| 10 |
</head>
|
| 11 |
-
|
| 12 |
<body>
|
| 13 |
-
|
| 14 |
-
<
|
| 15 |
-
<
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
|
|
|
| 3 |
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>AI-Powered Chat-Driven Data Dashboards</title>
|
| 7 |
+
<!-- Bootstrap CSS -->
|
| 8 |
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
| 9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
| 10 |
</head>
|
|
|
|
| 11 |
<body>
|
| 12 |
+
<!-- Navigation -->
|
| 13 |
+
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
| 14 |
+
<a class="navbar-brand" href="#">DataDash</a>
|
| 15 |
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
| 16 |
+
<span class="navbar-toggler-icon"></span>
|
| 17 |
+
</button>
|
| 18 |
+
<div class="collapse navbar-collapse" id="navbarNav">
|
| 19 |
+
<ul class="navbar-nav ml-auto">
|
| 20 |
+
<li class="nav-item active">
|
| 21 |
+
<a class="nav-link" href="#">Home</a>
|
| 22 |
+
</li>
|
| 23 |
+
<li class="nav-item">
|
| 24 |
+
<a class="nav-link" href="#">Features</a>
|
| 25 |
+
</li>
|
| 26 |
+
<li class="nav-item">
|
| 27 |
+
<a class="nav-link" href="#">Contact</a>
|
| 28 |
+
</li>
|
| 29 |
+
</ul>
|
| 30 |
+
</div>
|
| 31 |
+
</nav>
|
| 32 |
|
| 33 |
+
<!-- Hero Section -->
|
| 34 |
+
<header class="hero bg-primary text-white text-center py-5">
|
| 35 |
+
<h1>AI-Powered Chat-Driven Data Dashboards</h1>
|
| 36 |
+
<p>Turn charts into conversations!</p>
|
| 37 |
+
</header>
|
| 38 |
+
|
| 39 |
+
<!-- Chat Section -->
|
| 40 |
+
<section id="chat" class="py-5">
|
| 41 |
+
<div class="container">
|
| 42 |
+
<h2 class="text-center">Chat with our AI</h2>
|
| 43 |
+
<div class="chat-box border rounded p-3">
|
| 44 |
+
<div id="messages" class="mb-3" style="height: 300px; overflow-y: auto;"></div>
|
| 45 |
+
<input type="text" id="userInput" class="form-control" placeholder="Ask me anything about data...">
|
| 46 |
+
<button id="sendBtn" class="btn btn-success mt-2">Send</button>
|
| 47 |
+
</div>
|
| 48 |
+
<canvas id="chart" class="mt-5" style="display:none;"></canvas>
|
| 49 |
+
</div>
|
| 50 |
+
</section>
|
| 51 |
|
| 52 |
+
<!-- Bootstrap & jQuery JS -->
|
| 53 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
| 54 |
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
| 55 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 56 |
+
</body>
|
| 57 |
</html>
|