From 4838df315931bb883f704ec3e1abe2685f296cdf Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sat, 22 Apr 2023 19:52:26 +0800 Subject: 😀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/pages/home-shared/FeaturesBento.tsx | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 docs/components/pages/home-shared/FeaturesBento.tsx (limited to 'docs/components/pages/home-shared/FeaturesBento.tsx') diff --git a/docs/components/pages/home-shared/FeaturesBento.tsx b/docs/components/pages/home-shared/FeaturesBento.tsx new file mode 100644 index 0000000..f2664db --- /dev/null +++ b/docs/components/pages/home-shared/FeaturesBento.tsx @@ -0,0 +1,38 @@ +import type { Features } from "../../../content/features"; +import { FadeIn } from "./FadeIn"; +import { SectionHeader, SectionSubtext } from "./Headings"; +import { FeatureBox } from "./FeatureBox"; + +export function FeaturesBento({ + header, + body, + features, +}: { + header: string; + body: string; + features: Features; +}) { + return ( +
+ + {header} + {body} + +
+ {features.map((feature) => ( + + + + ))} +
+
+ ); +} -- cgit v1.2.3-70-g09d2