-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
469 lines (444 loc) · 24.8 KB
/
index.html
File metadata and controls
469 lines (444 loc) · 24.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MetaIntent - AI That Understands You</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="style.css?v=4">
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
</head>
<body>
<!-- Animated Background -->
<div class="bg-container">
<div class="grid-pattern"></div>
<div class="gradient-orb orb-1"></div>
<div class="gradient-orb orb-2"></div>
<div class="gradient-orb orb-3"></div>
</div>
<!-- Navigation -->
<nav class="navbar">
<div class="nav-content">
<div class="logo">
<div class="logo-icon">
<img src="metaintent_logo.png" alt="MetaIntent Logo"
style="width: 48px; height: 48px; border-radius: 10px;">
</div>
<span class="logo-text">MetaIntent</span>
</div>
<div class="nav-links">
<a href="#home" class="nav-link active">Home</a>
<a href="#features" class="nav-link">Features</a>
<a href="#how-it-works" class="nav-link">How It Works</a>
</div>
<div class="powered-badge">
<div class="status-indicator"></div>
<span>Powered by AWS Bedrock</span>
</div>
</div>
</nav>
<!-- Side Navigation -->
<div class="side-nav">
<a href="#home" class="side-nav-item active" data-section="home">
<span class="side-nav-number">01</span>
<div class="side-nav-indicator"></div>
</a>
<a href="#features" class="side-nav-item" data-section="features">
<span class="side-nav-number">02</span>
<div class="side-nav-indicator"></div>
</a>
<a href="#how-it-works" class="side-nav-item" data-section="how-it-works">
<span class="side-nav-number">03</span>
<div class="side-nav-indicator"></div>
</a>
</div>
<!-- Social Links -->
<div class="social-links">
<a href="https://www.linkedin.com/in/md-hammaduddin" target="_blank" class="social-link"
title="Md Hammaduddin | LinkedIn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" />
</svg>
</a>
<a href="https://github.com/Hammaduddin561" target="_blank" class="social-link"
title="Hammaduddin561 (Md Hammaduddin)">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
</svg>
</a>
</div>
<!-- Circular Text -->
<div class="circular-text">
<svg viewBox="0 0 200 200" width="140" height="140">
<defs>
<path id="circlePath" d="M 100, 100 m -75, 0 a 75,75 0 1,1 150,0 a 75,75 0 1,1 -150,0" />
</defs>
<text fill="rgba(255,255,255,0.5)" font-size="11" font-family="Space Grotesk, sans-serif"
letter-spacing="2">
<textPath href="#circlePath">
TRY NOW • METAINTENT • TRY NOW • METAINTENT • TRY NOW • METAINTENT
</textPath>
</text>
</svg>
</div>
<!-- Hero Section -->
<section class="hero" id="heroSection">
<div class="hero-content">
<h1 class="hero-title">
AI THAT<br>
UNDERSTANDS<br>
<span class="gradient-text">YOUR INTENT</span>
</h1>
<p class="hero-subtitle">
Turn vague ideas into clear actions. MetaIntent clarifies ambiguity,<br>
generates custom agents, and helps you achieve your goals.
</p>
<div class="hero-actions">
<button class="btn-gradient" onclick="startDemo()">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M22 2L11 13M22 2L15 22L11 13M22 2L2 8L11 13" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" />
</svg>
<span>Start Chatting</span>
</button>
<button class="btn-outlined"
onclick="document.getElementById('how-it-works').scrollIntoView({behavior: 'smooth'})">
<span>How It Works</span>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M5 12h14M12 5l7 7-7 7" />
</svg>
</button>
</div>
<div class="audio-visualizer">
<div class="bar" style="height: 20%"></div>
<div class="bar" style="height: 40%"></div>
<div class="bar" style="height: 60%"></div>
<div class="bar" style="height: 30%"></div>
<div class="bar" style="height: 70%"></div>
<div class="bar" style="height: 50%"></div>
<div class="bar" style="height: 80%"></div>
<div class="bar" style="height: 35%"></div>
<div class="bar" style="height: 65%"></div>
<div class="bar" style="height: 45%"></div>
<div class="bar" style="height: 85%"></div>
<div class="bar" style="height: 40%"></div>
<div class="bar" style="height: 60%"></div>
<div class="bar" style="height: 30%"></div>
<div class="bar" style="height: 75%"></div>
</div>
</div>
<div class="hero-visual">
<div class="robot-container">
<img src="metaintent_logo.png" alt="AI Robot" class="robot-img">
<div class="glow-effect"></div>
<div class="floating-element element-1"></div>
<div class="floating-element element-2"></div>
</div>
<div class="decorative-arrow">
<svg width="100" height="60" viewBox="0 0 100 60" fill="none">
<path d="M10 30 Q30 10, 50 30 T90 30" stroke="rgba(255,255,255,0.3)" stroke-width="2" fill="none" />
<circle cx="90" cy="30" r="3" fill="rgba(255,255,255,0.5)" />
</svg>
</div>
</div>
</section>
<!-- Features Section -->
<section class="features-section" id="features">
<div class="section-container">
<div class="section-header">
<h2 class="section-title">POWERFUL <span class="gradient-text">FEATURES</span></h2>
<p class="section-subtitle">MetaIntent combines advanced AI with intuitive design to transform ambiguous
ideas into clear, actionable plans.</p>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path
d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
stroke-width="2" />
<polyline points="3.27 6.96 12 12.01 20.73 6.96" stroke-width="2" />
<line x1="12" y1="22.08" x2="12" y2="12" stroke-width="2" />
</svg>
</div>
<h3 class="feature-title">Ambiguity Detection</h3>
<p class="feature-description">Automatically identifies unclear or vague inputs and asks intelligent
clarifying questions.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M12 2L2 7L12 12L22 7L12 2Z" stroke-width="2" />
<path d="M2 17L12 22L22 17" stroke-width="2" />
<path d="M2 12L12 17L22 12" stroke-width="2" />
</svg>
</div>
<h3 class="feature-title">Multi-Agent System</h3>
<p class="feature-description">Orchestrates multiple specialized AI agents to handle complex,
multi-faceted tasks.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<circle cx="12" cy="12" r="3" stroke-width="2" />
<path d="M12 1v6m0 6v6M1 12h6m6 0h6" stroke-width="2" />
<circle cx="12" cy="12" r="10" stroke-width="2" />
</svg>
</div>
<h3 class="feature-title">Intent Clarification</h3>
<p class="feature-description">Iteratively refines understanding through intelligent conversation
until goals are crystal clear.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" stroke-width="2" />
<polyline points="14 2 14 8 20 8" stroke-width="2" />
<line x1="12" y1="18" x2="12" y2="12" stroke-width="2" />
<line x1="9" y1="15" x2="15" y2="15" stroke-width="2" />
</svg>
</div>
<h3 class="feature-title">Agent Generation</h3>
<p class="feature-description">Automatically creates custom AI agents tailored to your specific
goals and requirements.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z" stroke-width="2" />
</svg>
</div>
<h3 class="feature-title">Real-Time Processing</h3>
<p class="feature-description">Powered by AWS Bedrock and Claude AI for lightning-fast, intelligent
responses.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" stroke-width="2" />
<circle cx="12" cy="7" r="4" stroke-width="2" />
</svg>
</div>
<h3 class="feature-title">Session Management</h3>
<p class="feature-description">Maintains context across conversations with persistent session
tracking.</p>
</div>
</div>
</div>
</section>
<!-- How It Works Section -->
<section class="how-it-works-section" id="how-it-works">
<div class="section-container">
<div class="section-header">
<h2 class="section-title">HOW IT <span class="gradient-text">WORKS</span></h2>
<p class="section-subtitle">MetaIntent uses a sophisticated multi-stage process to understand and act on
your intentions.</p>
</div>
<div class="timeline">
<div class="timeline-item">
<div class="timeline-marker">1</div>
<div class="timeline-content">
<h3 class="timeline-title">Initial Input</h3>
<p class="timeline-description">Share your goal or idea in natural language - no matter how
vague or incomplete. Our system accepts text, voice, or document inputs.</p>
</div>
</div>
<div class="timeline-item">
<div class="timeline-marker">2</div>
<div class="timeline-content">
<h3 class="timeline-title">Ambiguity Detection</h3>
<p class="timeline-description">AI analyzes your input using advanced NLP and identifies areas
that need clarification. The system calculates an ambiguity score to determine clarity
level.</p>
</div>
</div>
<div class="timeline-item">
<div class="timeline-marker">3</div>
<div class="timeline-content">
<h3 class="timeline-title">Intelligent Questioning</h3>
<p class="timeline-description">MetaIntent asks targeted, context-aware questions to fill
knowledge gaps. Each question is designed to maximize information gain while minimizing
cognitive load.</p>
</div>
</div>
<div class="timeline-item">
<div class="timeline-marker">4</div>
<div class="timeline-content">
<h3 class="timeline-title">Intent Synthesis</h3>
<p class="timeline-description">All gathered information is combined into a clear, structured
representation of your goals. The system validates completeness and consistency.</p>
</div>
</div>
<div class="timeline-item">
<div class="timeline-marker">5</div>
<div class="timeline-content">
<h3 class="timeline-title">Agent Generation</h3>
<p class="timeline-description">A custom AI agent is created with specific capabilities, success
criteria, and constraints matched precisely to your requirements.</p>
</div>
</div>
<div class="timeline-item">
<div class="timeline-marker">6</div>
<div class="timeline-content">
<h3 class="timeline-title">Continuous Refinement</h3>
<p class="timeline-description">The agent can be iteratively improved based on feedback.
MetaIntent learns from each interaction to provide better results over time.</p>
</div>
</div>
</div>
<div class="cta-section">
<h3 class="cta-title">Ready to Experience MetaIntent?</h3>
<p class="cta-description">Start a conversation and see how we transform vague ideas into actionable
solutions.</p>
<a href="https://github.com/Hammaduddin561/MetaIntent" target="_blank" class="btn-gradient">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z" />
</svg>
<span>GitHub Repo</span>
</a>
</div>
</div>
</section>
<!-- Chat Interface (Hidden Initially) -->
<section class="chat-section hidden" id="chatSection">
<div class="chat-container">
<div class="chat-header">
<div class="chat-status">
<div class="status-dot"></div>
<span>AI Active</span>
</div>
<button class="btn-close" onclick="closeChat()">×</button>
</div>
<div class="chat-messages" id="chatMessages">
<div class="message ai">
<div class="message-avatar">
<img src="metaintent_logo.png" alt="AI">
</div>
<div class="message-content">
<div class="message-text">
Hey! 👋 I'm MetaIntent. Tell me what's on your mind - even if it's vague or unclear. I'll
help you figure it out.
</div>
</div>
</div>
</div>
<div class="chat-input-area">
<div class="input-actions">
<button class="btn-action" id="voiceBtn" onclick="toggleVoiceInput()" title="Voice Input">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z" stroke-width="2"/>
<path d="M19 10v2a7 7 0 0 1-14 0v-2M12 19v4M8 23h8" stroke-width="2" stroke-linecap="round"/>
</svg>
</button>
<button class="btn-action" id="fileBtn" onclick="document.getElementById('fileInput').click()" title="Upload Document">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<input type="file" id="fileInput" accept=".txt,.pdf,.doc,.docx,image/*" style="display: none;" onchange="handleFileUpload(event)">
</div>
<textarea id="chatInput" placeholder="Type your thoughts here..." rows="1"></textarea>
<button class="btn-send" id="sendBtn" onclick="sendMessage()">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none">
<path d="M22 2L11 13M22 2L15 22L11 13M22 2L2 8L11 13" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
</div>
<!-- Voice Recording Indicator -->
<div class="voice-recording hidden" id="voiceRecording">
<div class="recording-indicator">
<div class="pulse"></div>
<span>Recording...</span>
</div>
<button class="btn-stop-recording" onclick="stopVoiceInput()">Stop</button>
</div>
<!-- File Upload Preview -->
<div class="file-preview hidden" id="filePreview">
<div class="file-info">
<span id="fileName"></span>
<button class="btn-remove-file" onclick="removeFile()">×</button>
</div>
</div>
<div class="chat-stats">
<div class="stat-item">
<div class="stat-value" id="clarityValue">0%</div>
<div class="stat-label">Clarity</div>
</div>
<div class="stat-item">
<div class="stat-value" id="agentsValue">0</div>
<div class="stat-label">Agents</div>
</div>
<div class="stat-item">
<div class="stat-value" id="iterationValue">0</div>
<div class="stat-label">Iterations</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="footer-content">
<p>© 2025 MetaIntent. All rights reserved.</p>
<p class="footer-credit">Developed by <a href="https://www.linkedin.com/in/md-hammaduddin"
target="_blank">Md Hammaduddin</a></p>
</div>
</footer>
<script src="script.js"></script>
<script>
// Fade out social icons and circular text on scroll (but keep side nav visible)
window.addEventListener('scroll', () => {
const scrollPosition = window.scrollY;
const socialLinks = document.querySelector('.social-links');
const circularText = document.querySelector('.circular-text');
// Fade out after scrolling 100px
if (scrollPosition > 100) {
const opacity = Math.max(0, 1 - (scrollPosition - 100) / 200);
if (socialLinks) socialLinks.style.opacity = opacity;
if (circularText) circularText.style.opacity = opacity;
} else {
if (socialLinks) socialLinks.style.opacity = 1;
if (circularText) circularText.style.opacity = 1;
}
});
// Side navigation scroll tracking
window.addEventListener('scroll', () => {
const sections = ['home', 'features', 'how-it-works'];
const scrollPosition = window.scrollY + 200;
sections.forEach((sectionId, index) => {
const section = document.getElementById(sectionId === 'home' ? 'heroSection' : sectionId);
if (section) {
const sectionTop = section.offsetTop;
const sectionHeight = section.offsetHeight;
if (scrollPosition >= sectionTop && scrollPosition < sectionTop + sectionHeight) {
document.querySelectorAll('.side-nav-item').forEach(item => item.classList.remove('active'));
const navItem = document.querySelector(`.side-nav-item[data-section="${sectionId}"]`);
if (navItem) navItem.classList.add('active');
// Update top navigation
document.querySelectorAll('.nav-link').forEach(link => link.classList.remove('active'));
const topNavLink = document.querySelector(`.nav-link[href="#${sectionId === 'home' ? 'home' : sectionId}"]`);
if (topNavLink) topNavLink.classList.add('active');
}
}
});
});
// Smooth scroll for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
const href = this.getAttribute('href');
if (href !== '#' && !this.hasAttribute('onclick')) {
e.preventDefault();
const target = document.querySelector(href === '#home' ? '#heroSection' : href);
if (target) {
target.scrollIntoView({ behavior: 'smooth' });
}
}
});
});
</script>
</body>
</html>