-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve service callout links with useBaseUrl hook (#145)
- Loading branch information
Showing
6 changed files
with
94 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,27 @@ | ||
import clsx from 'clsx'; | ||
import styles from './styles.module.css'; | ||
import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
|
||
export default function HomepageContribute(): JSX.Element { | ||
return ( | ||
// <section className="container" style={{ paddingTop: '20px', paddingBottom: '45px' }}> | ||
<div className={clsx("row row--no-gutters", styles.item)}> | ||
<div className={clsx("col col--12", styles.item__inner)}> | ||
<div> | ||
<h1 className="margin-bottom--md">Contribute</h1> | ||
<p className="margin-bottom--md"> | ||
Share with our vibrant community all that cool staff you've built with Open Telekom Cloud. | ||
</p> | ||
<a href="/docs/features/version-and-publish" className="button button--secondary" style={{ marginRight: '10px', marginBottom: '10px' }} > | ||
Join us on GitHub | ||
</a> | ||
{/* <a href="/docs/features/version-and-publish" className="button button--secondary" style={{ marginRight: '10px', marginBottom: '10px' }}> | ||
Join us on Medium | ||
</a> */} | ||
</div> | ||
</div> | ||
{/* <div | ||
className="col col--6" | ||
aria-hidden="true" | ||
style={{ | ||
backgroundImage: "url('./img/factory-inside.svg')", | ||
backgroundSize: "cover", | ||
backgroundRepeat: "no-repeat", | ||
backgroundPosition: "right", | ||
}} | ||
></div> */} | ||
</div> | ||
// </section> | ||
); | ||
} | ||
|
||
return ( | ||
// <section className="container" style={{ paddingTop: '20px', paddingBottom: '45px' }}> | ||
<div className={clsx("row row--no-gutters", styles.item)}> | ||
<div className={clsx("col col--12", styles.item__inner)}> | ||
<div> | ||
<h1 className="margin-bottom--md">Contribute</h1> | ||
<p className="margin-bottom--md"> | ||
Share with our vibrant community all that cool staff you've built with Open Telekom Cloud. | ||
</p> | ||
<a href={useBaseUrl("/docs/features/version-and-publish")} className="button button--secondary" style={{ marginRight: '10px', marginBottom: '10px' }} > | ||
Join us on GitHub | ||
</a> | ||
<a href={useBaseUrl("/docs/features/version-and-publish")} className="button button--secondary" style={{ marginRight: '10px', marginBottom: '10px' }}> | ||
Join us on Medium | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
// </section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
import clsx from 'clsx'; | ||
import styles from './styles.module.css'; | ||
import NewServices from '../ServiceCallouts/NewServices'; | ||
import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
|
||
export default function HomepageNewServices(): JSX.Element { | ||
return ( | ||
return ( | ||
<section className="container" style={{ paddingTop: '20px', paddingBottom: '45px' }}> | ||
<div className={clsx("row row--no-gutters", styles.item)}> | ||
<div className="col col--8" aria-hidden="true" style={{ paddingTop: '40px' }}> | ||
<NewServices /> | ||
</div> | ||
<div className={clsx("col col--4", styles.item__inner)}> | ||
<div> | ||
<h1 className={clsx("margin-bottom--md", styles.item__title)}> | ||
Meet the New Comers | ||
</h1> | ||
<p className="margin-bottom--md"> | ||
Explore the new services added in Open Telekom Cloud portfolio. | ||
</p> | ||
<a className="button button--secondary" href="/docs/best-practices"> | ||
Check the Roadmap Portfolio | ||
</a> | ||
</div> | ||
<div className={clsx("row row--no-gutters", styles.item)}> | ||
<div className="col col--8" aria-hidden="true" style={{ paddingTop: '40px' }}> | ||
<NewServices /> | ||
</div> | ||
<div className={clsx("col col--4", styles.item__inner)}> | ||
<div> | ||
<h1 className={clsx("margin-bottom--md", styles.item__title)}> | ||
Meet the New Comers | ||
</h1> | ||
<p className="margin-bottom--md"> | ||
Explore the new services added in Open Telekom Cloud portfolio. | ||
</p> | ||
<a className="button button--secondary" href={useBaseUrl("/docs/best-practices")}> | ||
Check the Roadmap Portfolio | ||
</a> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} | ||
</div> | ||
</section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters