Skip to content

Commit a322fb4

Browse files
committed
refactor: use lucide, className stroke widths
1 parent 1deb089 commit a322fb4

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

app/[locale]/enterprise/page.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,7 @@ const Page = async ({ params }: { params: { locale: Lang } }) => {
469469
<Check
470470
strokeLinecap="square"
471471
strokeLinejoin="miter"
472-
strokeWidth={5}
473-
size={14}
474-
className="-mb-0.5"
472+
className="-mb-0.5 size-3.5 stroke-[5]"
475473
/>
476474
</div>
477475
<h3 className="h-fit text-lg font-bold">{header}</h3>

src/components/Homepage/ValuesMarquee/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ const ValuesMarquee = ({
196196
direction={direction}
197197
>
198198
<Check
199-
className="me-1 size-[1em] text-success group-hover/item:text-white"
200-
strokeWidth={4.5}
199+
className="me-1 size-[1em] stroke-[4.5] text-success group-hover/item:text-white"
201200
strokeLinecap="square"
202201
strokeLinejoin="miter"
203202
/>

src/components/ProductTable/PresetFilters.tsx

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { Check } from "lucide-react"
2+
13
import type { TPresetFilters } from "@/lib/types"
24

35
import { cn } from "@/lib/utils/cn"
@@ -77,18 +79,7 @@ const PresetFilters = ({
7779
)}
7880
>
7981
{activePresets.includes(idx) && (
80-
<svg
81-
xmlns="http://www.w3.org/2000/svg"
82-
viewBox="0 0 24 24"
83-
fill="none"
84-
stroke="currentColor"
85-
strokeWidth="3"
86-
strokeLinecap="round"
87-
strokeLinejoin="round"
88-
className="h-4 w-4 text-background"
89-
>
90-
<polyline points="20 6 9 17 4 12"></polyline>
91-
</svg>
82+
<Check className="size-4 stroke-[3] text-background" />
9283
)}
9384
</div>
9485
<h3

0 commit comments

Comments
 (0)