fix typo+
Kim committed
Mar 23, 2026 at 13:41 UTC
e9f7b703cd3839edb94999cb8d34c9550296e6a4
2 files changed
+16
-19
frontend/src/components/LandingHero.tsx
+15
@@ -454,6 +454,21 @@ export function LandingHero() {
454
boxShadow: "0 30px 72px var(--hero-terminal-shadow)",
455
}}
456
>
457
+ <div className="mb-5 flex min-w-0 items-center gap-3">
458
+ <span
459
+ aria-hidden="true"
460
+ className="shrink-0 font-mono text-lg leading-none"
461
+ style={{ color: "var(--hero-terminal-accent)" }}
462
+ >
463
+ {">"}
464
+ </span>
465
+ <h3
466
+ id="tunnel-preview"
467
+ className="min-w-0 text-xl font-bold tracking-tight sm:text-2xl"
468
+ >
469
+ Run this command
470
+ </h3>
471
+ </div>
472
<TunnelCommandForm theme="terminal" mode="hero" />
473
</div>
474
</div>
frontend/src/components/TunnelCommandForm.tsx
+1
-19
@@ -259,10 +259,6 @@ function HeroTunnelCommandForm({
259
"text-[13px] font-semibold tracking-[0.04em] sm:text-sm",
260
isTerminal ? "text-slate-100" : "text-foreground/85"
261
);
262
- const heroCommandTitleClass = cn(
263
- "min-w-0 text-[15px] font-bold tracking-tight sm:text-base",
264
- isTerminal ? "text-slate-50" : "text-foreground"
265
- );
262
const heroURLClass = cn(
263
"block overflow-x-auto whitespace-nowrap font-mono text-[15px] font-medium sm:text-base",
264
isTerminal ? "text-sky-300" : "text-primary"
@@ -329,21 +325,7 @@ function HeroTunnelCommandForm({
325
326
<div className="space-y-3">
327
<div className="flex flex-wrap items-center justify-between gap-3">
332
- <div className="flex min-w-0 items-center gap-3">
333
- <span
334
- aria-hidden="true"
335
- className={cn(
336
- "shrink-0 font-mono text-lg leading-none",
337
- !isTerminal && "text-primary"
338
- )}
339
- style={isTerminal ? { color: "var(--hero-terminal-accent)" } : undefined}
340
- >
341
- {">"}
342
- </span>
343
- <h3 id="tunnel-preview" className={heroCommandTitleClass}>
344
- 2. Run this command
345
- </h3>
346
- </div>
328
+ <p className={heroSectionLabelClass}>2. Run this command</p>
329
<div className={platformButtonGroupClass}>
330
<button
331
type="button"