Skip to content

Commit

Permalink
chore: update website to align with CNCF website guidelines (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffforest authored Oct 10, 2024
1 parent f281214 commit 5fe5ec4
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 13 deletions.
16 changes: 8 additions & 8 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,14 +330,14 @@ const config = {
],
},
],
logo: {
alt: "AntGroup Open Source Logo",
src: "img/oss_logo.svg",
width: 160,
height: 51,
href: "https://opensource.antgroup.com/",
},
copyright: `Copyright © ${new Date().getFullYear()} KusionStack Authors`,
// logo: {
// alt: "AntGroup Open Source Logo",
// src: "img/oss_logo.svg",
// width: 160,
// height: 51,
// href: "https://opensource.antgroup.com/",
// },
copyright: `Copyright © ${new Date().getFullYear()} KusionStack Authors. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage/"> Trademark Usage</a> page.`,
},
prism: {
theme: lightCodeTheme,
Expand Down
2 changes: 1 addition & 1 deletion i18n/en/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"description": "The label of footer link with label=KCL linking to https://kcl-lang.io"
},
"copyright": {
"message": "Copyright © 2024 KusionStack Authors",
"message": "Copyright © 2024 KusionStack Authors. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href=\"https://www.linuxfoundation.org/trademark-usage/\"> Trademark Usage</a> page.",
"description": "The footer copyright"
},
"logo.alt": {
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"description": "The label of footer link with label=KCL linking to https://kcl-lang.io"
},
"copyright": {
"message": "Copyright © 2024 KusionStack Authors",
"message": "Copyright © 2024 KusionStack Authors. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href=\"https://www.linuxfoundation.org/trademark-usage/\"> Trademark Usage</a> page.",
"description": "The footer copyright"
},
"logo.alt": {
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 23 additions & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,12 @@ function Home() {
<div className="container">
<div className="container text--center">
<h2 className={clsx("hero__subtitle", styles.poppinsFont)}>
KusionStack is in{" "}
KusionStack is a {" "}
<Link to="https://cncf.io/">
Cloud Native Computing Foundation
</Link>{" "}
landscape
Sandbox Project
</h2>
<br />
<div>
<ThemedImage
className={styles.cncfLogo}
Expand All @@ -276,6 +275,27 @@ function Home() {
</div>
</div>
<br></br>
<div className="container">
<div className="container text--center">
<div className="container" style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', flexDirection: 'column', height: '15vh' }}>
<h2 className={clsx("hero__subtitle", styles.poppinsFont)} style={{ marginRight: '0px', fontSize: "16px" }}>
Originally created by
</h2>
<a href="https://external-link.com" target="_blank" rel="noopener noreferrer">
<ThemedImage
className={styles.cncfLogo}
alt="Ant Open Source"
sources={{
light: useBaseUrl("/img/oss_logo_black.svg"),
dark: useBaseUrl("/img/oss_logo_black.svg"),
}}
style={{ width: '200px', height: 'auto' }} // Adjust the width as needed
/>
</a>
</div>
</div>
</div>
<br></br>
<br></br>
</main>
</Layout>
Expand Down
Loading

0 comments on commit 5fe5ec4

Please sign in to comment.