Skip to content

Commit 5017e19

Browse files
committed
fix: Check icon details
convert checkmark.svg usage to Lucide Check; rm .svg
1 parent ad6e9f5 commit 5017e19

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

app/[locale]/enterprise/page.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
import { Check } from "lucide-react"
12
import dynamic from "next/dynamic"
23
import { getTranslations } from "next-intl/server"
34

45
import type { Lang, StatsBoxMetric } from "@/lib/types"
56

67
import ActivityStats from "@/components/ActivityStats"
78
import { HubHero } from "@/components/Hero"
8-
import Checkmark from "@/components/icons/checkmark.svg"
99
import Adidas from "@/components/icons/enterprise/adidas.svg"
1010
import Azure from "@/components/icons/enterprise/azure.svg"
1111
import BancoSantander from "@/components/icons/enterprise/banco-santander.svg"
@@ -465,7 +465,15 @@ const Page = async ({ params }: { params: { locale: Lang } }) => {
465465
key={header}
466466
className="grid h-fit grid-cols-[auto,1fr] gap-x-3"
467467
>
468-
<Checkmark className="text-2xl text-success" />
468+
<div className="grid size-6 place-items-center rounded-full bg-success/25 text-2xl text-success">
469+
<Check
470+
strokeLinecap="square"
471+
strokeLinejoin="miter"
472+
strokeWidth={5}
473+
size={14}
474+
className="-mb-0.5"
475+
/>
476+
</div>
469477
<h3 className="h-fit text-lg font-bold">{header}</h3>
470478
<p className="col-start-2 text-body-medium">{content}</p>
471479
</div>

src/components/Homepage/ValuesMarquee/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,12 @@ const ValuesMarquee = ({
195195
eventCategory={eventCategory}
196196
direction={direction}
197197
>
198-
<Check className="me-1 text-success group-hover/item:text-white" />
198+
<Check
199+
className="me-1 size-[1em] text-success group-hover/item:text-white"
200+
strokeWidth={4.5}
201+
strokeLinecap="square"
202+
strokeLinejoin="miter"
203+
/>
199204
{pairing.ethereum.label}
200205
</Item>
201206
))}

src/components/icons/checkmark.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)