diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index cbea4fa2..e00b8622 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -48,16 +48,19 @@ export default function Footer({ links }: FooterProps) { name="github" href="https://github.com/opentffoundation/manifesto" label="Go to the OpenTF's manifesto GitHub repository" + hiddenLabel /> diff --git a/src/components/SocialIconLink/index.tsx b/src/components/SocialIconLink/index.tsx index 8707dc22..9425ed3f 100644 --- a/src/components/SocialIconLink/index.tsx +++ b/src/components/SocialIconLink/index.tsx @@ -1,5 +1,6 @@ import Link from "@docusaurus/Link"; import React from "react"; +import clsx from "clsx"; const iconMap = { twitter: @@ -14,12 +15,14 @@ type SocialIconLinkProps = { name: keyof typeof iconMap; href: string; label: string; + hiddenLabel?: boolean; }; export default function SocialIconLink({ href, name, label, + hiddenLabel = false, }: SocialIconLinkProps) { return ( - + {label}