diff --git a/src/components/HomepageContribute/index.tsx b/src/components/HomepageContribute/index.tsx index 7603b18be..d00746ef1 100644 --- a/src/components/HomepageContribute/index.tsx +++ b/src/components/HomepageContribute/index.tsx @@ -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 ( - //
-
-
-
-

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 + + 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 + +
+
+
+ //
+ ); +} \ No newline at end of file diff --git a/src/components/HomepageFeaturedServices/index.tsx b/src/components/HomepageFeaturedServices/index.tsx index d87da593e..3404ff6ec 100644 --- a/src/components/HomepageFeaturedServices/index.tsx +++ b/src/components/HomepageFeaturedServices/index.tsx @@ -2,46 +2,47 @@ import clsx from 'clsx'; 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/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index b3f16504d..492d6b81a 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -1,6 +1,7 @@ import clsx from 'clsx'; import Heading from '@theme/Heading'; import styles from './styles.module.css'; +import useBaseUrl from '@docusaurus/useBaseUrl'; import BestPracticesSvg from '@site/static/img/best-practices.svg'; import BlueprintsSvg from '@site/static/img/blueprints.svg'; @@ -33,7 +34,7 @@ const FeatureList: FeatureItem[] = [ <> Discover tailored out-of-the-box solutions and practical implementations for a range of scenarios. Explore real-world examples demonstrating the versatility and optimal - application and infrastructure design using Open Telekom Cloud. + application and infrastructure design using Open Telekom Cloud. ), link: '/docs/blueprints' @@ -51,10 +52,10 @@ const FeatureList: FeatureItem[] = [ // }, ]; -function Feature({title, Svg, description, link}: FeatureItem) { +function Feature({ title, Svg, description, link }: FeatureItem) { return (
- +
@@ -68,9 +69,9 @@ function Feature({title, Svg, description, link}: FeatureItem) { {/* Get Started */} -
-
+
+ ); } diff --git a/src/components/HomepageNewServices/index.tsx b/src/components/HomepageNewServices/index.tsx index 4b62c673b..54be2af58 100644 --- a/src/components/HomepageNewServices/index.tsx +++ b/src/components/HomepageNewServices/index.tsx @@ -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 (
-
- -
-
-

- 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/components/ServiceCallouts/callout.tsx b/src/components/ServiceCallouts/callout.tsx index c11974754..12ec7b56c 100644 --- a/src/components/ServiceCallouts/callout.tsx +++ b/src/components/ServiceCallouts/callout.tsx @@ -1,18 +1,20 @@ import clsx from "clsx"; import styles from "./styles.modules.css"; import { ComponentType, SVGProps } from 'react'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + export interface Callout { title: string; text?: string; link: string; + // icon: (props: React.ComponentProps<"svg">) => JSX.Element; icon: ComponentType>; } - function Callout(props: Callout): JSX.Element { return ( - +

diff --git a/src/pages/index.tsx b/src/pages/index.tsx index a91563724..20f410720 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -4,6 +4,7 @@ import Layout from '@theme/Layout'; import HomepageFeatures from '@site/src/components/HomepageFeatures'; // import Heading from '@theme/Heading'; // import { useThemeConfig } from '@docusaurus/theme-common'; +// import useBaseUrl from '@docusaurus/useBaseUrl'; // import styles from './index.module.css'; import HomepageFeaturedServices from '../components/HomepageFeaturedServices'; @@ -22,7 +23,7 @@ import HomepageContribute from '../components/HomepageContribute'; // //

Open Telekom Cloud {siteConfig.tagline}

//
-// +// // Get Started // //