diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index 81032e69..2f830f7d 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -6,7 +6,7 @@ type ButtonProps = Props & { variant: "primary" | "secondary"; }; -export default function Button({ children, variant, ...rest }: ButtonProps) { +export default function Button({ children, variant, className, ...rest }: ButtonProps) { const Tag = "href" in rest ? Link : "button"; return ( {children} diff --git a/src/components/HowToContribute/index.tsx b/src/components/HowToContribute/index.tsx index 7758e0c9..bcf41174 100644 --- a/src/components/HowToContribute/index.tsx +++ b/src/components/HowToContribute/index.tsx @@ -1,5 +1,6 @@ import React from "react"; -import Link, { Props } from "@docusaurus/Link"; +import Link from "@docusaurus/Link"; +import Button from "../Button"; // TODO enter final links once ready export default function HowToContribute() { @@ -9,7 +10,7 @@ export default function HowToContribute() {

How to use and contribute to OpenTofu?

-

+

The best way to show practical support for the OpenTofu initiative is to contribute. This{" "} + );