From 2b6bd93d1ced0dd56b57e74d8e6c14309570d582 Mon Sep 17 00:00:00 2001 From: Damian Stasik <920747+damianstasik@users.noreply.github.com> Date: Mon, 4 Sep 2023 13:45:18 +0200 Subject: [PATCH] Clean up the how to support section --- src/components/HowToSupport/index.tsx | 206 ++++++++++---------------- 1 file changed, 82 insertions(+), 124 deletions(-) diff --git a/src/components/HowToSupport/index.tsx b/src/components/HowToSupport/index.tsx index 74698aa4..56cb496a 100644 --- a/src/components/HowToSupport/index.tsx +++ b/src/components/HowToSupport/index.tsx @@ -1,209 +1,166 @@ +import Link from "@docusaurus/Link"; import React from "react"; -function Step({ icon = null, title }) { +type StepProps = { + icon: React.ReactNode; + children: React.ReactNode; +}; + +function Step({ icon, children }: StepProps) { return (
{children}
Pledging to the OpenTF manifesto can be done by: - +