Skip to content

Commit

Permalink
removed blog, hid caf #116
Browse files Browse the repository at this point in the history
  • Loading branch information
akyriako committed Nov 18, 2024
1 parent 6b7e7d3 commit a50197e
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 149 deletions.
12 changes: 0 additions & 12 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions blog/2021-08-26-welcome/index.md

This file was deleted.

17 changes: 0 additions & 17 deletions blog/authors.yml

This file was deleted.

89 changes: 58 additions & 31 deletions src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';

import BestPracticesSvg from '@site/static/img/best-practices.svg';
import BlueprintsSvg from '@site/static/img/blueprints.svg';
import CafSvg from '@site/static/img/caf.svg';

type FeatureItem = {
title: string;
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
Expand All @@ -16,7 +12,7 @@ type FeatureItem = {
const FeatureList: FeatureItem[] = [
{
title: 'Best Practices',
Svg: BestPracticesSvg,
Svg: require('@site/static/img/best-practices.svg').default,

Check failure on line 15 in src/components/HomepageFeatures/index.tsx

View workflow job for this annotation

GitHub Actions / check

A `require()` style import is forbidden
description: (
<>
Explore the recommended strategies for resource management, such as
Expand All @@ -28,7 +24,7 @@ const FeatureList: FeatureItem[] = [
},
{
title: 'Blueprints',
Svg: BlueprintsSvg,
Svg: require('@site/static/img/blueprints.svg').default,

Check failure on line 27 in src/components/HomepageFeatures/index.tsx

View workflow job for this annotation

GitHub Actions / check

A `require()` style import is forbidden
description: (
<>
Discover tailored out-of-the-box solutions and
Expand All @@ -38,34 +34,64 @@ const FeatureList: FeatureItem[] = [
),
link: '/docs/blueprints'
},
{
title: 'Cloud Adoption Framework',
Svg: CafSvg,
description: (
<>
The Cloud Adoption Framework provides a structured approach for organizations to transition their business to
Open Telekom Cloud. It covers various stages such as strategy, planning, readiness, migration, governance, and management.
</>
),
link: '/caf'
},
// {
// title: 'Cloud Adoption Framework',
// Svg: require('@site/static/img/caf.svg').default,
// description: (
// <>
// The Cloud Adoption Framework provides a structured approach for organizations to transition their business to
// Open Telekom Cloud. It covers various stages such as strategy, planning, readiness, migration, governance, and management.
// </>
// ),
// link: '/caf'
// },
];

// function Feature({title, Svg, description, link}: FeatureItem) {
// return (
// <div className={clsx('col col--4')}>
// <scale-card to={link} class="scale-telekom-feature-card">
// <div style={{margin: '-24px'}}>
// <div className="text--center">
// <Svg className={styles.featureSvg} role="img" />
// </div>
// <div className="text--center padding-horiz--md" style={{margin: '0 0 16px 0'}}>
// {/* <h4 style={{margin: '0px 0 16px 0', font: 'var(--telekom-text-style-heading-4)'}}>{title} </h4> */}
// <Heading as="h3" style={{margin: '8px'}}>{title}</Heading>
// <span>
// {description}
// </span>
// {/* <scale-button style={{margin: '16px'}} icon-position="after">
// Get Started <scale-icon-navigation-right></scale-icon-navigation-right>
// </scale-button> */}
// </div>
// </div>
// </scale-card>
// </div>
// );
// }

// export default function HomepageFeatures(): JSX.Element {
// return (
// <section className={styles.features}>
// <div className="container">
// <div className="row">
// <div className={clsx('col col--2')}></div>
// {FeatureList.map((props, idx) => (
// <Feature key={idx} {...props} />
// ))}
// <div className={clsx('col col--2')}></div>
// </div>
// </div>
// </section>
// );
// }



function Feature({title, Svg, description, link}: FeatureItem) {
return (
// <div className={clsx('col col--4')}>
// <div className="text--center">
// <Svg className={styles.featureSvg} role="img" />
// </div>
// <div className="text--center padding-horiz--md">
// <Heading as="h3">{title}</Heading>
// <p>{description}</p>
// {/* <scale-button icon-position="after">
// Get Started <scale-icon-navigation-right></scale-icon-navigation-right>
// </scale-button> */}
// </div>
// </div>
<div className={clsx('col col--4')}>
<div className={clsx('col col--5')}>
<scale-card to={link} class="scale-telekom-feature-card">
<div style={{margin: '-24px'}}>
<div className="text--center">
Expand All @@ -84,7 +110,6 @@ function Feature({title, Svg, description, link}: FeatureItem) {
</div>
</scale-card>
</div>

);
}

Expand All @@ -93,9 +118,11 @@ export default function HomepageFeatures(): JSX.Element {
<section className={styles.features}>
<div className="container">
<div className="row">
<div className={clsx('col col--1')}></div>
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
<div className={clsx('col col--1')}></div>
</div>
</div>
</section>
Expand Down

0 comments on commit a50197e

Please sign in to comment.