We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16107fb + 9c47798 commit 8a41fe4Copy full SHA for 8a41fe4
1 file changed
src/components/Pillar/Pillar.tsx
@@ -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
18
+ </div>
19
+ );
20
+}
0 commit comments