SLSJL commented on code in PR #165:
URL: https://github.com/apache/eventmesh-site/pull/165#discussion_r1436231819
##########
src/theme/Footer/index.tsx:
##########
@@ -78,37 +77,41 @@ function Footer(): JSX.Element | null {
<div className="container">
{links && links.length > 0 && (
<div className="row footer__links">
- {links.map((linkItem, i) => (
- <div key={i} className="col footer__col">
- {linkItem.title != null ? (
- <div className="footer__title">{linkItem.title}</div>
- ) : null}
- {linkItem.items != null
- && Array.isArray(linkItem.items)
- && linkItem.items.length > 0 ? (
- <ul className="footer__items">
- {linkItem.items.map((item, key) => (item.html ? (
- <li
- key={key}
- className="footer__item"
- // Developer provided the HTML, so assume it's safe.
- // eslint-disable-next-line react/no-danger
- dangerouslySetInnerHTML={{
- __html: item.html,
- }}
- />
- ) : (
- <li key={item.href || item.to} className="footer__item">
- <FooterLink {...item} />
- </li>
- )))}
- </ul>
+ <div className="col footer__col">
+ <img src='https://doris.apache.org/images/asf_logo_apache.svg' />
Review Comment:
Good spot, thanks.
--
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]