Skip to content

Commit 18b5d86

Browse files
committed
Tweak styles
1 parent 9f0dc99 commit 18b5d86

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/components/index-page/five-pillars.tsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,20 @@ export function FivePillars() {
4848
</h2>
4949

5050
<div className="gql-radial-gradient gap-px">
51-
{pillars.map((pillar, index) => (
52-
<div key={pillar.title}>
51+
{pillars.map(({ title, icon: Icon, description }, index) => (
52+
<div key={title}>
5353
<div className="flex flex-col items-center gap-2 bg-neu-0 py-6 max-lg:text-center lg:flex-row lg:items-center lg:gap-8 lg:py-8">
5454
<div className="flex items-center max-lg:flex-col lg:w-[520px] lg:shrink-0">
5555
<div className="p-6">
56-
<pillar.icon className="size-6 text-pri-base" />
56+
<Icon className="size-6 text-pri-base" />
5757
</div>
5858
<h3 className="typography-h3 lg:flex lg:h-[86px] lg:flex-1 lg:items-center lg:p-4">
59-
{pillar.title}
59+
{title}
6060
</h3>
6161
</div>
62-
<div className="lg:flex-1">
63-
<p className="typography-body-lg mt-6 lg:mt-0">
64-
{pillar.description}
65-
</p>
66-
</div>
62+
<p className="typography-body-lg mt-6 lg:mt-0 lg:flex-1">
63+
{description}
64+
</p>
6765
</div>
6866
{index < pillars.length - 1 && <Separator />}
6967
</div>

0 commit comments

Comments
 (0)