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 (
{icon} -

{title}

+

{children}

); } export default function HowToSupport() { return ( -
+
-

+

How to support OpenTF in pledging?

-
+

Pledging to the OpenTF manifesto can be done by: -

+

- - - - - - + + + - + } - title="1. Going to the manifesto repository." - /> + > + 1. Going to the{" "} + + manifesto repository + + . + + - - - - + } - title="2. Forking the repository." - /> + > + 2. Forking the repository. + + } - title="3. Add your pledge in the index.html file." - /> + > + 3. Adding your pledge in the index.html file. + } - title="4. Push the changes to your forked repo, and create a PR." - /> + > + 4. Pushing the changes to your forked repo, and create a PR. + - - - - - - - - - - + + + } - title="5. Star the repository." - /> + > + 5. Starring the repository. + + } - title="6. Join our Slack community & Follow us on Twitter." - /> + > + 6. Joining our Slack community & Follow us on Twitter. +