whackthejacker commited on
Commit
89c0408
·
verified ·
1 Parent(s): 26e64bb

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +146 -47
index.html CHANGED
@@ -1,57 +1,156 @@
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>
 
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
+ <!-- Tailwind CSS CDN -->
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <!-- Optional: Tailwind config for extended colors (if needed) -->
10
+ <script>
11
+ tailwind.config = {
12
+ theme: {
13
+ extend: {
14
+ colors: {
15
+ primary: "#4A90E2",
16
+ secondary: "#50E3C2",
17
+ feature1: "#F5A623",
18
+ feature2: "#D0021B",
19
+ feature3: "#9013FE",
20
+ },
21
+ },
22
+ },
23
+ };
24
+ </script>
25
+ <!-- Font Awesome for icons -->
26
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js"></script>
27
  </head>
28
+ <body class="font-sans antialiased">
29
+ <!-- Navigation -->
30
+ <nav class="bg-primary text-white">
31
+ <div class="container mx-auto flex items-center justify-between py-4 px-6">
32
+ <a class="text-2xl font-bold" href="#">DataDash</a>
33
+ <button id="menu-btn" class="md:hidden focus:outline-none">
34
+ <i class="fas fa-bars"></i>
35
+ </button>
36
+ <ul id="menu" class="hidden md:flex space-x-8">
37
+ <li><a href="#" class="hover:text-gray-200">Home</a></li>
38
+ <li><a href="#" class="hover:text-gray-200">Features</a></li>
39
+ <li><a href="#" class="hover:text-gray-200">Pricing</a></li>
40
+ <li><a href="#" class="hover:text-gray-200">Contact</a></li>
41
+ </ul>
42
+ </div>
43
+ </nav>
44
+
45
+ <!-- Hero Section -->
46
+ <header class="bg-secondary text-white text-center py-20">
47
+ <div class="container mx-auto px-4">
48
+ <h1 class="text-4xl md:text-6xl font-extrabold mb-4">
49
+ AI-Powered Chat-Driven Data Dashboards
50
+ </h1>
51
+ <p class="text-xl md:text-2xl mb-8">
52
+ Transform your data into actionable insights with our intelligent dashboards.
53
+ </p>
54
+ <a
55
+ href="#features"
56
+ class="bg-white text-secondary font-semibold py-3 px-6 rounded-full shadow-lg hover:bg-gray-200 transition duration-300"
57
+ >Explore Features</a
58
+ >
59
+ </div>
60
+ </header>
61
 
62
+ <!-- Features Section -->
63
+ <section id="features" class="py-16">
64
+ <div class="container mx-auto px-4">
65
+ <h2 class="text-3xl font-bold text-center mb-12">Features</h2>
66
+ <div class="flex flex-wrap justify-center gap-8">
67
+ <div class="w-full md:w-1/3 p-4">
68
+ <div class="bg-feature1 p-8 rounded-xl text-center transform transition duration-300 hover:scale-105 shadow-lg">
69
+ <h3 class="text-xl font-bold mb-2">Real-Time Analytics</h3>
70
+ <p>Get instant insights and make data-driven decisions on the fly.</p>
71
+ </div>
72
+ </div>
73
+ <div class="w-full md:w-1/3 p-4">
74
+ <div class="bg-feature2 p-8 rounded-xl text-center transform transition duration-300 hover:scale-105 shadow-lg">
75
+ <h3 class="text-xl font-bold mb-2">Interactive Dashboards</h3>
76
+ <p>Engage with your data through customizable and interactive dashboards.</p>
77
+ </div>
78
+ </div>
79
+ <div class="w-full md:w-1/3 p-4">
80
+ <div class="bg-feature3 p-8 rounded-xl text-center transform transition duration-300 hover:scale-105 shadow-lg">
81
+ <h3 class="text-xl font-bold mb-2">AI Chat Integration</h3>
82
+ <p>Leverage AI chat to query your data and receive instant feedback.</p>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </section>
88
 
89
+ <!-- Contact Form -->
90
+ <section id="contact" class="py-16 bg-gray-100">
91
+ <div class="container mx-auto px-4">
92
+ <h2 class="text-3xl font-bold text-center mb-8">Get in Touch</h2>
93
+ <form id="contactForm" class="max-w-lg mx-auto bg-white p-8 rounded-lg shadow-md">
94
+ <div class="mb-4">
95
+ <label for="name" class="block text-gray-700 font-semibold mb-2">Name:</label>
96
+ <input
97
+ type="text"
98
+ id="name"
99
+ class="w-full border border-gray-300 p-3 rounded focus:outline-none focus:border-primary"
100
+ placeholder="Enter your name"
101
+ required
102
+ />
103
+ </div>
104
+ <div class="mb-4">
105
+ <label for="email" class="block text-gray-700 font-semibold mb-2">Email:</label>
106
+ <input
107
+ type="email"
108
+ id="email"
109
+ class="w-full border border-gray-300 p-3 rounded focus:outline-none focus:border-primary"
110
+ placeholder="Enter your email"
111
+ required
112
+ />
113
+ </div>
114
+ <div class="mb-4">
115
+ <label for="message" class="block text-gray-700 font-semibold mb-2">Message:</label>
116
+ <textarea
117
+ id="message"
118
+ class="w-full border border-gray-300 p-3 rounded focus:outline-none focus:border-primary"
119
+ placeholder="Your message"
120
+ required
121
+ ></textarea>
122
  </div>
123
+ <button
124
+ type="submit"
125
+ class="w-full bg-primary text-white py-3 rounded hover:bg-blue-700 transition duration-300"
126
+ >
127
+ Send Message
128
+ </button>
129
+ </form>
130
+ </div>
131
+ </section>
132
+
133
+ <!-- Footer -->
134
+ <footer class="bg-primary text-white py-4">
135
+ <div class="container mx-auto text-center">
136
+ <p>&copy; 2023 DataDash. All rights reserved.</p>
137
+ </div>
138
+ </footer>
139
 
140
+ <!-- jQuery (Optional: if you prefer to use it for simple interactions) -->
141
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
142
+ <script>
143
+ $(document).ready(function () {
144
+ $("#contactForm").submit(function (e) {
145
+ e.preventDefault();
146
+ alert("Thank you for your message! We will get back to you shortly.");
147
+ $(this).trigger("reset"); // Reset the form after submission
148
+ });
149
+ // Toggle mobile menu
150
+ $("#menu-btn").click(function () {
151
+ $("#menu").toggleClass("hidden");
152
+ });
153
+ });
154
+ </script>
155
  </body>
156
  </html>