Skip to content

Commit 8a41fe4

Browse files
authored
Merge pull request #101 from AJ-Kulundu/pillar-item
2 parents 16107fb + 9c47798 commit 8a41fe4

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

src/components/Pillar/Pillar.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import React from 'react';
2+
3+
export default function Pillar({
4+
count,
5+
label,
6+
}: {
7+
count: string;
8+
label: string;
9+
}) {
10+
return (
11+
<div className="flex max-w-xs md:max-w-sm min-w-[50%] md:min-w-[30%] space-x-4 p-4 border rounded-lg items-center bg-white md:bg-[#09AFC6]">
12+
<p className="text-2xl md:text-4xl font-extrabold md:text-white tracking-wide">
13+
{count}
14+
</p>
15+
<p className=" truncate text-md md:text-xl capitalize md:text-white tracking-wide">
16+
{label}
17+
</p>
18+
</div>
19+
);
20+
}

0 commit comments

Comments
 (0)