From fd80f7ad25674959b821f55691f5578ab1538002 Mon Sep 17 00:00:00 2001
From: Christine Belzie <105683440+CBID2@users.noreply.github.com>
Date: Sat, 13 Jan 2024 05:20:50 -0500
Subject: [PATCH] feat: adding missing alt text (#465)
* feat: add alt text variable
---
src/components/MDXComponents/DocHome.tsx | 161 ++++++++++++-----------
1 file changed, 82 insertions(+), 79 deletions(-)
diff --git a/src/components/MDXComponents/DocHome.tsx b/src/components/MDXComponents/DocHome.tsx
index 88b7f19f9..c82b62768 100644
--- a/src/components/MDXComponents/DocHome.tsx
+++ b/src/components/MDXComponents/DocHome.tsx
@@ -139,97 +139,99 @@ export function DocHomeContainer(props: {
{children}
- {!archive && (
- {!archive && (
- <>
-
-
-
-
- {headingsMemo.map((i) => (
-
-
+ {!archive && (
+ <>
+
+
+
+
+ {headingsMemo.map((i) => (
+
- {i.label}
-
-
- ))}
-
- >
- )}
- {/*
+
+ {i.label}
+
+
+ ))}
+
+ >
+ )}
+ {/* */}
-
)}
+
+ )}
>
);
@@ -370,6 +372,7 @@ export function DocHomeCard(props: any) {
component="img"
id="card-content-img"
src={require(`../../../images/docHome/${icon}.svg`)?.default}
+ alt={label}
sx={{
height: "3rem",
width: "3rem",