Skip to content

Commit 203ae19

Browse files
committed
Fix screenshot transparency and drop duplicate window chrome
Key the exterior black matte to alpha, ship an RGBA PNG, and show the shot bare on the landing page with a soft drop-shadow only.
1 parent f961004 commit 203ae19

8 files changed

Lines changed: 23 additions & 120 deletions

File tree

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
paths:
77
- "site/**"
88
- "docs/logo.png"
9-
- "docs/screenshot.jpg"
9+
- "docs/screenshot.png"
1010
- ".github/workflows/pages.yml"
1111
workflow_dispatch:
1212

@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
mkdir -p _site/assets
3535
cp -R site/. _site/
36-
cp docs/logo.png docs/screenshot.jpg _site/assets/
36+
cp docs/logo.png docs/screenshot.png _site/assets/
3737
3838
- name: Configure GitHub Pages
3939
uses: actions/configure-pages@v5

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Run multiple [Grok Build](https://x.ai/cli) tasks side by side, follow every tas
2828
## Screenshot
2929

3030
<p align="center">
31-
<img src="docs/screenshot.jpg" alt="PinkCode — parallel tasks, live Timeline, usage, workspace" width="100%" />
31+
<img src="docs/screenshot.png" alt="PinkCode — parallel tasks, live Timeline, usage, workspace" width="100%" />
3232
</p>
3333

3434
## Features

docs/screenshot.jpg

-111 KB
Binary file not shown.

docs/screenshot.png

537 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
".nvmrc",
2424
"contracts",
2525
"docs/logo.png",
26-
"docs/screenshot.jpg",
26+
"docs/screenshot.png",
2727
"index.html",
2828
"public",
2929
"scripts",

site/index.html

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,14 @@ <h1>
8989
</section>
9090

9191
<section class="product-showcase" aria-label="PinkCode product screenshot">
92-
<div class="product-frame">
93-
<div class="frame-bar">
94-
<div class="traffic-lights" aria-hidden="true">
95-
<span></span><span></span><span></span>
96-
</div>
97-
<div class="frame-title">PinkCode · mission control</div>
98-
<div class="frame-state"><span></span> live</div>
99-
</div>
100-
<img
101-
src="./assets/screenshot.jpg"
102-
alt="PinkCode showing parallel tasks, filtered live timeline, usage meter, and workspace files"
103-
width="1600"
104-
height="1013"
105-
loading="eager"
106-
/>
107-
</div>
92+
<img
93+
class="product-shot"
94+
src="./assets/screenshot.png"
95+
alt="PinkCode showing parallel tasks, filtered live timeline, usage meter, and workspace files"
96+
width="1400"
97+
height="847"
98+
loading="eager"
99+
/>
108100
</section>
109101

110102
<section class="signal-strip" aria-label="Product highlights">
@@ -211,7 +203,7 @@ <h3>Workspace &amp; Git</h3>
211203
<div class="file-stack" aria-hidden="true">
212204
<span>src/styles/agent.css</span><span class="delta">M</span>
213205
<span>src/styles/overlays.css</span><span class="delta">M</span>
214-
<span>docs/screenshot.jpg</span><span class="delta plus">A</span>
206+
<span>docs/screenshot.png</span><span class="delta plus">A</span>
215207
</div>
216208
</article>
217209

site/og.png

-69.6 KB
Loading

site/styles.css

Lines changed: 10 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -404,95 +404,20 @@ h1 {
404404
border-color: var(--iris);
405405
}
406406

407-
/* ── Product frame ────────────────────────────────────────────── */
407+
/* ── Product shot (window chrome is in the PNG) ───────────────── */
408408

409409
.product-showcase {
410410
position: relative;
411-
margin-bottom: 0;
412-
}
413-
414-
.product-frame {
415-
position: relative;
416-
overflow: hidden;
417-
border: 1px solid rgba(206, 202, 205, 0.85);
418-
border-radius: calc(var(--radius) + 4px);
419-
background: var(--surface-solid);
420-
box-shadow: var(--shadow-frame);
421-
}
422-
423-
.product-frame::before {
424-
content: "";
425-
position: absolute;
426-
z-index: 1;
427-
top: 0;
428-
right: 10%;
429-
left: 10%;
430-
height: 1px;
431-
background: linear-gradient(
432-
90deg,
433-
transparent,
434-
rgba(215, 130, 126, 0.55),
435-
rgba(144, 122, 169, 0.45),
436-
transparent
437-
);
438-
}
439-
440-
.frame-bar {
441-
display: grid;
442-
grid-template-columns: 1fr auto 1fr;
443-
align-items: center;
444-
height: 40px;
445-
padding: 0 14px;
446-
border-bottom: 1px solid var(--line);
447-
background: linear-gradient(180deg, #fffaf3, #faf4ed);
448-
color: var(--rp-muted);
449-
font-family: var(--mono);
450-
font-size: 10px;
451-
letter-spacing: 0.02em;
452-
}
453-
454-
.traffic-lights {
455-
display: flex;
456-
gap: 6px;
457-
}
458-
459-
.traffic-lights span {
460-
width: 9px;
461-
height: 9px;
462-
border-radius: 50%;
463-
background: #dfdad9;
464-
}
465-
466-
.traffic-lights span:nth-child(1) {
467-
background: #eb6f92;
468-
}
469-
.traffic-lights span:nth-child(2) {
470-
background: #f6c177;
471-
}
472-
.traffic-lights span:nth-child(3) {
473-
background: #9ccfd8;
474-
}
475-
476-
.frame-state {
477-
justify-self: end;
478-
display: inline-flex;
479-
align-items: center;
480-
gap: 6px;
481-
color: var(--foam);
482-
font-weight: 500;
483-
}
484-
485-
.frame-state span {
486-
width: 6px;
487-
height: 6px;
488-
border-radius: 50%;
489-
background: var(--foam);
490-
box-shadow: 0 0 8px rgba(86, 148, 159, 0.6);
411+
margin: 0 auto;
412+
max-width: 100%;
491413
}
492414

493-
.product-frame > img {
415+
.product-shot {
494416
width: 100%;
495417
height: auto;
418+
/* Soft lift only — no second fake titlebar / traffic lights */
419+
filter: drop-shadow(0 28px 50px rgba(87, 82, 121, 0.18))
420+
drop-shadow(0 8px 18px rgba(180, 99, 122, 0.1));
496421
}
497422

498423
/* ── Signal strip ─────────────────────────────────────────────── */
@@ -1112,23 +1037,9 @@ footer > div:last-child {
11121037
width: 100%;
11131038
}
11141039

1115-
.frame-title,
1116-
.frame-state {
1117-
display: none;
1118-
}
1119-
1120-
.frame-bar {
1121-
grid-template-columns: 1fr;
1122-
}
1123-
1124-
.product-frame {
1125-
border-radius: 14px;
1126-
}
1127-
1128-
.product-frame > img {
1129-
width: 168%;
1130-
max-width: none;
1131-
transform: translateX(-22%);
1040+
.product-shot {
1041+
/* Keep full window visible; slight scale not needed with real chrome */
1042+
width: 100%;
11321043
}
11331044

11341045
.signal-strip {

0 commit comments

Comments
 (0)