Skip to content

Commit 778a058

Browse files
committed
adding hero image
1 parent b08b1d2 commit 778a058

2 files changed

Lines changed: 58 additions & 46 deletions

File tree

docs/assets/hero-image.png

476 KB
Loading

docs/index.html

Lines changed: 58 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -369,29 +369,61 @@
369369

370370
/* --- Hero Image Placeholder --- */
371371
.hero-image-placeholder {
372-
background: var(--panel);
373-
border: 2px dashed var(--border);
372+
background: var(--bg-secondary);
373+
border: 1px solid var(--border);
374374
border-radius: 16px;
375-
padding: 80px 40px;
375+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
376+
padding: 0;
376377
display: flex;
377-
align-items: center;
378-
justify-content: center;
379-
min-height: 400px;
378+
flex-direction: column;
380379
position: relative;
381380
z-index: 1;
382-
transition: border-color 0.3s;
381+
transform: scale(1.1);
382+
overflow: hidden;
383383
}
384384

385-
.hero-image-placeholder:hover {
386-
border-color: var(--accent);
385+
.hero-image-placeholder .cli-header {
386+
background: rgba(0, 0, 0, 0.3);
387+
padding: 10px 20px;
388+
display: flex;
389+
justify-content: space-between;
390+
align-items: center;
391+
border-bottom: 1px solid var(--border);
387392
}
388393

389-
.placeholder-content {
390-
text-align: center;
394+
.hero-image-placeholder .cli-dots {
395+
display: flex;
396+
gap: 8px;
397+
}
398+
399+
.hero-image-placeholder .dot {
400+
width: 12px;
401+
height: 12px;
402+
border-radius: 50%;
403+
background: #ef4444;
404+
}
405+
406+
.hero-image-placeholder .dot:nth-child(2) {
407+
background: #fbbf24;
391408
}
392409

393-
.placeholder-content svg {
394-
opacity: 0.6;
410+
.hero-image-placeholder .dot:nth-child(3) {
411+
background: #10b981;
412+
}
413+
414+
.hero-image-placeholder .cli-title {
415+
color: var(--text-dim);
416+
font-size: 0.75rem;
417+
font-weight: 600;
418+
font-family: var(--font-mono);
419+
}
420+
421+
.hero-image-placeholder .cli-body {
422+
padding: 0;
423+
display: flex;
424+
align-items: center;
425+
justify-content: center;
426+
height: 100%;
395427
}
396428

397429
/* --- Visual CLI --- */
@@ -1014,39 +1046,19 @@ <h1>The Universal Brain for OpenCode</h1>
10141046
</div>
10151047

10161048
<div class="hero-image-placeholder">
1017-
<div class="placeholder-content">
1018-
<svg
1019-
width="120"
1020-
height="120"
1021-
viewBox="0 0 120 120"
1022-
fill="none"
1023-
xmlns="http://www.w3.org/2000/svg"
1024-
role="img"
1025-
aria-label="Kai installation checkmark icon"
1026-
>
1027-
<rect
1028-
width="120"
1029-
height="120"
1030-
rx="12"
1031-
fill="rgba(0, 217, 255, 0.1)"
1032-
stroke="rgba(0, 217, 255, 0.3)"
1033-
stroke-width="2"
1034-
stroke-dasharray="8 8"
1035-
/>
1036-
<path
1037-
d="M40 50L50 60L40 70M55 70H80"
1038-
stroke="var(--accent)"
1039-
stroke-width="3"
1040-
stroke-linecap="round"
1041-
stroke-linejoin="round"
1042-
/>
1043-
</svg>
1044-
<p style="margin-top: 20px; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.85rem">
1045-
Hero Image Placeholder
1046-
</p>
1047-
<p style="margin-top: 8px; color: var(--text-dim); font-size: 0.75rem">
1048-
Replace with actual screenshot/demo
1049-
</p>
1049+
<div class="cli-header">
1050+
<div class="cli-dots">
1051+
<div class="dot"></div>
1052+
<div class="dot"></div>
1053+
<div class="dot"></div>
1054+
</div>
1055+
</div>
1056+
<div class="cli-body">
1057+
<img
1058+
src="assets/hero-image.png"
1059+
alt="Kai Hero Image"
1060+
style="width: 100%; height: 100%; object-fit: cover; border-radius: 0"
1061+
/>
10501062
</div>
10511063
</div>
10521064
</header>

0 commit comments

Comments
 (0)