Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add links to feature list #173

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions docusaurus/src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import React from 'react';
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import Heading from '@theme/Heading';
import styles from './styles.module.css';

Expand All @@ -11,6 +13,7 @@ const FeatureList = [
Guides were designed from the ground up to be easily followed and implemented, getting your cloud monitoring up and running quickly.
</>
),
link: '/docs/guides',
},
{
title: 'Signals',
Expand All @@ -20,6 +23,7 @@ const FeatureList = [
Gain comprehensive insights into your AWS environment through key metrics, logs, and performance indicators.
</>
),
link: '/docs/signals/alarms',
},
{
title: 'Tools',
Expand All @@ -29,6 +33,7 @@ const FeatureList = [
Streamline your AWS monitoring with purpose-built solutions for efficient data collection, analysis, and visualization.
</>
),
link: '/docs/tools/observability_accelerator',
},
{
title: 'Recipes',
Expand All @@ -38,6 +43,7 @@ const FeatureList = [
Implement proven AWS observability patterns to quickly solve common monitoring and troubleshooting challenges.
</>
),
link: '/docs/recipes',
},
{
title: 'FAQs',
Expand All @@ -47,6 +53,7 @@ const FeatureList = [
Find quick answers to common AWS observability questions, clarifying key concepts and best practices.
</>
),
link: '/docs/faq/adot',
},
{
title: 'Patterns',
Expand All @@ -56,14 +63,17 @@ const FeatureList = [
Learn step-by-step AWS observability implementation through comprehensive, easy-to-follow instructional resources.
</>
),
link: '/docs/patterns/multiaccount',
},
];

function Feature({Svg, title, description}) {
function Feature({Svg, title, description, link}) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
<Svg className={styles.featureSvg} role="img" />
<Link to={link}>
<Svg className={styles.featureSvg} role="img" />
</Link>
</div>
<div className="text--center padding-horiz--md">
<Heading as="h3">{title}</Heading>
Expand All @@ -85,4 +95,4 @@ export default function HomepageFeatures() {
</div>
</section>
);
}
}
Loading