Skip to content

Commit 6e3f599

Browse files
committed
Marketing: mark Trace every call as coming soon
Remove the run-trace mockup, grey out the card, and add a Coming soon badge.
1 parent 9597b0b commit 6e3f599

2 files changed

Lines changed: 23 additions & 33 deletions

File tree

apps/marketing/src/pages/index.astro

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -257,49 +257,20 @@ Source (and the place to start if something breaks): https://github.com/RhysSull
257257
</p>
258258
</div>
259259

260-
{/* Trace every call */}
261-
<div class="cap-card">
260+
{/* Trace every call (coming soon) */}
261+
<div class="cap-card cap-card--soon">
262+
<span class="cap-soon-badge">Coming soon</span>
262263
<span class="cap-icon"
263264
><svg viewBox="0 0 24 24" fill="none" stroke="currentColor"
264265
stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"
265266
><path d="M3 12h4l3 8 4-16 3 8h4"></path></svg
266267
></span
267268
>
268269
<h3>Trace every call</h3>
269-
<p class="mb-1">
270+
<p>
270271
One place to see every run and tool call. Audit any
271272
decision after the fact.
272273
</p>
273-
<div class="cap-visual trace">
274-
<div class="trace-row is-root">
275-
<span class="lbl">run_7421</span>
276-
<span class="track"
277-
><span class="bar" style="left:0%;width:100%"></span></span
278-
>
279-
<span class="dur">1.42s</span>
280-
</div>
281-
<div class="trace-row">
282-
<span class="lbl">sentry.getIssue</span>
283-
<span class="track"
284-
><span class="bar" style="left:0%;width:18%"></span></span
285-
>
286-
<span class="dur">184ms</span>
287-
</div>
288-
<div class="trace-row">
289-
<span class="lbl">github.searchCode</span>
290-
<span class="track"
291-
><span class="bar" style="left:18%;width:34%"></span></span
292-
>
293-
<span class="dur">391ms</span>
294-
</div>
295-
<div class="trace-row">
296-
<span class="lbl">linear.createIssue</span>
297-
<span class="track"
298-
><span class="bar" style="left:52%;width:48%"></span></span
299-
>
300-
<span class="dur">612ms</span>
301-
</div>
302-
</div>
303274
</div>
304275

305276
{/* Teams */}

apps/marketing/src/styles/global.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,13 +670,32 @@ body {
670670
}
671671
}
672672
.cap-card {
673+
position: relative;
673674
display: flex;
674675
flex-direction: column;
675676
gap: 0.6rem;
676677
padding: 1.6rem 1.5rem 1.7rem;
677678
background: white;
678679
transition: background 0.15s ease;
679680
}
681+
/* Coming-soon card: greyed out, with a corner badge that stays legible. */
682+
.cap-card--soon > :not(.cap-soon-badge) {
683+
opacity: 0.45;
684+
}
685+
.cap-soon-badge {
686+
position: absolute;
687+
top: 1.45rem;
688+
right: 1.4rem;
689+
font-family: var(--font-mono);
690+
font-size: 10px;
691+
text-transform: uppercase;
692+
letter-spacing: 0.1em;
693+
color: var(--color-ink-3);
694+
background: var(--color-surface-2);
695+
border: 1px solid var(--color-rule);
696+
border-radius: 999px;
697+
padding: 3px 9px;
698+
}
680699
.cap-card:hover {
681700
background: var(--color-surface);
682701
}

0 commit comments

Comments
 (0)