askrobots / dbbasic-web-native
Public
100+ copy-paste UI components in plain HTML and CSS: no dependencies, no build step.
danq9
Add canonical.html v1.0 - The single source of truth for usability standards
fb6e650
1 year ago
History
demo-askrobots.html · 29.1 KB · 775 lines
| 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>AskRobots - Multi-AI Assistant Platform</title> |
| 7 | <script src="semantic-components.js"></script> |
| 8 | <style> |
| 9 | * { |
| 10 | margin: 0; |
| 11 | padding: 0; |
| 12 | box-sizing: border-box; |
| 13 | } |
| 14 | |
| 15 | :root { |
| 16 | --win98-gray: #c0c0c0; |
| 17 | --win98-navy: #000080; |
| 18 | --win98-light: #dfdfdf; |
| 19 | --win98-dark: #404040; |
| 20 | --win98-white: #ffffff; |
| 21 | } |
| 22 | |
| 23 | body { |
| 24 | font-family: 'Tahoma', 'MS Sans Serif', sans-serif; |
| 25 | background: var(--win98-gray); |
| 26 | color: #000; |
| 27 | line-height: 1.6; |
| 28 | } |
| 29 | |
| 30 | .win98-border { |
| 31 | border: 2px solid; |
| 32 | border-color: var(--win98-light) var(--win98-dark) var(--win98-dark) var(--win98-light); |
| 33 | background: var(--win98-gray); |
| 34 | } |
| 35 | |
| 36 | .win98-inset { |
| 37 | border: 2px solid; |
| 38 | border-color: var(--win98-dark) var(--win98-light) var(--win98-light) var(--win98-dark); |
| 39 | background: var(--win98-white); |
| 40 | } |
| 41 | |
| 42 | .win98-button { |
| 43 | padding: 8px 20px; |
| 44 | border: 2px solid; |
| 45 | border-color: var(--win98-light) var(--win98-dark) var(--win98-dark) var(--win98-light); |
| 46 | background: var(--win98-gray); |
| 47 | font-family: 'Tahoma', sans-serif; |
| 48 | font-size: 14px; |
| 49 | cursor: pointer; |
| 50 | min-height: 44px; |
| 51 | } |
| 52 | |
| 53 | .win98-button:active { |
| 54 | border-color: var(--win98-dark) var(--win98-light) var(--win98-light) var(--win98-dark); |
| 55 | padding: 9px 19px 7px 21px; |
| 56 | } |
| 57 | |
| 58 | .win98-button-primary { |
| 59 | background: var(--win98-navy); |
| 60 | color: white; |
| 61 | font-weight: bold; |
| 62 | } |
| 63 | |
| 64 | /* Header */ |
| 65 | .header { |
| 66 | background: var(--win98-navy); |
| 67 | color: white; |
| 68 | padding: 12px 20px; |
| 69 | display: flex; |
| 70 | justify-content: space-between; |
| 71 | align-items: center; |
| 72 | position: sticky; |
| 73 | top: 0; |
| 74 | z-index: 100; |
| 75 | } |
| 76 | |
| 77 | .logo { |
| 78 | font-size: 24px; |
| 79 | font-weight: bold; |
| 80 | } |
| 81 | |
| 82 | .logo-ask { |
| 83 | color: white; |
| 84 | } |
| 85 | |
| 86 | .logo-robots { |
| 87 | color: var(--win98-light); |
| 88 | } |
| 89 | |
| 90 | .header-actions { |
| 91 | display: flex; |
| 92 | gap: 12px; |
| 93 | } |
| 94 | |
| 95 | /* Layout */ |
| 96 | .container { |
| 97 | display: flex; |
| 98 | min-height: calc(100vh - 48px); |
| 99 | } |
| 100 | |
| 101 | /* Sidebar */ |
| 102 | .sidebar { |
| 103 | width: 240px; |
| 104 | background: var(--win98-gray); |
| 105 | border-right: 2px solid var(--win98-dark); |
| 106 | padding: 20px 0; |
| 107 | overflow-y: auto; |
| 108 | } |
| 109 | |
| 110 | .nav-section { |
| 111 | margin-bottom: 24px; |
| 112 | } |
| 113 | |
| 114 | .nav-title { |
| 115 | padding: 8px 20px; |
| 116 | font-weight: bold; |
| 117 | font-size: 12px; |
| 118 | text-transform: uppercase; |
| 119 | color: var(--win98-dark); |
| 120 | } |
| 121 | |
| 122 | .nav-link { |
| 123 | display: flex; |
| 124 | align-items: center; |
| 125 | padding: 10px 20px; |
| 126 | text-decoration: none; |
| 127 | color: #000; |
| 128 | transition: background 0.1s; |
| 129 | min-height: 44px; |
| 130 | } |
| 131 | |
| 132 | .nav-link:hover { |
| 133 | background: var(--win98-light); |
| 134 | } |
| 135 | |
| 136 | .nav-link.active { |
| 137 | background: var(--win98-navy); |
| 138 | color: white; |
| 139 | } |
| 140 | |
| 141 | /* Main Content */ |
| 142 | .main-content { |
| 143 | flex: 1; |
| 144 | padding: 40px; |
| 145 | overflow-y: auto; |
| 146 | } |
| 147 | |
| 148 | /* Hero Section */ |
| 149 | .hero { |
| 150 | text-align: center; |
| 151 | margin-bottom: 60px; |
| 152 | } |
| 153 | |
| 154 | .hero h1 { |
| 155 | font-size: 48px; |
| 156 | margin-bottom: 16px; |
| 157 | color: var(--win98-navy); |
| 158 | } |
| 159 | |
| 160 | .hero p { |
| 161 | font-size: 20px; |
| 162 | margin-bottom: 32px; |
| 163 | color: var(--win98-dark); |
| 164 | } |
| 165 | |
| 166 | .hero-actions { |
| 167 | display: flex; |
| 168 | gap: 16px; |
| 169 | justify-content: center; |
| 170 | flex-wrap: wrap; |
| 171 | } |
| 172 | |
| 173 | /* Terminal Section */ |
| 174 | .terminal-section { |
| 175 | margin-bottom: 60px; |
| 176 | } |
| 177 | |
| 178 | .terminal { |
| 179 | padding: 20px; |
| 180 | margin-bottom: 20px; |
| 181 | } |
| 182 | |
| 183 | .terminal-header { |
| 184 | background: var(--win98-navy); |
| 185 | color: white; |
| 186 | padding: 4px 8px; |
| 187 | margin: -20px -20px 16px -20px; |
| 188 | font-weight: bold; |
| 189 | display: flex; |
| 190 | align-items: center; |
| 191 | gap: 8px; |
| 192 | } |
| 193 | |
| 194 | .terminal-input { |
| 195 | display: flex; |
| 196 | gap: 12px; |
| 197 | margin-bottom: 20px; |
| 198 | } |
| 199 | |
| 200 | .terminal-input input { |
| 201 | flex: 1; |
| 202 | padding: 12px; |
| 203 | border: 2px solid; |
| 204 | border-color: var(--win98-dark) var(--win98-light) var(--win98-light) var(--win98-dark); |
| 205 | font-family: 'Courier New', monospace; |
| 206 | font-size: 14px; |
| 207 | min-height: 44px; |
| 208 | } |
| 209 | |
| 210 | .terminal-output { |
| 211 | padding: 16px; |
| 212 | font-family: 'Courier New', monospace; |
| 213 | font-size: 13px; |
| 214 | line-height: 1.8; |
| 215 | background: white; |
| 216 | } |
| 217 | |
| 218 | .terminal-output .prompt { |
| 219 | color: var(--win98-navy); |
| 220 | font-weight: bold; |
| 221 | } |
| 222 | |
| 223 | /* Features Grid */ |
| 224 | .features-grid { |
| 225 | display: grid; |
| 226 | grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| 227 | gap: 24px; |
| 228 | margin-bottom: 60px; |
| 229 | } |
| 230 | |
| 231 | .feature-card { |
| 232 | padding: 24px; |
| 233 | } |
| 234 | |
| 235 | .feature-icon { |
| 236 | font-size: 48px; |
| 237 | margin-bottom: 16px; |
| 238 | } |
| 239 | |
| 240 | .feature-card h3 { |
| 241 | font-size: 20px; |
| 242 | margin-bottom: 12px; |
| 243 | color: var(--win98-navy); |
| 244 | } |
| 245 | |
| 246 | .feature-card p { |
| 247 | color: var(--win98-dark); |
| 248 | line-height: 1.6; |
| 249 | } |
| 250 | |
| 251 | /* Robots Grid */ |
| 252 | .robots-section { |
| 253 | margin-bottom: 60px; |
| 254 | } |
| 255 | |
| 256 | .section-title { |
| 257 | font-size: 32px; |
| 258 | color: var(--win98-navy); |
| 259 | margin-bottom: 24px; |
| 260 | text-align: center; |
| 261 | } |
| 262 | |
| 263 | .robots-grid { |
| 264 | display: grid; |
| 265 | grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); |
| 266 | gap: 16px; |
| 267 | margin-bottom: 32px; |
| 268 | } |
| 269 | |
| 270 | .robot-card { |
| 271 | padding: 20px; |
| 272 | text-align: center; |
| 273 | cursor: pointer; |
| 274 | transition: background 0.2s; |
| 275 | } |
| 276 | |
| 277 | .robot-card:hover { |
| 278 | background: var(--win98-light); |
| 279 | } |
| 280 | |
| 281 | .robot-icon { |
| 282 | font-size: 40px; |
| 283 | margin-bottom: 12px; |
| 284 | } |
| 285 | |
| 286 | .robot-name { |
| 287 | font-weight: bold; |
| 288 | margin-bottom: 4px; |
| 289 | color: var(--win98-navy); |
| 290 | } |
| 291 | |
| 292 | .robot-status { |
| 293 | font-size: 12px; |
| 294 | color: var(--win98-dark); |
| 295 | } |
| 296 | |
| 297 | /* Footer */ |
| 298 | .footer { |
| 299 | background: var(--win98-gray); |
| 300 | border-top: 2px solid var(--win98-dark); |
| 301 | padding: 32px 40px; |
| 302 | margin-top: 60px; |
| 303 | } |
| 304 | |
| 305 | .footer-content { |
| 306 | display: grid; |
| 307 | grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); |
| 308 | gap: 32px; |
| 309 | margin-bottom: 24px; |
| 310 | } |
| 311 | |
| 312 | .footer-section h4 { |
| 313 | color: var(--win98-navy); |
| 314 | margin-bottom: 12px; |
| 315 | font-size: 14px; |
| 316 | text-transform: uppercase; |
| 317 | } |
| 318 | |
| 319 | .footer-section ul { |
| 320 | list-style: none; |
| 321 | } |
| 322 | |
| 323 | .footer-section a { |
| 324 | color: #000; |
| 325 | text-decoration: none; |
| 326 | display: block; |
| 327 | padding: 4px 0; |
| 328 | } |
| 329 | |
| 330 | .footer-section a:hover { |
| 331 | text-decoration: underline; |
| 332 | } |
| 333 | |
| 334 | .footer-bottom { |
| 335 | text-align: center; |
| 336 | padding-top: 20px; |
| 337 | border-top: 1px solid var(--win98-dark); |
| 338 | color: var(--win98-dark); |
| 339 | font-size: 13px; |
| 340 | } |
| 341 | |
| 342 | /* Mobile Responsive */ |
| 343 | @media (max-width: 768px) { |
| 344 | .container { |
| 345 | flex-direction: column; |
| 346 | } |
| 347 | |
| 348 | .sidebar { |
| 349 | width: 100%; |
| 350 | border-right: none; |
| 351 | border-bottom: 2px solid var(--win98-dark); |
| 352 | } |
| 353 | |
| 354 | .main-content { |
| 355 | padding: 20px; |
| 356 | } |
| 357 | |
| 358 | .hero h1 { |
| 359 | font-size: 32px; |
| 360 | } |
| 361 | |
| 362 | .hero p { |
| 363 | font-size: 16px; |
| 364 | } |
| 365 | |
| 366 | .hero-actions { |
| 367 | flex-direction: column; |
| 368 | } |
| 369 | } |
| 370 | </style> |
| 371 | </head> |
| 372 | <body> |
| 373 | <!-- Header --> |
| 374 | <div class="header"> |
| 375 | <div class="logo"> |
| 376 | <span class="logo-ask">Ask</span><span class="logo-robots">Robots</span> |
| 377 | </div> |
| 378 | <div class="header-actions"> |
| 379 | <button class="win98-button">Sign In</button> |
| 380 | <button class="win98-button win98-button-primary">Get Started</button> |
| 381 | </div> |
| 382 | </div> |
| 383 | |
| 384 | <!-- Main Container --> |
| 385 | <div class="container"> |
| 386 | <!-- Sidebar Navigation --> |
| 387 | <aside class="sidebar"> |
| 388 | <nav> |
| 389 | <div class="nav-section"> |
| 390 | <div class="nav-title">Main</div> |
| 391 | <a href="#" class="nav-link active">🏠 Dashboard</a> |
| 392 | <a href="#" class="nav-link">🔍 Ask Robots</a> |
| 393 | <a href="#" class="nav-link">⚡ Quick Actions</a> |
| 394 | </div> |
| 395 | |
| 396 | <div class="nav-section"> |
| 397 | <div class="nav-title">Work</div> |
| 398 | <a href="#" class="nav-link">📁 Projects</a> |
| 399 | <a href="#" class="nav-link">✓ Tasks</a> |
| 400 | <a href="#" class="nav-link">📝 Notes</a> |
| 401 | <a href="#" class="nav-link">📊 Analytics</a> |
| 402 | </div> |
| 403 | |
| 404 | <div class="nav-section"> |
| 405 | <div class="nav-title">AI Models</div> |
| 406 | <a href="#" class="nav-link">🤖 All Robots</a> |
| 407 | <a href="#" class="nav-link">⭐ Favorites</a> |
| 408 | <a href="#" class="nav-link">🔧 Custom Bots</a> |
| 409 | </div> |
| 410 | |
| 411 | <div class="nav-section"> |
| 412 | <div class="nav-title">Settings</div> |
| 413 | <a href="#" class="nav-link">⚙️ Preferences</a> |
| 414 | <a href="#" class="nav-link">🔑 API Keys</a> |
| 415 | <a href="#" class="nav-link">💳 Billing</a> |
| 416 | </div> |
| 417 | </nav> |
| 418 | </aside> |
| 419 | |
| 420 | <!-- Main Content --> |
| 421 | <main class="main-content"> |
| 422 | <!-- Hero Section --> |
| 423 | <section class="hero"> |
| 424 | <h1>Ask Multiple Robots.<br>Get Things Done.</h1> |
| 425 | <p>One interface to access GPT-4, Claude, Gemini, and more.<br>Compare answers. Save time. Build better.</p> |
| 426 | <div class="hero-actions"> |
| 427 | <button class="win98-button win98-button-primary">Start Free Trial</button> |
| 428 | <button class="win98-button">Watch Demo</button> |
| 429 | <button class="win98-button">View Pricing</button> |
| 430 | </div> |
| 431 | </section> |
| 432 | |
| 433 | <!-- Terminal Demo Section --> |
| 434 | <section class="terminal-section"> |
| 435 | <h2 class="section-title">Try It Now</h2> |
| 436 | |
| 437 | <div class="terminal win98-border"> |
| 438 | <div class="terminal-header">🔍 Ask Robots Terminal</div> |
| 439 | |
| 440 | <div class="terminal-input"> |
| 441 | <input type="text" placeholder="Ask me anything... (try: 'Explain quantum computing')" id="terminal-ask"> |
| 442 | <button class="win98-button win98-button-primary" onclick="simulateAsk()">Ask All Robots</button> |
| 443 | </div> |
| 444 | |
| 445 | <div class="terminal-output win98-inset" id="terminal-output"> |
| 446 | <div><span class="prompt">></span> Explain quantum computing in simple terms</div> |
| 447 | <div style="margin-top: 12px; padding-left: 16px;"> |
| 448 | <div style="margin-bottom: 12px;"> |
| 449 | <semantic-badge intent="primary" style="margin-right: 8px;">GPT-4</semantic-badge> |
| 450 | Quantum computing uses quantum bits (qubits) that can exist in multiple states simultaneously, enabling parallel processing of vast amounts of data... |
| 451 | </div> |
| 452 | <div style="margin-bottom: 12px;"> |
| 453 | <semantic-badge intent="success" style="margin-right: 8px;">Claude</semantic-badge> |
| 454 | Think of quantum computers as exploring many paths at once, while classical computers check one path at a time. This makes them exceptionally powerful... |
| 455 | </div> |
| 456 | <div style="margin-bottom: 12px;"> |
| 457 | <semantic-badge intent="warning" style="margin-right: 8px;">Gemini</semantic-badge> |
| 458 | Quantum computers leverage superposition and entanglement to solve complex problems that would take traditional computers millennia to process... |
| 459 | </div> |
| 460 | </div> |
| 461 | </div> |
| 462 | </div> |
| 463 | </section> |
| 464 | |
| 465 | <!-- Features Grid --> |
| 466 | <section> |
| 467 | <h2 class="section-title">Why AskRobots?</h2> |
| 468 | <div class="features-grid"> |
| 469 | <div class="feature-card win98-border"> |
| 470 | <div class="feature-icon">⚡</div> |
| 471 | <h3>Multi-Model Access</h3> |
| 472 | <p>Query multiple AI models simultaneously. Compare responses from GPT-4, Claude, Gemini, and more in one unified interface.</p> |
| 473 | </div> |
| 474 | |
| 475 | <div class="feature-card win98-border"> |
| 476 | <div class="feature-icon">💡</div> |
| 477 | <h3>Smart Routing</h3> |
| 478 | <p>Our AI analyzes your question and routes it to the best models for the task. Get optimal results every time.</p> |
| 479 | </div> |
| 480 | |
| 481 | <div class="feature-card win98-border"> |
| 482 | <div class="feature-icon">📊</div> |
| 483 | <h3>Compare Answers</h3> |
| 484 | <p>See how different models approach the same problem. Make informed decisions based on diverse perspectives.</p> |
| 485 | </div> |
| 486 | |
| 487 | <div class="feature-card win98-border"> |
| 488 | <div class="feature-icon">🔒</div> |
| 489 | <h3>Privacy First</h3> |
| 490 | <p>Your data stays yours. We don't train models on your queries. Enterprise-grade security built in.</p> |
| 491 | </div> |
| 492 | |
| 493 | <div class="feature-card win98-border"> |
| 494 | <div class="feature-icon">🚀</div> |
| 495 | <h3>Lightning Fast</h3> |
| 496 | <p>Optimized infrastructure delivers responses in seconds. No waiting around for answers.</p> |
| 497 | </div> |
| 498 | |
| 499 | <div class="feature-card win98-border"> |
| 500 | <div class="feature-icon">🔧</div> |
| 501 | <h3>Custom Workflows</h3> |
| 502 | <p>Build custom AI agents with specific prompts, models, and parameters. Automate repetitive tasks.</p> |
| 503 | </div> |
| 504 | </div> |
| 505 | </section> |
| 506 | |
| 507 | <!-- Available Robots --> |
| 508 | <section class="robots-section"> |
| 509 | <h2 class="section-title">Available AI Models</h2> |
| 510 | <div class="robots-grid"> |
| 511 | <div class="robot-card win98-border" onclick="showRobotModal('GPT-4')"> |
| 512 | <div class="robot-icon">🧠</div> |
| 513 | <div class="robot-name">GPT-4</div> |
| 514 | <div class="robot-status">✓ Online</div> |
| 515 | </div> |
| 516 | |
| 517 | <div class="robot-card win98-border" onclick="showRobotModal('Claude')"> |
| 518 | <div class="robot-icon">🎯</div> |
| 519 | <div class="robot-name">Claude 3.5</div> |
| 520 | <div class="robot-status">✓ Online</div> |
| 521 | </div> |
| 522 | |
| 523 | <div class="robot-card win98-border" onclick="showRobotModal('Gemini')"> |
| 524 | <div class="robot-icon">💎</div> |
| 525 | <div class="robot-name">Gemini Pro</div> |
| 526 | <div class="robot-status">✓ Online</div> |
| 527 | </div> |
| 528 | |
| 529 | <div class="robot-card win98-border" onclick="showRobotModal('Llama')"> |
| 530 | <div class="robot-icon">🦙</div> |
| 531 | <div class="robot-name">Llama 3</div> |
| 532 | <div class="robot-status">✓ Online</div> |
| 533 | </div> |
| 534 | |
| 535 | <div class="robot-card win98-border" onclick="showRobotModal('Mistral')"> |
| 536 | <div class="robot-icon">🌪️</div> |
| 537 | <div class="robot-name">Mistral</div> |
| 538 | <div class="robot-status">✓ Online</div> |
| 539 | </div> |
| 540 | |
| 541 | <div class="robot-card win98-border" onclick="showRobotModal('Perplexity')"> |
| 542 | <div class="robot-icon">🔍</div> |
| 543 | <div class="robot-name">Perplexity</div> |
| 544 | <div class="robot-status">✓ Online</div> |
| 545 | </div> |
| 546 | </div> |
| 547 | |
| 548 | <div style="text-align: center; margin-top: 24px;"> |
| 549 | <semantic-badge intent="neutral">12 Models Available</semantic-badge> |
| 550 | <semantic-badge intent="success" style="margin-left: 8px;">All Systems Operational</semantic-badge> |
| 551 | </div> |
| 552 | </section> |
| 553 | |
| 554 | <!-- Pricing Section --> |
| 555 | <section style="margin-bottom: 60px;"> |
| 556 | <h2 class="section-title">Simple Pricing</h2> |
| 557 | <div class="features-grid"> |
| 558 | <div class="feature-card win98-border" style="background: white;"> |
| 559 | <semantic-badge intent="neutral" style="margin-bottom: 16px;">Free</semantic-badge> |
| 560 | <h3 style="font-size: 32px; margin-bottom: 8px;">$0</h3> |
| 561 | <p style="margin-bottom: 24px;">per month</p> |
| 562 | <ul style="list-style: none; text-align: left; margin-bottom: 24px;"> |
| 563 | <li style="padding: 8px 0;">✓ 100 queries/month</li> |
| 564 | <li style="padding: 8px 0;">✓ 3 AI models</li> |
| 565 | <li style="padding: 8px 0;">✓ Basic support</li> |
| 566 | <li style="padding: 8px 0; color: #999;">✗ Custom agents</li> |
| 567 | </ul> |
| 568 | <button class="win98-button" style="width: 100%;">Start Free</button> |
| 569 | </div> |
| 570 | |
| 571 | <div class="feature-card win98-border" style="background: var(--win98-navy); color: white;"> |
| 572 | <semantic-badge intent="warning" style="margin-bottom: 16px;">Pro</semantic-badge> |
| 573 | <h3 style="font-size: 32px; margin-bottom: 8px; color: white;">$29</h3> |
| 574 | <p style="margin-bottom: 24px; color: #ddd;">per month</p> |
| 575 | <ul style="list-style: none; text-align: left; margin-bottom: 24px; color: white;"> |
| 576 | <li style="padding: 8px 0;">✓ Unlimited queries</li> |
| 577 | <li style="padding: 8px 0;">✓ All AI models</li> |
| 578 | <li style="padding: 8px 0;">✓ Priority support</li> |
| 579 | <li style="padding: 8px 0;">✓ Custom agents</li> |
| 580 | </ul> |
| 581 | <button class="win98-button win98-button-primary" style="width: 100%;">Start Pro Trial</button> |
| 582 | </div> |
| 583 | |
| 584 | <div class="feature-card win98-border" style="background: white;"> |
| 585 | <semantic-badge intent="primary" style="margin-bottom: 16px;">Enterprise</semantic-badge> |
| 586 | <h3 style="font-size: 32px; margin-bottom: 8px;">Custom</h3> |
| 587 | <p style="margin-bottom: 24px;">contact us</p> |
| 588 | <ul style="list-style: none; text-align: left; margin-bottom: 24px;"> |
| 589 | <li style="padding: 8px 0;">✓ Everything in Pro</li> |
| 590 | <li style="padding: 8px 0;">✓ SSO & SAML</li> |
| 591 | <li style="padding: 8px 0;">✓ Dedicated support</li> |
| 592 | <li style="padding: 8px 0;">✓ Custom models</li> |
| 593 | </ul> |
| 594 | <button class="win98-button" style="width: 100%;">Contact Sales</button> |
| 595 | </div> |
| 596 | </div> |
| 597 | </section> |
| 598 | </main> |
| 599 | </div> |
| 600 | |
| 601 | <!-- Footer --> |
| 602 | <footer class="footer"> |
| 603 | <div class="footer-content"> |
| 604 | <div class="footer-section"> |
| 605 | <h4>Product</h4> |
| 606 | <ul> |
| 607 | <li><a href="#">Features</a></li> |
| 608 | <li><a href="#">Pricing</a></li> |
| 609 | <li><a href="#">AI Models</a></li> |
| 610 | <li><a href="#">Use Cases</a></li> |
| 611 | <li><a href="#">API Docs</a></li> |
| 612 | </ul> |
| 613 | </div> |
| 614 | |
| 615 | <div class="footer-section"> |
| 616 | <h4>Company</h4> |
| 617 | <ul> |
| 618 | <li><a href="#">About</a></li> |
| 619 | <li><a href="#">Blog</a></li> |
| 620 | <li><a href="#">Careers</a></li> |
| 621 | <li><a href="#">Press</a></li> |
| 622 | <li><a href="#">Contact</a></li> |
| 623 | </ul> |
| 624 | </div> |
| 625 | |
| 626 | <div class="footer-section"> |
| 627 | <h4>Resources</h4> |
| 628 | <ul> |
| 629 | <li><a href="#">Documentation</a></li> |
| 630 | <li><a href="#">Tutorials</a></li> |
| 631 | <li><a href="#">Community</a></li> |
| 632 | <li><a href="#">Status</a></li> |
| 633 | <li><a href="#">Changelog</a></li> |
| 634 | </ul> |
| 635 | </div> |
| 636 | |
| 637 | <div class="footer-section"> |
| 638 | <h4>Legal</h4> |
| 639 | <ul> |
| 640 | <li><a href="#">Privacy Policy</a></li> |
| 641 | <li><a href="#">Terms of Service</a></li> |
| 642 | <li><a href="#">Security</a></li> |
| 643 | <li><a href="#">Compliance</a></li> |
| 644 | </ul> |
| 645 | </div> |
| 646 | </div> |
| 647 | |
| 648 | <div class="footer-bottom"> |
| 649 | <p>© 2025 AskRobots. All rights reserved. | Follow us: |
| 650 | <a href="#" style="color: var(--win98-navy);">Twitter</a> • |
| 651 | <a href="#" style="color: var(--win98-navy);">GitHub</a> • |
| 652 | <a href="#" style="color: var(--win98-navy);">LinkedIn</a> |
| 653 | </p> |
| 654 | </div> |
| 655 | </footer> |
| 656 | |
| 657 | <!-- Modal for Robot Details --> |
| 658 | <semantic-modal id="robot-modal" size="medium"> |
| 659 | <div slot="header"> |
| 660 | <h3 id="modal-robot-name">Robot Details</h3> |
| 661 | </div> |
| 662 | <div slot="content"> |
| 663 | <div style="text-align: center; margin-bottom: 24px;"> |
| 664 | <div id="modal-robot-icon" style="font-size: 80px; margin-bottom: 16px;">🤖</div> |
| 665 | <semantic-badge intent="success">Online</semantic-badge> |
| 666 | </div> |
| 667 | |
| 668 | <semantic-tabs> |
| 669 | <div slot="tab-1">Overview</div> |
| 670 | <div slot="tab-2">Capabilities</div> |
| 671 | <div slot="tab-3">Pricing</div> |
| 672 | |
| 673 | <div slot="panel-1"> |
| 674 | <p style="margin-bottom: 16px;" id="modal-robot-desc">This AI model is currently available and ready to answer your questions.</p> |
| 675 | <div class="win98-border" style="padding: 16px; margin-bottom: 16px;"> |
| 676 | <strong>Response Time:</strong> ~2-3 seconds<br> |
| 677 | <strong>Context Window:</strong> 128K tokens<br> |
| 678 | <strong>Best For:</strong> General purpose, coding, analysis |
| 679 | </div> |
| 680 | <semantic-progress value="95" max="100" intent="success"></semantic-progress> |
| 681 | <p style="text-align: center; margin-top: 8px; color: var(--win98-dark);">95% Uptime (30 days)</p> |
| 682 | </div> |
| 683 | |
| 684 | <div slot="panel-2"> |
| 685 | <ul style="list-style: none;"> |
| 686 | <li style="padding: 8px 0;">✓ Natural language understanding</li> |
| 687 | <li style="padding: 8px 0;">✓ Code generation & debugging</li> |
| 688 | <li style="padding: 8px 0;">✓ Data analysis</li> |
| 689 | <li style="padding: 8px 0;">✓ Creative writing</li> |
| 690 | <li style="padding: 8px 0;">✓ Multilingual support</li> |
| 691 | <li style="padding: 8px 0;">✓ Image understanding (Pro)</li> |
| 692 | </ul> |
| 693 | </div> |
| 694 | |
| 695 | <div slot="panel-3"> |
| 696 | <div class="win98-border" style="padding: 16px; margin-bottom: 12px; background: white;"> |
| 697 | <strong>Free Tier:</strong> $0.00/query<br> |
| 698 | <span style="color: var(--win98-dark);">100 queries/month included</span> |
| 699 | </div> |
| 700 | <div class="win98-border" style="padding: 16px; margin-bottom: 12px; background: white;"> |
| 701 | <strong>Pro Tier:</strong> $0.02/query<br> |
| 702 | <span style="color: var(--win98-dark);">Unlimited queries</span> |
| 703 | </div> |
| 704 | <div class="win98-border" style="padding: 16px; background: white;"> |
| 705 | <strong>Enterprise:</strong> Custom pricing<br> |
| 706 | <span style="color: var(--win98-dark);">Volume discounts available</span> |
| 707 | </div> |
| 708 | </div> |
| 709 | </semantic-tabs> |
| 710 | </div> |
| 711 | <div slot="actions"> |
| 712 | <button class="win98-button win98-button-primary" onclick="document.getElementById('robot-modal').close()">Try This Model</button> |
| 713 | <button class="win98-button" onclick="document.getElementById('robot-modal').close()">Close</button> |
| 714 | </div> |
| 715 | </semantic-modal> |
| 716 | |
| 717 | <script> |
| 718 | function simulateAsk() { |
| 719 | const input = document.getElementById('terminal-ask'); |
| 720 | const output = document.getElementById('terminal-output'); |
| 721 | |
| 722 | if (input.value.trim()) { |
| 723 | output.innerHTML = ` |
| 724 | <div><span class="prompt">></span> ${input.value}</div> |
| 725 | <div style="margin-top: 12px; padding-left: 16px;"> |
| 726 | <div style="margin-bottom: 12px;"> |
| 727 | <semantic-badge intent="primary" style="margin-right: 8px;">GPT-4</semantic-badge> |
| 728 | Processing your query... |
| 729 | </div> |
| 730 | <div style="margin-bottom: 12px;"> |
| 731 | <semantic-badge intent="success" style="margin-right: 8px;">Claude</semantic-badge> |
| 732 | Analyzing and generating response... |
| 733 | </div> |
| 734 | <div style="margin-bottom: 12px;"> |
| 735 | <semantic-badge intent="warning" style="margin-right: 8px;">Gemini</semantic-badge> |
| 736 | Computing answer... |
| 737 | </div> |
| 738 | </div> |
| 739 | `; |
| 740 | input.value = ''; |
| 741 | } |
| 742 | } |
| 743 | |
| 744 | function showRobotModal(robotName) { |
| 745 | const modal = document.getElementById('robot-modal'); |
| 746 | const nameEl = document.getElementById('modal-robot-name'); |
| 747 | const iconEl = document.getElementById('modal-robot-icon'); |
| 748 | const descEl = document.getElementById('modal-robot-desc'); |
| 749 | |
| 750 | const robotData = { |
| 751 | 'GPT-4': { icon: '🧠', desc: 'OpenAI\'s most capable model. Excellent at reasoning, coding, and creative tasks.' }, |
| 752 | 'Claude': { icon: '🎯', desc: 'Anthropic\'s advanced AI model. Known for nuanced understanding and helpful, harmless responses.' }, |
| 753 | 'Gemini': { icon: '💎', desc: 'Google\'s multimodal AI. Strong at research, analysis, and complex problem-solving.' }, |
| 754 | 'Llama': { icon: '🦙', desc: 'Meta\'s open-source model. Great for coding and general purpose tasks.' }, |
| 755 | 'Mistral': { icon: '🌪️', desc: 'European AI model with strong multilingual capabilities.' }, |
| 756 | 'Perplexity': { icon: '🔍', desc: 'Research-focused AI with real-time web search integration.' } |
| 757 | }; |
| 758 | |
| 759 | const robot = robotData[robotName] || robotData['GPT-4']; |
| 760 | nameEl.textContent = robotName; |
| 761 | iconEl.textContent = robot.icon; |
| 762 | descEl.textContent = robot.desc; |
| 763 | |
| 764 | modal.open(); |
| 765 | } |
| 766 | |
| 767 | // Allow Enter key in terminal |
| 768 | document.getElementById('terminal-ask').addEventListener('keypress', function(e) { |
| 769 | if (e.key === 'Enter') { |
| 770 | simulateAsk(); |
| 771 | } |
| 772 | }); |
| 773 | </script> |
| 774 | </body> |
| 775 | </html> |