Skip to content

Commit c2bb8d3

Browse files
committed
ref(onboarding): Use semantic grid area names in ScmFeatureCard
Rename cell1/cell2/cell4 to icon/label/description for readability.
1 parent 1d13edd commit c2bb8d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

static/app/views/onboarding/components/scmFeatureCard.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ export function ScmFeatureCard({
5656
gap="xs lg"
5757
align="center"
5858
areas={`
59-
"cell1 cell2"
60-
". cell4"
59+
"icon label"
60+
". description"
6161
`}
6262
>
63-
<Container area="cell1">
63+
<Container area="icon">
6464
{containerProps => (
6565
<Icon
6666
{...containerProps}
@@ -70,12 +70,12 @@ export function ScmFeatureCard({
7070
)}
7171
</Container>
7272

73-
<Container area="cell2">
73+
<Container area="label">
7474
<Text bold size="lg">
7575
{label}
7676
</Text>
7777
</Container>
78-
<Container area="cell4">
78+
<Container area="description">
7979
<Text variant="muted">{description}</Text>
8080
</Container>
8181
</Grid>

0 commit comments

Comments
 (0)