Skip to content

Commit cb9d614

Browse files
committed
Use a proper icon
1 parent dc40c6e commit cb9d614

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

src/app/conf/2025/components/sponsors.tsx

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,7 @@ import IBM from "public/img/conf/Sponsors/IBM.svg?svgr"
77
import Graphweaver from "public/img/conf/Sponsors/Graphweaver.svg?svgr"
88

99
import { clsx } from "clsx"
10-
11-
function TierIcon() {
12-
return (
13-
<svg
14-
width="8"
15-
height="10"
16-
viewBox="0 0 8 10"
17-
fill="none"
18-
xmlns="http://www.w3.org/2000/svg"
19-
className="mr-1 inline-block h-auto w-2 fill-primary"
20-
>
21-
<path d="M7.5 5L6.11959e-07 10L0 0L7.5 5Z" />
22-
</svg>
23-
)
24-
}
10+
import { ChevronRight } from "../pixelarticons/chevron-right"
2511

2612
interface Sponsor {
2713
icon: React.FC<React.SVGProps<SVGElement>>
@@ -86,8 +72,8 @@ export function Sponsors({ heading }: SponsorsProps) {
8672
function Tier({ tier }: { tier: Tier }) {
8773
return (
8874
<div className="flex gap-x-12 gap-y-4 border-t border-neu-200 py-4 dark:border-neu-50 max-md:flex-col">
89-
<h3 className="min-w-[60px] whitespace-nowrap font-mono text-sm font-normal uppercase text-primary">
90-
<TierIcon />
75+
<h3 className="flex min-w-[60px] items-center gap-1 whitespace-nowrap font-mono text-sm/none font-normal uppercase text-primary">
76+
<ChevronRight className="translate-y-[-0.5px]" />
9177
{tier.name}
9278
</h3>
9379
<div
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
export function ChevronRight(props: React.SVGProps<SVGSVGElement>) {
2+
return (
3+
<svg
4+
width="16"
5+
height="16"
6+
viewBox="0 0 16 16"
7+
fill="currentColor"
8+
{...props}
9+
>
10+
<path
11+
fill-rule="evenodd"
12+
clip-rule="evenodd"
13+
d="M6.66666 13.3332H5.33333V2.6665H6.66666V3.99984H7.99999V5.99984H9.33333V7.33317H10.6667V8.6665H9.33333V9.99984H7.99999V11.9998H6.66666V13.3332Z"
14+
/>
15+
</svg>
16+
)
17+
}

0 commit comments

Comments
 (0)