This is an automated email from the ASF dual-hosted git repository. mikexue pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh-site.git
commit 037e021465f98fe0696f5c41b6d380c7a326e66a Author: Xiaoyang Liu <[email protected]> AuthorDate: Tue Jul 20 21:14:49 2021 +0800 Add 'Incubating' tag Signed-off-by: Xiaoyang Liu <[email protected]> --- README.md | 2 +- docusaurus.config.js | 2 +- sidebars.js | 4 +++- src/components/Hero.module.css | 4 ++++ src/components/Hero.tsx | 5 ++++- src/components/Incubation.tsx | 13 +++++++------ src/pages/index.tsx | 27 +++++++++++---------------- 7 files changed, 31 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index e1f3f43..a5378ca 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# Apache EventMesh Site +# Apache EventMesh (Incubating) Site diff --git a/docusaurus.config.js b/docusaurus.config.js index 276830b..713c21c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -21,7 +21,7 @@ module.exports = { ], themeConfig: { navbar: { - title: 'Apache EventMesh', + title: 'Apache EventMesh (Incubating)', logo: { alt: 'Apache EventMesh Logo', src: 'img/logo.png', diff --git a/sidebars.js b/sidebars.js index 981a73c..048d8fb 100644 --- a/sidebars.js +++ b/sidebars.js @@ -11,7 +11,9 @@ module.exports = { // By default, Docusaurus generates a sidebar from the docs folder structure - tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], + tutorialSidebar: [{ + type: 'autogenerated', dirName: '.', + }], // But you can create a sidebar manually /* diff --git a/src/components/Hero.module.css b/src/components/Hero.module.css index ebe9d70..0b83748 100644 --- a/src/components/Hero.module.css +++ b/src/components/Hero.module.css @@ -3,6 +3,10 @@ } .subtitle { + font-size: 2rem; +} + +.description { font-size: 1.2rem; opacity: 0.6; } diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index 4297425..981deb7 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -15,8 +15,11 @@ const Hero = (): JSX.Element => { <h1 className={styles.title}> {siteConfig.title} </h1> + <h2 className={styles.subtitle}> + Incubating + </h2> - <p className={styles.subtitle}> + <p className={styles.description}> {siteConfig.tagline} </p> diff --git a/src/components/Incubation.tsx b/src/components/Incubation.tsx index cd42511..3a21dd0 100644 --- a/src/components/Incubation.tsx +++ b/src/components/Incubation.tsx @@ -13,12 +13,13 @@ const Incubation = (): JSX.Element => ( <p className={styles.subtitle} > - 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. + Apache EventMesh (Incubating) is an effort undergoing incubation at The Apache Software + Foundation, 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. </p> </div> ); diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 5e99a26..03cfb08 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,24 +1,19 @@ import React from 'react'; import Layout from '@theme/Layout'; -import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import Hero from '../components/Hero'; import Features from '../components/Features'; import Incubation from '../components/Incubation'; -const Home = (): JSX.Element => { - const { siteConfig } = useDocusaurusContext(); - return ( - <Layout - title={`Hello from ${siteConfig.title}`} - description="Description will go into a meta tag in <head />" - > - <Hero /> - <main> - <Features /> - <Incubation /> - </main> - </Layout> - ); -}; +const Home = (): JSX.Element => ( + <Layout + description="Apache EventMesh (Incubating)" + > + <Hero /> + <main> + <Features /> + <Incubation /> + </main> + </Layout> +); export default Home; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
