From 325535844ff10ff5865f0694f6decfa7dba6db6d Mon Sep 17 00:00:00 2001 From: "Mohammad J. Zamani" Date: Thu, 28 Nov 2024 13:05:29 +0000 Subject: [PATCH] fix: searched all files for statik links and converted them --- src/components/HomepageContribute/index.tsx | 45 +++++------ .../HomepageFeaturedServices/index.tsx | 75 ++++++++++--------- src/components/HomepageNewServices/index.tsx | 41 +++++----- src/pages/index.tsx | 3 +- 4 files changed, 84 insertions(+), 80 deletions(-) diff --git a/src/components/HomepageContribute/index.tsx b/src/components/HomepageContribute/index.tsx index c6822ebfa..11200d276 100644 --- a/src/components/HomepageContribute/index.tsx +++ b/src/components/HomepageContribute/index.tsx @@ -1,26 +1,27 @@ import clsx from 'clsx'; import Heading from '@theme/Heading'; import styles from './styles.module.css'; +import useBaseUrl from '@docusaurus/useBaseUrl'; export default function HomepageContribute(): JSX.Element { - return ( - //
-
-
-
-

Contribute

-

- Share with our vibrant community all that cool staff you've built with Open Telekom Cloud. -

- - Join us on GitHub - - - Join us on Medium - -
-
- {/*
+
+
+
+

Contribute

+

+ Share with our vibrant community all that cool staff you've built with Open Telekom Cloud. +

+ + Join us on GitHub + + + Join us on Medium + +
+
+ {/* */} -
- //
- ); - } \ No newline at end of file + + // + ); +} \ No newline at end of file diff --git a/src/components/HomepageFeaturedServices/index.tsx b/src/components/HomepageFeaturedServices/index.tsx index bfd0c07aa..c6066fcbc 100644 --- a/src/components/HomepageFeaturedServices/index.tsx +++ b/src/components/HomepageFeaturedServices/index.tsx @@ -3,46 +3,47 @@ import Heading from '@theme/Heading'; import styles from './styles.module.css'; import FeaturedServices from '../ServiceCallouts/FeaturedServices'; import NewServices from '../ServiceCallouts/NewServices'; +import useBaseUrl from '@docusaurus/useBaseUrl'; export default function HomepageFeaturedServices(): JSX.Element { - return ( + return (
-
-
-
-

- Explore our Featured Services -

-

- Check out our collection of technical solutions, best practices and cool tips for the most popular services of Open Telekom Cloud. -

- - Explore our Best Practices - -
+
+
+
+

+ Explore our Featured Services +

+

+ Check out our collection of technical solutions, best practices and cool tips for the most popular services of Open Telekom Cloud. +

+ + Explore our Best Practices +
- - {/* */} -
-
-

- What's new? -

-

- Explore the technical documentation of our brand new services in Help Center. -

- - Check the Portfolio Roadmap - -
-
- + + {/* */} +
+
+

+ What's new? +

+

+ Explore the technical documentation of our brand new services in Help Center. +

+ + Check the Portfolio Roadmap +
-
-
- ); - } \ No newline at end of file + + + + + ); +} \ No newline at end of file diff --git a/src/components/HomepageNewServices/index.tsx b/src/components/HomepageNewServices/index.tsx index a59a64d32..0fc1dccb1 100644 --- a/src/components/HomepageNewServices/index.tsx +++ b/src/components/HomepageNewServices/index.tsx @@ -2,28 +2,29 @@ import clsx from 'clsx'; import Heading from '@theme/Heading'; import styles from './styles.module.css'; import NewServices from '../ServiceCallouts/NewServices'; +import useBaseUrl from '@docusaurus/useBaseUrl'; export default function HomepageNewServices(): JSX.Element { - return ( + return (
-
- -
-
-

- Meet the New Comers -

-

- Explore the new services added in Open Telekom Cloud portfolio. -

- - Check the Roadmap Portfolio - -
+
+ +
+
+

+ Meet the New Comers +

+

+ Explore the new services added in Open Telekom Cloud portfolio. +

+ + Check the Roadmap Portfolio +
-
- ); - } \ No newline at end of file + + + ); +} \ No newline at end of file diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 38bf6d9c5..b7578683e 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -5,6 +5,7 @@ import Layout from '@theme/Layout'; import HomepageFeatures from '@site/src/components/HomepageFeatures'; import Heading from '@theme/Heading'; import { useColorMode, useThemeConfig } from '@docusaurus/theme-common'; +import useBaseUrl from '@docusaurus/useBaseUrl'; import styles from './index.module.css'; import HomepageFeaturedServices from '../components/HomepageFeaturedServices'; @@ -24,7 +25,7 @@ function HomepageHeader() {

Open Telekom Cloud {siteConfig.tagline}

- + Get Started