diff --git a/src/app/about/SectionStatistic.tsx b/src/app/about/SectionStatistic.tsx new file mode 100644 index 0000000..bd61cc7 --- /dev/null +++ b/src/app/about/SectionStatistic.tsx @@ -0,0 +1,62 @@ +import React, { FC } from "react"; +import Heading from "@/shared/Heading"; + +export interface Statistic { + id: string; + heading: string; + subHeading: string; +} + +const FOUNDER_DEMO: Statistic[] = [ + { + id: "1", + heading: "10 million", + subHeading: + "Articles have been public around the world (as of Sept. 30, 2021)", + }, + { + id: "2", + heading: "100,000", + subHeading: "Registered users account (as of Sept. 30, 2021)", + }, + { + id: "3", + heading: "220+", + subHeading: + "Countries and regions have our presence (as of Sept. 30, 2021)", + }, +]; + +export interface SectionStatisticProps { + className?: string; +} + +const SectionStatistic: FC = ({ className = "" }) => { + return ( +
+ + 🚀 Fast Facts + +
+ {FOUNDER_DEMO.map((item) => ( +
+

+ {item.heading} +

+ + {item.subHeading} + +
+ ))} +
+
+ ); +}; + +export default SectionStatistic;