rusackas commented on code in PR #37536:
URL: https://github.com/apache/superset/pull/37536#discussion_r2739277230


##########
docs/src/pages/community.tsx:
##########
@@ -188,39 +244,42 @@ const Community = () => {
             subtitle="Get involved in our welcoming, fast growing community!"
           />
         </BlurredSection>
-        <StyledJoinCommunity>
-          <List
-            className="list"
-            itemLayout="horizontal"
-            dataSource={communityLinks}
-            renderItem={({ url, title, description, image, ariaLabel }) => (
-              <List.Item className="item">
-                <List.Item.Meta
-                  avatar={
-                    <a
-                      className="title"
-                      href={url}
-                      target="_blank"
-                      rel="noreferrer"
-                      aria-label={ariaLabel}
-                    >
-                      <img className="icon" src={`/img/community/${image}`} />
-                    </a>
-                  }
-                  title={
-                    <a href={url} target="_blank" rel="noreferrer">
-                      <p className="title" style={{ marginBottom: 0 }}>
-                        {title}
-                      </p>
-                    </a>
-                  }
-                  description={<p className="description">{description}</p>}
-                  aria-label="Community link"
-                />
-              </List.Item>
-            )}
-          />
-        </StyledJoinCommunity>
+        <section>
+          <StyledCardGrid>
+            {communityLinks.map(({ url, title, description, image }) => (
+              <a
+                key={title}
+                className="card"
+                href={url}
+                target="_blank"
+                rel="noreferrer"
+              >
+                <img className="icon" src={`/img/community/${image}`} alt="" />
+                <div className="card-body">
+                  <div className="title">{title}</div>
+                  <div className="description">{description}</div>
+                </div>
+              </a>
+            ))}
+          </StyledCardGrid>
+        </section>
+        <BlurredSection>
+          <SectionHeader level="h2" title="Follow Us" />
+          <StyledSocialGrid>
+            {socialLinks.map(({ url, title, image }) => (
+              <a
+                key={title}
+                className="card"
+                href={url}
+                target="_blank"
+                rel="noreferrer"
+              >
+                <img className="icon" src={`/img/community/${image}`} alt="" />

Review Comment:
   Fixed in a67daeb — same fix applied to both image elements.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to