Spaces:
Running
Running
Download index.html from Akorbit/AKORBIT-AI-Workspace: direct link, hf CLI and curl.
- Browser
- Download file 46 kB
-
https://huggingface.co/spaces/Akorbit/AKORBIT-AI-Workspace/resolve/main/index.html
- Command line
-
hf download hf://spaces/Akorbit/AKORBIT-AI-Workspace/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Akorbit/AKORBIT-AI-Workspace/resolve/main/index.html
46 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>AKORBIT — The Enterprise AI Workspace</title> | |
| <meta name="description" content="AKORBIT is a sovereign Enterprise AI Workspace: private AI assistant, enterprise RAG search, autonomous agents and workflow automation — deployed on-premise or fully air-gapped." /> | |
| <meta name="theme-color" content="#ffffff" /> | |
| <meta property="og:title" content="AKORBIT — The Enterprise AI Workspace" /> | |
| <meta property="og:description" content="Private AI assistant, enterprise RAG, AI agents and workflow automation. Deployed on your terms — on-premise or air-gapped." /> | |
| <meta property="og:type" content="website" /> | |
| <meta property="og:url" content="https://www.akorbit.com" /> | |
| <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='.9em' font-size='90'%3E%F0%9F%AA%90%3C/text%3E%3C/svg%3E" /> | |
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet" /> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.19.0/dist/tabler-icons.min.css" /> | |
| <style> | |
| /* ===================================================== | |
| RESET & TOKENS | |
| ===================================================== */ | |
| *, *::before, *::after { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; } | |
| body, h1, h2, h3, h4, p, ul, figure { margin: 0; } | |
| ul { list-style: none; padding: 0; } | |
| img, svg { display: block; max-width: 100%; } | |
| a { color: inherit; text-decoration: none; } | |
| button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; } | |
| :root{ | |
| --bg:#ffffff; | |
| --bg-soft:#f5f8fc; | |
| --surface: rgba(15,23,42,.028); | |
| --surface-hover: rgba(15,23,42,.05); | |
| --border: rgba(15,23,42,.10); | |
| --border-soft: rgba(15,23,42,.07); | |
| --text:#0f172a; | |
| --text-muted:#5b6577; | |
| --text-dim:#8a93a6; | |
| --blue:#066fd1; | |
| --violet:#7c3aed; | |
| --cyan:#22d3ee; | |
| --green:#16a34a; | |
| --amber:#d97706; | |
| --red:#dc2626; | |
| --grad-brand: linear-gradient(135deg,#22d3ee 0%,#066fd1 48%,#7c3aed 100%); | |
| --grad-text: linear-gradient(120deg,#0b63c5 0%,#4c6fe0 45%,#7c3aed 100%); | |
| --r-sm:8px; --r-md:14px; --r-lg:20px; --r-xl:28px; --r-full:999px; | |
| --shadow-card: 0 1px 2px rgba(15,23,42,.05), 0 20px 40px -24px rgba(15,23,42,.18); | |
| --shadow-btn: 0 10px 24px rgba(6,111,209,.24), 0 4px 14px rgba(124,58,237,.16); | |
| --container: 1180px; | |
| } | |
| body{ | |
| background: var(--bg); | |
| color: var(--text); | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| overflow-x: hidden; | |
| } | |
| .container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; } | |
| a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; } | |
| /* ===================================================== | |
| AMBIENT BACKGROUND | |
| ===================================================== */ | |
| .bg-fx{ position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; } | |
| .bg-blob{ position: absolute; border-radius: 50%; filter: blur(90px); opacity: .22; } | |
| .bg-blob.b1{ width: 620px; height: 620px; top: -220px; left: -160px; background: radial-gradient(circle, rgba(6,111,209,.55), transparent 70%); animation: float1 22s ease-in-out infinite; } | |
| .bg-blob.b2{ width: 560px; height: 560px; top: 260px; right: -200px; background: radial-gradient(circle, rgba(124,58,237,.5), transparent 70%); animation: float2 26s ease-in-out infinite; } | |
| .bg-blob.b3{ width: 480px; height: 480px; bottom: -200px; left: 30%; background: radial-gradient(circle, rgba(34,211,238,.4), transparent 70%); animation: float1 30s ease-in-out infinite reverse; } | |
| .bg-grid{ position:absolute; inset:0; background-image: radial-gradient(rgba(15,23,42,.05) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); } | |
| @keyframes float1{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(40px,50px); } } | |
| @keyframes float2{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-50px,30px); } } | |
| main, header, footer{ position: relative; z-index: 1; } | |
| /* ===================================================== | |
| UTILITIES | |
| ===================================================== */ | |
| .pill{ display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; padding:6px 14px; border-radius: var(--r-full); border:1px solid var(--border); background: var(--surface); color: var(--text-muted); } | |
| .pill i{ font-size:14px; } | |
| .pill.pill-brand{ color:#066fd1; border-color: rgba(6,111,209,.3); background: linear-gradient(135deg, rgba(6,111,209,.1), rgba(124,58,237,.1)); } | |
| .grad-text{ background: var(--grad-text); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color: transparent; } | |
| .eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; color:#066fd1; margin-bottom:16px; } | |
| .eyebrow .dot{ width:6px; height:6px; border-radius:50%; background: var(--grad-brand); box-shadow: 0 0 12px rgba(6,111,209,.7); } | |
| .section-head{ text-align:center; max-width: 620px; margin: 0 auto 56px; } | |
| .section-head h2{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight:800; letter-spacing:-.02em; line-height:1.18; margin-bottom:14px; } | |
| .section-head p{ color: var(--text-muted); font-size:1.02rem; line-height:1.7; } | |
| section{ padding: 100px 0; position: relative; } | |
| .section-tight{ padding: 72px 0; } | |
| .btn{ display:inline-flex; align-items:center; justify-content:center; gap:9px; font-weight:700; font-size:.95rem; padding:14px 26px; border-radius: var(--r-md); transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; } | |
| .btn i{ font-size:17px; } | |
| .btn-primary{ background: var(--grad-brand); color:#ffffff; box-shadow: var(--shadow-btn); } | |
| .btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 34px rgba(6,111,209,.32), 0 4px 16px rgba(124,58,237,.22); } | |
| .btn-outline{ background: var(--surface); border:1px solid var(--border); color: var(--text); } | |
| .btn-outline:hover{ border-color: rgba(6,111,209,.5); background: var(--surface-hover); transform: translateY(-2px); } | |
| .btn-block{ width:100%; } | |
| .btn[disabled], .btn.is-disabled{ opacity:.45; pointer-events:none; } | |
| .reveal{ opacity:0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); } | |
| .reveal.in{ opacity:1; transform:none; } | |
| /* ===================================================== | |
| LOGO MARK (reused: nav / hero / footer) | |
| ===================================================== */ | |
| .ak-logo{ display:inline-flex; align-items:center; gap:10px; } | |
| .ak-logo img{ height:30px; width:auto; display:block; } | |
| .ak-logo-word{ font-weight:800; font-size:1.05rem; letter-spacing:-.01em; } | |
| .ak-logo-word b{ background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color: transparent; } | |
| /* ===================================================== | |
| ANNOUNCEMENT BAR | |
| ===================================================== */ | |
| .announce{ background: linear-gradient(90deg, rgba(6,111,209,.1), rgba(124,58,237,.1)); border-bottom:1px solid var(--border-soft); font-size:13.5px; padding:10px 20px; display:flex; align-items:center; justify-content:center; gap:10px; text-align:center; position:relative; z-index:2; } | |
| .announce strong{ font-weight:700; } | |
| .announce a{ font-weight:700; color:#066fd1; display:inline-flex; align-items:center; gap:4px; } | |
| .announce a:hover{ color:#7c3aed; } | |
| .announce-close{ position:absolute; right:16px; top:50%; transform:translateY(-50%); color: var(--text-dim); font-size:16px; padding:4px; line-height:1; } | |
| .announce-close:hover{ color: var(--text); } | |
| /* ===================================================== | |
| NAV | |
| ===================================================== */ | |
| .nav{ position: sticky; top:0; z-index:50; padding:16px 0; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease; border-bottom:1px solid transparent; } | |
| .nav.scrolled{ background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border-soft); box-shadow: 0 8px 24px -20px rgba(15,23,42,.25); } | |
| .nav .container{ display:flex; align-items:center; gap:24px; } | |
| .nav-links{ display:flex; align-items:center; gap:28px; margin-left:8px; } | |
| .nav-links a{ font-size:.9rem; font-weight:600; color: var(--text-muted); transition: color .2s ease; } | |
| .nav-links a:hover{ color: var(--text); } | |
| .nav-right{ display:flex; align-items:center; gap:12px; margin-left:auto; } | |
| .nav-right .btn{ padding:10px 18px; font-size:.87rem; } | |
| .nav-burger{ display:none; font-size:22px; padding:6px; margin-left:auto; } | |
| @media (max-width: 860px){ | |
| .nav-links{ position:fixed; inset:64px 16px auto 16px; flex-direction:column; align-items:stretch; gap:2px; background: rgba(255,255,255,.98); border:1px solid var(--border); border-radius: var(--r-lg); padding:10px; backdrop-filter: blur(16px); box-shadow: 0 24px 48px -24px rgba(15,23,42,.25); transform: translateY(-12px); opacity:0; pointer-events:none; transition: opacity .2s ease, transform .2s ease; } | |
| .nav-links.open{ opacity:1; transform:none; pointer-events:auto; } | |
| .nav-links a{ padding:12px 14px; border-radius:10px; } | |
| .nav-links a:hover{ background: var(--surface); } | |
| .nav-burger{ display:inline-flex; } | |
| } | |
| /* ===================================================== | |
| HERO | |
| ===================================================== */ | |
| .hero{ padding: 84px 0 90px; text-align:center; } | |
| .hero-ctas{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; margin-bottom:0; margin-top:32px; } | |
| .hero-preview{ margin-top:0; scroll-margin-top:90px; text-align:left; } | |
| /* ===================================================== | |
| STATS | |
| ===================================================== */ | |
| .stats-band{ padding: 30px 0 10px; } | |
| /* ===================================================== | |
| MODULES | |
| ===================================================== */ | |
| .modules-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; } | |
| .mod-card{ background: var(--surface); border:1px solid var(--border-soft); border-radius: var(--r-lg); padding:28px 26px; transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; position:relative; overflow:hidden; } | |
| .mod-card::before{ content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(15,23,42,.035), transparent 40%); opacity:0; transition: opacity .25s ease; } | |
| .mod-card:hover{ transform: translateY(-5px); border-color: rgba(124,58,237,.25); background: var(--surface-hover); box-shadow: var(--shadow-card); } | |
| .mod-card:hover::before{ opacity:1; } | |
| .mod-ico{ width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center; font-size:21px; margin-bottom:20px; background: linear-gradient(135deg, rgba(6,111,209,.14), rgba(124,58,237,.14)); border:1px solid rgba(124,58,237,.2); color:#066fd1; } | |
| .mod-card h3{ font-size:1.06rem; font-weight:700; margin-bottom:10px; } | |
| .mod-card p{ font-size:.9rem; color: var(--text-muted); line-height:1.65; } | |
| .mod-tags{ display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; } | |
| .mod-tag{ font-size:10.5px; font-weight:700; padding:4px 10px; border-radius: var(--r-full); background: rgba(15,23,42,.045); border:1px solid var(--border-soft); color: var(--text-muted); } | |
| .mod-card.span-2{ grid-column: span 2; } | |
| @media (max-width: 900px){ .modules-grid{ grid-template-columns: repeat(2,1fr); } .mod-card.span-2{ grid-column: span 2; } } | |
| @media (max-width: 620px){ .modules-grid{ grid-template-columns: 1fr; } .mod-card.span-2{ grid-column: span 1; } } | |
| /* ===================================================== | |
| DESKTOP APP PREVIEW — the fake interactive app | |
| ===================================================== */ | |
| .preview-caption{ text-align:center; font-size:.78rem; color: var(--text-dim); margin-top:18px; } | |
| .app-window{ border-radius: 20px; border:1px solid var(--border); background: #ffffff; box-shadow: 0 30px 80px -30px rgba(15,23,42,.22), 0 0 0 1px rgba(15,23,42,.04); overflow:hidden; } | |
| .app-topbar{ display:flex; align-items:center; gap:10px; padding:13px 18px; background: rgba(15,23,42,.025); border-bottom:1px solid var(--border-soft); } | |
| .app-dots{ display:flex; gap:6px; } | |
| .app-dot{ width:11px; height:11px; border-radius:50%; } | |
| .app-dot.r{ background:#f76767; } .app-dot.y{ background:#f7c948; } .app-dot.g{ background:#2fd158; } | |
| .app-title{ font-size:.83rem; font-weight:700; color: var(--text-muted); margin-left:6px; } | |
| .app-status{ margin-left:auto; display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; padding:4px 11px; border-radius: var(--r-full); background: rgba(22,163,74,.12); color:#15803d; border:1px solid rgba(22,163,74,.25); } | |
| .app-status i{ font-size:7px; } | |
| .app-body{ display:flex; height: 460px; } | |
| .app-rail{ width:56px; flex-shrink:0; background: rgba(15,23,42,.015); border-right:1px solid var(--border-soft); display:flex; flex-direction:column; align-items:center; padding:16px 0; gap:8px; } | |
| .app-rail-logo{ width:30px; height:30px; border-radius:9px; background: var(--grad-brand); display:flex; align-items:center; justify-content:center; color:#ffffff; font-size:14px; margin-bottom:8px; } | |
| .app-rail-ico{ width:32px; height:32px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:16px; color: var(--text-dim); } | |
| .app-rail-ico.on{ background: rgba(6,111,209,.12); color:#066fd1; } | |
| .app-rail-sep{ width:22px; height:1px; background: var(--border-soft); margin:4px 0; } | |
| .app-rail-avatar{ margin-top:auto; width:26px; height:26px; border-radius:50%; background: linear-gradient(135deg,#7c3aed,#a855f7); display:flex; align-items:center; justify-content:center; font-size:10.5px; font-weight:800; color:#ffffff; } | |
| .app-panel{ width:220px; flex-shrink:0; border-right:1px solid var(--border-soft); display:flex; flex-direction:column; overflow:hidden; } | |
| .app-panel-head{ display:flex; align-items:center; justify-content:space-between; padding:13px 14px 10px; border-bottom:1px solid var(--border-soft); } | |
| .app-panel-title{ font-size:11px; font-weight:800; letter-spacing:.3px; color: var(--text-muted); display:flex; align-items:center; gap:6px; } | |
| .app-panel-title i{ color:#066fd1; font-size:13px; } | |
| .app-panel-plus{ width:22px; height:22px; border-radius:6px; border:1px solid var(--border-soft); display:flex; align-items:center; justify-content:center; font-size:12px; color: var(--text-dim); } | |
| .app-conv{ display:flex; gap:8px; padding:10px 14px; border-bottom:1px solid rgba(15,23,42,.03); } | |
| .app-conv.active{ background: rgba(6,111,209,.06); } | |
| .app-conv i{ font-size:11px; color: var(--text-dim); margin-top:2px; flex-shrink:0; } | |
| .app-conv.active i{ color:#066fd1; } | |
| .app-conv-name{ font-size:11.5px; font-weight:600; color:#1e293b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } | |
| .app-conv-sub{ font-size:9.5px; color: var(--text-dim); margin-top:2px; } | |
| .app-main{ flex:1; display:flex; flex-direction:column; min-width:0; } | |
| .chat-scroll{ flex:1; overflow-y:auto; padding:20px 22px; display:flex; flex-direction:column; gap:14px; transition: opacity .4s ease; } | |
| .chat-scroll.fade-out{ opacity:0; } | |
| .chat-scroll::-webkit-scrollbar{ width:5px; } | |
| .chat-scroll::-webkit-scrollbar-thumb{ background: rgba(15,23,42,.15); border-radius:99px; } | |
| .chat-welcome{ margin:auto; text-align:center; max-width:320px; } | |
| .chat-welcome-ico{ width:48px; height:48px; border-radius:14px; background: var(--grad-brand); display:flex; align-items:center; justify-content:center; font-size:22px; color:#ffffff; margin:0 auto 14px; } | |
| .chat-welcome h4{ font-size:14px; font-weight:800; margin-bottom:6px; } | |
| .chat-welcome p{ font-size:11.5px; color: var(--text-muted); line-height:1.6; } | |
| .msg{ display:flex; gap:10px; max-width:88%; animation: msg-in .3s ease both; } | |
| @keyframes msg-in{ from{ opacity:0; transform: translateY(8px); } to{ opacity:1; transform:none; } } | |
| .msg-avatar{ width:24px; height:24px; border-radius:8px; background: var(--grad-brand); color:#ffffff; display:flex; align-items:center; justify-content:center; font-size:12px; flex-shrink:0; } | |
| .msg-text{ font-size:12.5px; line-height:1.55; padding:9px 13px; border-radius:12px; } | |
| .msg-ai{ align-self:flex-start; } | |
| .msg-ai .msg-text{ background: rgba(15,23,42,.045); border:1px solid var(--border-soft); color:#1e293b; border-top-left-radius:4px; } | |
| .msg-user{ align-self:flex-end; margin-left:auto; } | |
| .msg-user .msg-text{ background: linear-gradient(135deg, rgba(6,111,209,.92), rgba(124,58,237,.92)); color:#fff; border-top-right-radius:4px; font-weight:500; } | |
| .typing-dots{ display:inline-flex; align-items:center; gap:4px; background: rgba(15,23,42,.045); border:1px solid var(--border-soft); padding:11px 14px; border-radius:12px; border-top-left-radius:4px; } | |
| .typing-dots i{ width:5px; height:5px; border-radius:50%; background: var(--text-dim); animation: blink 1.2s ease-in-out infinite; } | |
| .typing-dots i:nth-child(2){ animation-delay:.2s; } .typing-dots i:nth-child(3){ animation-delay:.4s; } | |
| @keyframes blink{ 0%,100%{ opacity:.25; } 50%{ opacity:1; } } | |
| .result-card{ align-self:flex-start; max-width:92%; background: rgba(15,23,42,.03); border:1px solid var(--border-soft); border-radius:13px; overflow:hidden; animation: msg-in .35s ease both; } | |
| .result-head{ display:flex; align-items:center; gap:9px; padding:10px 13px; border-bottom:1px solid var(--border-soft); } | |
| .result-ico{ width:22px; height:22px; border-radius:6px; background: rgba(22,163,74,.14); color:#15803d; display:flex; align-items:center; justify-content:center; font-size:11px; flex-shrink:0; } | |
| .result-title{ font-size:11.5px; font-weight:700; } | |
| .result-meta{ margin-left:auto; font-size:9.5px; color: var(--text-dim); white-space:nowrap; } | |
| .result-row{ display:flex; align-items:center; gap:8px; padding:8px 13px; border-bottom:1px solid rgba(15,23,42,.03); } | |
| .result-row:last-child{ border-bottom:none; } | |
| .result-dot{ width:6px; height:6px; border-radius:50%; flex-shrink:0; } | |
| .dot-urgent{ background:#dc2626; } .dot-soon{ background:#d97706; } .dot-ok{ background:#16a34a; } | |
| .result-name{ font-size:10.8px; color:#1e293b; flex:1; } | |
| .result-tag{ font-size:9px; font-weight:700; padding:2px 8px; border-radius: var(--r-full); white-space:nowrap; } | |
| .tag-urgent{ background: rgba(220,38,38,.12); color:#b91c1c; } | |
| .tag-soon{ background: rgba(217,119,6,.12); color:#b45309; } | |
| .tag-ok{ background: rgba(22,163,74,.12); color:#15803d; } | |
| .app-input-wrap{ padding:12px 18px 16px; border-top:1px solid var(--border-soft); flex-shrink:0; } | |
| .app-input-bar{ display:flex; align-items:center; gap:10px; background: rgba(15,23,42,.035); border:1px solid var(--border); border-radius:12px; padding:10px 10px 10px 14px; } | |
| .app-input-plus{ width:24px; height:24px; border-radius:7px; border:1px solid var(--border-soft); display:flex; align-items:center; justify-content:center; font-size:12px; color: var(--text-dim); flex-shrink:0; } | |
| .app-input-text{ flex:1; font-size:12.5px; color: var(--text); min-width:0; overflow:hidden; white-space:nowrap; } | |
| .type-cursor{ width:1.5px; height:14px; background:#066fd1; flex-shrink:0; animation: cursor-blink 1s step-end infinite; } | |
| @keyframes cursor-blink{ 0%,100%{ opacity:1; } 50%{ opacity:0; } } | |
| .app-input-send{ width:28px; height:28px; border-radius:8px; background: var(--grad-brand); color:#ffffff; display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0; } | |
| @media (max-width: 760px){ .app-panel{ display:none; } .app-body{ height:420px; } } | |
| @media (max-width: 480px){ .app-rail{ display:none; } } | |
| /* Workflow strip under the app window */ | |
| .wf-strip{ margin-top:44px; } | |
| .wf-strip-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:10px; } | |
| .wf-strip-head h4{ font-size:.95rem; font-weight:700; } | |
| .wf-steps{ display:grid; grid-template-columns: repeat(4,1fr); gap:0; align-items:stretch; } | |
| .wf-step{ display:flex; align-items:center; gap:12px; padding:16px; background: var(--surface); border:1px solid var(--border-soft); position:relative; } | |
| .wf-step:first-child{ border-radius: var(--r-md) 0 0 var(--r-md); } | |
| .wf-step:last-child{ border-radius: 0 var(--r-md) var(--r-md) 0; } | |
| .wf-step:not(:last-child){ border-right:none; } | |
| .wf-step-ico{ width:34px; height:34px; border-radius:10px; background: linear-gradient(135deg, rgba(6,111,209,.14), rgba(124,58,237,.14)); border:1px solid rgba(124,58,237,.2); display:flex; align-items:center; justify-content:center; font-size:15px; color:#066fd1; flex-shrink:0; } | |
| .wf-step-name{ font-size:.82rem; font-weight:700; } | |
| .wf-step-sub{ font-size:.72rem; color: var(--text-dim); margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } | |
| .wf-step-arrow{ position:absolute; right:-9px; top:50%; transform:translateY(-50%); width:18px; height:18px; border-radius:50%; background:#ffffff; border:1px solid var(--border); color: var(--text-dim); font-size:10px; display:flex; align-items:center; justify-content:center; z-index:2; } | |
| @media (max-width: 760px){ .wf-steps{ grid-template-columns:1fr 1fr; gap:10px; } .wf-step{ border-radius: var(--r-md) ; border-right:1px solid var(--border-soft) ; } .wf-step-arrow{ display:none; } } | |
| @media (max-width: 480px){ .wf-steps{ grid-template-columns:1fr; } } | |
| /* ===================================================== | |
| DOWNLOAD | |
| ===================================================== */ | |
| .download-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; margin-top:48px; } | |
| .os-card{ text-align:center; padding:34px 24px; border-radius: var(--r-lg); border:1px solid var(--border-soft); background: var(--surface); transition: transform .25s ease, border-color .25s ease; } | |
| .os-card.available{ border-color: rgba(6,111,209,.28); background: linear-gradient(180deg, rgba(6,111,209,.07), rgba(124,58,237,.04)); } | |
| .os-card:hover{ transform: translateY(-4px); } | |
| .os-ico{ width:56px; height:56px; margin:0 auto 18px; border-radius:16px; background: rgba(15,23,42,.045); border:1px solid var(--border-soft); display:flex; align-items:center; justify-content:center; font-size:26px; } | |
| .os-card.available .os-ico{ background: var(--grad-brand); color:#ffffff; } | |
| .os-card h3{ font-size:1.02rem; font-weight:700; margin-bottom:6px; } | |
| .os-card .os-sub{ font-size:.82rem; color: var(--text-muted); margin-bottom:20px; } | |
| .os-soon{ display:inline-flex; font-size:11.5px; font-weight:700; color: var(--text-dim); background: rgba(15,23,42,.045); border:1px solid var(--border-soft); padding:8px 16px; border-radius: var(--r-md); } | |
| .download-more{ text-align:center; margin-top:32px; font-size:.88rem; color: var(--text-muted); } | |
| .download-more a{ color:#066fd1; font-weight:700; } | |
| .download-more a:hover{ color:#7c3aed; } | |
| @media (max-width: 760px){ .download-grid{ grid-template-columns:1fr; } } | |
| /* ===================================================== | |
| FINAL CTA | |
| ===================================================== */ | |
| .cta-band{ text-align:center; border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); background: linear-gradient(180deg, rgba(6,111,209,.045), rgba(124,58,237,.035)); } | |
| .cta-band h2{ font-size: clamp(1.7rem,3.2vw,2.3rem); font-weight:800; letter-spacing:-.02em; margin-bottom:14px; } | |
| .cta-band p{ color: var(--text-muted); margin-bottom:32px; } | |
| /* ===================================================== | |
| FOOTER | |
| ===================================================== */ | |
| .footer{ padding:56px 0 32px; border-top:1px solid var(--border-soft); } | |
| .footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; margin-bottom:40px; } | |
| .footer-brand p{ font-size:.85rem; color: var(--text-muted); margin-top:12px; max-width:260px; line-height:1.6; } | |
| .footer-cols{ display:flex; gap:56px; flex-wrap:wrap; } | |
| .footer-col h5{ font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.5px; color: var(--text-dim); margin-bottom:14px; } | |
| .footer-col a{ display:block; font-size:.87rem; color: var(--text-muted); margin-bottom:10px; transition: color .2s ease; } | |
| .footer-col a:hover{ color: var(--text); } | |
| .footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:28px; border-top:1px solid var(--border-soft); font-size:.78rem; color: var(--text-dim); } | |
| .footer-bottom p{ line-height:1.6; max-width:640px; } | |
| @media (max-width: 700px){ .footer-top{ flex-direction:column; } } | |
| /* ===================================================== | |
| REDUCED MOTION | |
| ===================================================== */ | |
| @media (prefers-reduced-motion: reduce){ | |
| *, *::before, *::after{ animation-duration:.001ms ; animation-iteration-count:1 ; transition-duration:.001ms ; } | |
| html{ scroll-behavior:auto; } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="bg-fx" aria-hidden="true"> | |
| <div class="bg-blob b1"></div> | |
| <div class="bg-blob b2"></div> | |
| <div class="bg-blob b3"></div> | |
| <div class="bg-grid"></div> | |
| </div> | |
| <div class="announce" id="announce"> | |
| <i class="ti ti-rocket"></i> | |
| <span><strong>AKORBIT Desktop</strong> is available for macOS.</span> | |
| <a href="#download">Download now <i class="ti ti-arrow-right"></i></a> | |
| <button class="announce-close" id="announceClose" aria-label="Dismiss">✕</button> | |
| </div> | |
| <header class="nav" id="siteNav"> | |
| <div class="container"> | |
| <a href="#top" class="ak-logo"> | |
| <img src="logo.png" alt="AKORBIT" /> | |
| <span class="ak-logo-word">AKOR<b>BIT</b></span> | |
| </a> | |
| <nav class="nav-links" id="navLinks"> | |
| <a href="#modules">Modules</a> | |
| <a href="#preview">Desktop App</a> | |
| <a href="#download">Download</a> | |
| <a href="https://www.akorbit.com" target="_blank" rel="noopener">Website</a> | |
| </nav> | |
| <div class="nav-right"> | |
| <a href="#download" class="btn btn-primary"><i class="ti ti-download"></i> Download</a> | |
| </div> | |
| <button class="nav-burger" id="navBurger" aria-label="Toggle menu" aria-expanded="false"><i class="ti ti-menu-2"></i></button> | |
| </div> | |
| </header> | |
| <main id="top"> | |
| <!-- ===================================================== | |
| HERO | |
| ===================================================== --> | |
| <section class="hero"> | |
| <div class="container"> | |
| <div class="hero-preview" id="preview"> | |
| <div class="section-head reveal"> | |
| <div class="eyebrow" style="justify-content:center;"><span class="dot"></span> Desktop App</div> | |
| <h2>The Enterprise AI Workspace</h2> | |
| <p>A private AI assistant, enterprise search and autonomous agents.</p> | |
| </div> | |
| <div class="app-window reveal"> | |
| <div class="app-topbar"> | |
| <div class="app-dots"><span class="app-dot r"></span><span class="app-dot y"></span><span class="app-dot g"></span></div> | |
| <span class="app-title">AKORBIT</span> | |
| <span class="app-status"><i class="ti ti-circle-filled"></i> Active</span> | |
| </div> | |
| <div class="app-body"> | |
| <div class="app-rail"> | |
| <div class="app-rail-logo"><i class="ti ti-git-branch"></i></div> | |
| <div class="app-rail-ico"><i class="ti ti-layout-dashboard"></i></div> | |
| <div class="app-rail-ico on"><i class="ti ti-message-chatbot"></i></div> | |
| <div class="app-rail-ico"><i class="ti ti-bell"></i></div> | |
| <div class="app-rail-sep"></div> | |
| <div class="app-rail-ico"><i class="ti ti-search"></i></div> | |
| <div class="app-rail-ico"><i class="ti ti-database"></i></div> | |
| <div class="app-rail-avatar">A</div> | |
| </div> | |
| <div class="app-panel"> | |
| <div class="app-panel-head"> | |
| <span class="app-panel-title"><i class="ti ti-message-chatbot"></i> Conversations</span> | |
| <span class="app-panel-plus"><i class="ti ti-edit"></i></span> | |
| </div> | |
| <div class="app-conv active"> | |
| <i class="ti ti-message"></i> | |
| <div><div class="app-conv-name">Supplier contract analysis</div><div class="app-conv-sub">2 minutes ago</div></div> | |
| </div> | |
| <div class="app-conv"> | |
| <i class="ti ti-message"></i> | |
| <div><div class="app-conv-name">Quarterly report summary</div><div class="app-conv-sub">Yesterday</div></div> | |
| </div> | |
| <div class="app-conv"> | |
| <i class="ti ti-message"></i> | |
| <div><div class="app-conv-name">Public tender review</div><div class="app-conv-sub">2 days ago</div></div> | |
| </div> | |
| <div class="app-conv"> | |
| <i class="ti ti-message"></i> | |
| <div><div class="app-conv-name">Pending HR files</div><div class="app-conv-sub">3 days ago</div></div> | |
| </div> | |
| </div> | |
| <div class="app-main"> | |
| <div class="chat-scroll" id="chatScroll"> | |
| <div class="chat-welcome" id="chatWelcome"> | |
| <div class="chat-welcome-ico"><i class="ti ti-sparkles"></i></div> | |
| <h4>How can I help you?</h4> | |
| <p>Ask a question, analyse a document, or run a search across your workspace.</p> | |
| </div> | |
| </div> | |
| <div class="app-input-wrap"> | |
| <div class="app-input-bar"> | |
| <span class="app-input-plus"><i class="ti ti-plus"></i></span> | |
| <span class="app-input-text" id="typedText"></span><span class="type-cursor" id="typeCursor"></span> | |
| <span class="app-input-send"><i class="ti ti-arrow-up"></i></span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="preview-caption reveal">Interactive preview — illustrative data only.</p> | |
| <div class="hero-ctas reveal"> | |
| <a href="Akorbit-1.0.10.dmg" download class="btn btn-primary"> | |
| <i class="ti ti-brand-apple"></i> Download for macOS | |
| </a> | |
| <a href="https://www.akorbit.com" target="_blank" rel="noopener" class="btn btn-outline"> | |
| <i class="ti ti-external-link"></i> Visit akorbit.com | |
| </a> | |
| </div> | |
| <div class="wf-strip reveal"> | |
| <div class="wf-strip-head"> | |
| <h4>Workflow automation, visualized</h4> | |
| <span class="pill"><i class="ti ti-route"></i> 1 of 8+ ready‑to‑use workflows</span> | |
| </div> | |
| <div class="wf-steps"> | |
| <div class="wf-step"> | |
| <div class="wf-step-ico"><i class="ti ti-clock"></i></div> | |
| <div><div class="wf-step-name">Trigger</div><div class="wf-step-sub">8:00 AM · every weekday</div></div> | |
| <span class="wf-step-arrow"><i class="ti ti-chevron-right"></i></span> | |
| </div> | |
| <div class="wf-step"> | |
| <div class="wf-step-ico"><i class="ti ti-mail"></i></div> | |
| <div><div class="wf-step-name">Read Inbox</div><div class="wf-step-sub">Last 24h · up to 20 emails</div></div> | |
| <span class="wf-step-arrow"><i class="ti ti-chevron-right"></i></span> | |
| </div> | |
| <div class="wf-step"> | |
| <div class="wf-step-ico"><i class="ti ti-robot"></i></div> | |
| <div><div class="wf-step-name">AI Agent</div><div class="wf-step-sub">Generating structured summary…</div></div> | |
| <span class="wf-step-arrow"><i class="ti ti-chevron-right"></i></span> | |
| </div> | |
| <div class="wf-step"> | |
| <div class="wf-step-ico"><i class="ti ti-bell"></i></div> | |
| <div><div class="wf-step-name">Notify</div><div class="wf-step-sub">Sent to you · daily briefing</div></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- ===================================================== | |
| OVERVIEW / STATS — "Enterprise AI Workspace" | |
| ===================================================== --> | |
| <section class="stats-band"> | |
| <div class="container"> | |
| <div class="section-head reveal"> | |
| <div class="eyebrow" style="justify-content:center;"><span class="dot"></span> Enterprise AI Workspace</div> | |
| <h2>One workspace. Every AI capability your business needs.</h2> | |
| <p>From answering a question buried in an inbox to running a multi‑step business process, AKORBIT brings conversational AI, enterprise search and autonomous agents into a single secure platform — deployable on‑premise or fully air‑gapped.</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- ===================================================== | |
| MODULES | |
| ===================================================== --> | |
| <section id="modules"> | |
| <div class="container"> | |
| <div class="section-head reveal"> | |
| <div class="eyebrow" style="justify-content:center;"><span class="dot"></span> Modules</div> | |
| <h2>Everything runs on one platform.</h2> | |
| <p>Five modules, one workspace — every module deploys inside your own infrastructure.</p> | |
| </div> | |
| <div class="modules-grid"> | |
| <div class="mod-card reveal"> | |
| <div class="mod-ico"><i class="ti ti-message-chatbot"></i></div> | |
| <h3>AI Assistant</h3> | |
| <p>A conversational assistant that reads your emails, understands your documents and answers your teams instantly — without a single call to a third‑party API.</p> | |
| </div> | |
| <div class="mod-card reveal"> | |
| <div class="mod-ico"><i class="ti ti-search"></i></div> | |
| <h3>Private RAG</h3> | |
| <p>Natural‑language search across your entire knowledge base — SharePoint, Drive, Confluence and internal file servers — with answers grounded in your own sources.</p> | |
| </div> | |
| <div class="mod-card reveal"> | |
| <div class="mod-ico"><i class="ti ti-robot"></i></div> | |
| <h3>AI Agents</h3> | |
| <p>Autonomous agents that go beyond answering: they archive documents, fill forms and trigger the next step in your business process.</p> | |
| </div> | |
| <div class="mod-card reveal"> | |
| <div class="mod-ico"><i class="ti ti-route"></i></div> | |
| <h3>Workflow Automation</h3> | |
| <p>Turn repetitive, manual processes into automated pipelines your business teams can configure themselves — no code required.</p> | |
| </div> | |
| <div class="mod-card reveal span-2"> | |
| <div class="mod-ico"><i class="ti ti-shield-lock"></i></div> | |
| <h3>Enterprise Security</h3> | |
| <p>End‑to‑end encryption, granular role‑based access and a complete audit trail — compliant by design, not as an afterthought.</p> | |
| <div class="mod-tags"> | |
| <span class="mod-tag">On‑Premise</span> | |
| <span class="mod-tag">Air‑Gap</span> | |
| <span class="mod-tag">GDPR</span> | |
| <span class="mod-tag">E2E Encryption</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- ===================================================== | |
| DOWNLOAD | |
| ===================================================== --> | |
| <section id="download"> | |
| <div class="container"> | |
| <div class="section-head reveal"> | |
| <div class="eyebrow" style="justify-content:center;"><span class="dot"></span> Download</div> | |
| <h2>Get AKORBIT on your desktop.</h2> | |
| <p>Available today for macOS. Windows and Linux are coming soon.</p> | |
| </div> | |
| <div class="download-grid"> | |
| <div class="os-card available reveal"> | |
| <div class="os-ico"><i class="ti ti-brand-apple"></i></div> | |
| <h3>macOS</h3> | |
| <p class="os-sub">.dmg · Apple Silicon & Intel</p> | |
| <a href="Akorbit-1.0.10.dmg" download class="btn btn-primary btn-block"><i class="ti ti-download"></i> Download .dmg</a> | |
| </div> | |
| <div class="os-card reveal"> | |
| <div class="os-ico"><i class="ti ti-brand-windows"></i></div> | |
| <h3>Windows</h3> | |
| <p class="os-sub">.exe installer</p> | |
| <span class="os-soon">Coming soon</span> | |
| </div> | |
| <div class="os-card reveal"> | |
| <div class="os-ico"><i class="ti ti-brand-ubuntu"></i></div> | |
| <h3>Linux</h3> | |
| <p class="os-sub">.AppImage / .deb</p> | |
| <span class="os-soon">Coming soon</span> | |
| </div> | |
| </div> | |
| <p class="download-more reveal">Looking for release notes or older builds? <a href="https://www.akorbit.com/download" target="_blank" rel="noopener">akorbit.com/download</a></p> | |
| </div> | |
| </section> | |
| <!-- ===================================================== | |
| FINAL CTA | |
| ===================================================== --> | |
| <section class="cta-band"> | |
| <div class="container reveal"> | |
| <h2>Ready to bring sovereign AI to your organization?</h2> | |
| <p>Download the desktop app, or explore AKORBIT on the web.</p> | |
| <div class="hero-ctas" style="margin-bottom:0;"> | |
| <a href="#download" class="btn btn-primary"><i class="ti ti-download"></i> Download AKORBIT Desktop</a> | |
| <a href="https://www.akorbit.com" target="_blank" rel="noopener" class="btn btn-outline"><i class="ti ti-external-link"></i> Visit Website</a> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <footer class="footer"> | |
| <div class="container"> | |
| <div class="footer-top"> | |
| <div class="footer-brand"> | |
| <a href="#top" class="ak-logo"> | |
| <img src="logo.png" alt="AKORBIT" /> | |
| <span class="ak-logo-word">AKOR<b>BIT</b></span> | |
| </a> | |
| <p>Sovereign Enterprise AI Workspace — private assistant, enterprise search, agents & automation.</p> | |
| </div> | |
| <div class="footer-cols"> | |
| <div class="footer-col"> | |
| <h5>Product</h5> | |
| <a href="#modules">Modules</a> | |
| <a href="#preview">Desktop App</a> | |
| <a href="#download">Download</a> | |
| </div> | |
| <div class="footer-col"> | |
| <h5>Company</h5> | |
| <a href="https://www.akorbit.com" target="_blank" rel="noopener">Website</a> | |
| <a href="https://www.akorbit.com/download" target="_blank" rel="noopener">Release notes</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="footer-bottom"> | |
| <span>© 2026 AKORBIT. All rights reserved.</span> | |
| <p>This page is an interactive showcase built for Hugging Face — illustrative data only. AKORBIT itself runs securely inside your own infrastructure.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| (function(){ | |
| "use strict"; | |
| var reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches; | |
| /* ---------- Nav: scroll state, mobile menu ---------- */ | |
| var nav = document.getElementById('siteNav'); | |
| window.addEventListener('scroll', function(){ | |
| nav.classList.toggle('scrolled', window.scrollY > 8); | |
| }); | |
| var burger = document.getElementById('navBurger'); | |
| var navLinks = document.getElementById('navLinks'); | |
| burger.addEventListener('click', function(){ | |
| var open = navLinks.classList.toggle('open'); | |
| burger.setAttribute('aria-expanded', open ? 'true' : 'false'); | |
| }); | |
| navLinks.querySelectorAll('a').forEach(function(a){ | |
| a.addEventListener('click', function(){ navLinks.classList.remove('open'); }); | |
| }); | |
| /* ---------- Announcement bar dismiss ---------- */ | |
| var announce = document.getElementById('announce'); | |
| var announceClose = document.getElementById('announceClose'); | |
| if (announceClose){ | |
| announceClose.addEventListener('click', function(){ announce.style.display = 'none'; }); | |
| } | |
| /* ---------- Scroll reveal ---------- */ | |
| var revealEls = document.querySelectorAll('.reveal'); | |
| if ('IntersectionObserver' in window){ | |
| var io = new IntersectionObserver(function(entries){ | |
| entries.forEach(function(entry){ | |
| if (entry.isIntersecting){ | |
| entry.target.classList.add('in'); | |
| io.unobserve(entry.target); | |
| } | |
| }); | |
| }, { threshold: .15 }); | |
| revealEls.forEach(function(el){ io.observe(el); }); | |
| } else { | |
| revealEls.forEach(function(el){ el.classList.add('in'); }); | |
| } | |
| /* ---------- Desktop app chat demo ---------- */ | |
| var chatScroll = document.getElementById('chatScroll'); | |
| var chatWelcome = document.getElementById('chatWelcome'); | |
| var typedText = document.getElementById('typedText'); | |
| var typeCursor = document.getElementById('typeCursor'); | |
| var demos = [ | |
| { | |
| q: "Summarise my morning emails", | |
| a: "Here's your briefing — 3 priority emails, 1 contract received, 2 meetings today.", | |
| card: { | |
| title: "Morning briefing ready", | |
| meta: "via inbox agent · 1.1s", | |
| rows: [ | |
| { status: 'urgent', name: 'Vendor renewal needs a reply', tag: 'Urgent' }, | |
| { status: 'soon', name: 'Board report due Friday', tag: 'Soon' }, | |
| { status: 'ok', name: 'Weekly newsletter draft', tag: 'Ready' } | |
| ] | |
| } | |
| }, | |
| { | |
| q: "Analyse this PDF contract", | |
| a: "Done — 1 early‑termination clause needs review, the rest is standard.", | |
| card: { | |
| title: "Contract_Vendor_2026.pdf", | |
| meta: "4 pages analysed · 0.9s", | |
| rows: [ | |
| { status: 'urgent', name: 'Early termination clause', tag: 'Review' }, | |
| { status: 'ok', name: 'Payment terms', tag: 'Standard' }, | |
| { status: 'ok', name: 'Liability cap', tag: 'Standard' } | |
| ] | |
| } | |
| }, | |
| { | |
| q: "Which contracts expire this month?", | |
| a: "I found 3 contracts expiring within 30 days across your knowledge base.", | |
| card: { | |
| title: "3 contracts found", | |
| meta: "via Private RAG · 1.2s", | |
| rows: [ | |
| { status: 'urgent', name: 'Logistics provider agreement', tag: 'Urgent' }, | |
| { status: 'soon', name: 'IT supplies framework', tag: 'Soon' }, | |
| { status: 'soon', name: 'Infrastructure maintenance', tag: 'Soon' } | |
| ] | |
| } | |
| } | |
| ]; | |
| function sleep(ms){ return new Promise(function(res){ setTimeout(res, ms); }); } | |
| function el(tag, cls, html){ | |
| var n = document.createElement(tag); | |
| if (cls) n.className = cls; | |
| if (html !== undefined) n.innerHTML = html; | |
| return n; | |
| } | |
| function scrollToBottom(){ chatScroll.scrollTop = chatScroll.scrollHeight; } | |
| function userBubble(text){ | |
| var w = el('div', 'msg msg-user'); | |
| var t = el('span', 'msg-text'); t.textContent = text; | |
| w.appendChild(t); | |
| return w; | |
| } | |
| function aiBubble(text){ | |
| var w = el('div', 'msg msg-ai'); | |
| w.appendChild(el('span', 'msg-avatar', '<i class="ti ti-sparkles"></i>')); | |
| var t = el('span', 'msg-text'); t.textContent = text; | |
| w.appendChild(t); | |
| return w; | |
| } | |
| function typingBubble(){ | |
| var w = el('div', 'msg msg-ai'); | |
| w.appendChild(el('span', 'msg-avatar', '<i class="ti ti-sparkles"></i>')); | |
| w.appendChild(el('span', 'typing-dots', '<i></i><i></i><i></i>')); | |
| return w; | |
| } | |
| function resultCard(data){ | |
| var rowsHtml = data.rows.map(function(r){ | |
| return '<div class="result-row">' + | |
| '<span class="result-dot dot-' + r.status + '"></span>' + | |
| '<span class="result-name"></span>' + | |
| '<span class="result-tag tag-' + r.status + '"></span>' + | |
| '</div>'; | |
| }).join(''); | |
| var card = el('div', 'result-card'); | |
| card.innerHTML = | |
| '<div class="result-head">' + | |
| '<span class="result-ico"><i class="ti ti-file-check"></i></span>' + | |
| '<span class="result-title"></span>' + | |
| '<span class="result-meta"></span>' + | |
| '</div>' + rowsHtml; | |
| card.querySelector('.result-title').textContent = data.title; | |
| card.querySelector('.result-meta').textContent = data.meta; | |
| var rowEls = card.querySelectorAll('.result-row'); | |
| data.rows.forEach(function(r, i){ | |
| rowEls[i].querySelector('.result-name').textContent = r.name; | |
| rowEls[i].querySelector('.result-tag').textContent = r.tag; | |
| }); | |
| return card; | |
| } | |
| async function typeInto(targetEl, text, speed){ | |
| targetEl.textContent = ''; | |
| for (var i = 0; i < text.length; i++){ | |
| targetEl.textContent += text[i]; | |
| await sleep(speed); | |
| } | |
| } | |
| async function runChatDemo(){ | |
| var i = 0; | |
| while (true){ | |
| var demo = demos[i % demos.length]; | |
| i++; | |
| typeCursor.style.display = ''; | |
| await typeInto(typedText, demo.q, 26); | |
| await sleep(550); | |
| if (chatWelcome && chatWelcome.parentNode){ chatWelcome.remove(); } | |
| chatScroll.appendChild(userBubble(demo.q)); | |
| typedText.textContent = ''; | |
| scrollToBottom(); | |
| await sleep(500); | |
| var typing = typingBubble(); | |
| chatScroll.appendChild(typing); | |
| scrollToBottom(); | |
| await sleep(1300); | |
| typing.remove(); | |
| chatScroll.appendChild(aiBubble(demo.a)); | |
| scrollToBottom(); | |
| await sleep(550); | |
| chatScroll.appendChild(resultCard(demo.card)); | |
| scrollToBottom(); | |
| await sleep(4200); | |
| chatScroll.classList.add('fade-out'); | |
| await sleep(450); | |
| chatScroll.innerHTML = ''; | |
| chatScroll.classList.remove('fade-out'); | |
| await sleep(300); | |
| } | |
| } | |
| if (chatScroll && typedText){ | |
| if (reduceMotion){ | |
| var first = demos[0]; | |
| chatWelcome.remove(); | |
| chatScroll.appendChild(userBubble(first.q)); | |
| chatScroll.appendChild(aiBubble(first.a)); | |
| chatScroll.appendChild(resultCard(first.card)); | |
| typeCursor.style.display = 'none'; | |
| } else { | |
| runChatDemo(); | |
| } | |
| } | |
| })(); | |
| </script> | |
| </body> | |
| </html> | |