Skip to content

Commit 0c51de3

Browse files
committed
fix: align QA use case row icons with Figma
1 parent 7f68ece commit 0c51de3

2 files changed

Lines changed: 42 additions & 5 deletions

File tree

landing/src/components/pixel-icon.tsx

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type { ComponentType, SVGProps } from "react";
22
import { AiScan } from "pixelarticons/react/AiScan";
33
import { Analytics } from "pixelarticons/react/Analytics";
4-
import { AppWindows } from "pixelarticons/react/AppWindows";
54
import { ArrowRight } from "pixelarticons/react/ArrowRight";
65
import { Bookmark } from "pixelarticons/react/Bookmark";
76
import { Blocks } from "pixelarticons/react/Blocks";
@@ -11,11 +10,11 @@ import { Check } from "pixelarticons/react/Check";
1110
import { Clock } from "pixelarticons/react/Clock";
1211
import { Cloud } from "pixelarticons/react/Cloud";
1312
import { Coins } from "pixelarticons/react/Coins";
13+
import { CommentSharp } from "pixelarticons/react/CommentSharp";
1414
import { CommentText } from "pixelarticons/react/CommentText";
1515
import { Copy } from "pixelarticons/react/Copy";
1616
import { CursorMinimal } from "pixelarticons/react/CursorMinimal";
1717
import { Download } from "pixelarticons/react/Download";
18-
import { GitPullRequest } from "pixelarticons/react/GitPullRequest";
1918
import { Hand } from "pixelarticons/react/Hand";
2019
import { HumanArmsDown } from "pixelarticons/react/HumanArmsDown";
2120
import { Image } from "pixelarticons/react/Image";
@@ -44,6 +43,7 @@ export type PixelIconName =
4443
| "cloud"
4544
| "coins"
4645
| "comment"
46+
| "comment-sharp"
4747
| "copy"
4848
| "cursor"
4949
| "device"
@@ -68,6 +68,42 @@ export type PixelIconName =
6868

6969
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>;
7070

71+
function FigmaDevicesIcon({ children, ...props }: SVGProps<SVGSVGElement>) {
72+
return (
73+
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
74+
{children}
75+
<path
76+
d="M3.33301 3.33301V11.667H10V6.66699H13.333V3.33301H3.33301ZM11.667 16.667H16.667V8.33301H11.667V16.667ZM15 15H13.333V13.333H15V15ZM8.33301 10H5V8.33301H8.33301V10ZM8.33301 6.66699H5V5H8.33301V6.66699ZM15 6.66699H18.333V18.333H10V13.333H1.66699V1.66699H15V6.66699Z"
77+
fill="currentColor"
78+
/>
79+
</svg>
80+
);
81+
}
82+
83+
function FigmaGithubIcon({ children, ...props }: SVGProps<SVGSVGElement>) {
84+
return (
85+
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
86+
{children}
87+
<path d="M4.16667 1.66699H7.5V3.33366H5.83334V5.00033H4.16667V1.66699Z" fill="currentColor" />
88+
<path d="M4.16667 10.0003H2.5V5.00033H4.16667V10.0003Z" fill="currentColor" />
89+
<path d="M5.83334 11.667H4.16667V10.0003H5.83334V11.667Z" fill="currentColor" />
90+
<path
91+
fillRule="evenodd"
92+
clipRule="evenodd"
93+
d="M7.5 13.3337V11.667H5.83334V13.3337H2.5V11.667H0.833336V13.3337H2.5V15.0003H5.83334V18.3337H7.5V15.0003H9.16667V13.3337H7.5ZM7.5 13.3337V15.0003H5.83334V13.3337H7.5Z"
94+
fill="currentColor"
95+
/>
96+
<path d="M12.5 3.33366V5.00033H7.5V3.33366H12.5Z" fill="currentColor" />
97+
<path d="M15.8333 5.00033H14.1667V3.33366H12.5V1.66699H15.8333V5.00033Z" fill="currentColor" />
98+
<path d="M15.8333 10.0003V5.00033H17.5V10.0003H15.8333Z" fill="currentColor" />
99+
<path d="M14.1667 11.667V10.0003H15.8333V11.667H14.1667Z" fill="currentColor" />
100+
<path d="M12.5 13.3337V11.667H14.1667V13.3337H12.5Z" fill="currentColor" />
101+
<path d="M12.5 15.0003H10.8333V13.3337H12.5V15.0003Z" fill="currentColor" />
102+
<path d="M12.5 15.0003H14.1667V18.3337H12.5V15.0003Z" fill="currentColor" />
103+
</svg>
104+
);
105+
}
106+
71107
const iconComponents: Record<PixelIconName, IconComponent> = {
72108
accessibility: HumanArmsDown,
73109
"arrow-right": ArrowRight,
@@ -79,13 +115,14 @@ const iconComponents: Record<PixelIconName, IconComponent> = {
79115
cloud: Cloud,
80116
coins: Coins,
81117
comment: CommentText,
118+
"comment-sharp": CommentSharp,
82119
copy: Copy,
83120
cursor: CursorMinimal,
84121
device: Smartphone,
85-
devices: AppWindows,
122+
devices: FigmaDevicesIcon,
86123
download: Download,
87124
gauge: Analytics,
88-
github: GitPullRequest,
125+
github: FigmaGithubIcon,
89126
hand: Hand,
90127
handshake: Users,
91128
list: Bulletlist,

landing/src/content/home.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const homeUseCases: HomeUseCase[] = [
5959
body: "An agent picks up a pull request, checks out the branch, builds the app, installs it, and walks the affected flow. Screenshots, accessibility-tree snapshots, and a written summary post back to the PR. The reviewer sees the work, not the run.",
6060
rows: [
6161
{
62-
icon: "comment",
62+
icon: "comment-sharp",
6363
text: "One PR comment per run, with before-and-after evidence",
6464
},
6565
{

0 commit comments

Comments
 (0)