diff --git a/docusaurus.config.js b/docusaurus.config.js index 1d3b8d4d74..ff77e1454a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -168,9 +168,8 @@ module.exports = { ], copyright: ` Copyright © ${new Date().getFullYear()} The Apache Software Foundation. - Apache EventMesh, Apache Incubator, EventMesh, Apache, the Apache feather logo, - the Apache EventMesh logo and the Apache Incubator project logo - are trademarks of The Apache Software Foundation. + Apache EventMesh, EventMesh, Apache, the Apache feather logo, + and the Apache EventMesh logo are trademarks of The Apache Software Foundation. `, }, docs: { diff --git a/src/components/Incubation.module.css b/src/components/Incubation.module.css deleted file mode 100644 index e8227aa21a..0000000000 --- a/src/components/Incubation.module.css +++ /dev/null @@ -1,5 +0,0 @@ -.subtitle { - opacity: 0.6; - margin-top: 1rem; - margin-bottom: 2rem; -} diff --git a/src/components/Incubation.tsx b/src/components/Incubation.tsx deleted file mode 100644 index 53dfeb79f9..0000000000 --- a/src/components/Incubation.tsx +++ /dev/null @@ -1,22 +0,0 @@ -/* eslint-disable max-len */ -import React from 'react'; -import styles from './Incubation.module.css'; -import IncubatorLogo from '../../static/images/incubator-logo.png'; - -const Incubation = (): JSX.Element => ( -
- Apache Incubator Logo - -

- Apache EventMesh is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. -

-
-); - -export default Incubation; diff --git a/src/theme/Footer/index.tsx b/src/theme/Footer/index.tsx index 4a7067fc46..405e235c3d 100644 --- a/src/theme/Footer/index.tsx +++ b/src/theme/Footer/index.tsx @@ -14,7 +14,6 @@ import useBaseUrl from '@docusaurus/useBaseUrl'; import isInternalUrl from '@docusaurus/isInternalUrl'; import ThemedImage, { Props as ThemedImageProps } from '@theme/ThemedImage'; import styles from './styles.module.css'; -import Incubation from '../../components/Incubation'; function FooterLink({ to, @@ -78,37 +77,41 @@ function Footer(): JSX.Element | null {
{links && links.length > 0 && (
- {links.map((linkItem, i) => ( -
- {linkItem.title != null ? ( -
{linkItem.title}
- ) : null} - {linkItem.items != null - && Array.isArray(linkItem.items) - && linkItem.items.length > 0 ? ( -
    - {linkItem.items.map((item, key) => (item.html ? ( -
  • - ) : ( -
  • - -
  • - )))} -
+
+ +
+ {[{logoSrc: ''},...links].map((linkItem, i) => { + return ( +
+ {linkItem.title != null ? ( +
{linkItem.title}
) : null} -
- ))} + {linkItem.items != null + && Array.isArray(linkItem.items) + && linkItem.items.length > 0 ? ( +
    + {linkItem.items.map((item, key) => (item.html ? ( +
  • + ) : ( +
  • + +
  • + )))} +
+ ) : null} +
+ ) + })}
)} - {(logo || copyright) && (
{logo && (logo.src || logo.srcDark) && (