diff --git a/src/templates/ObservabilityPackDetails.js b/src/templates/ObservabilityPackDetails.js index cdc346036..d62ede01e 100644 --- a/src/templates/ObservabilityPackDetails.js +++ b/src/templates/ObservabilityPackDetails.js @@ -5,7 +5,7 @@ import PropTypes from 'prop-types'; import PageLayout from '../components/PageLayout'; import FeatherIcon from '../components/FeatherIcon'; -import DevSiteSeo from '../components/DevSiteSeo'; +import Tabs from '../components/Tabs'; import noImagePlaceholder from '../images/no-image-placeholder.png'; import { Layout, @@ -22,131 +22,180 @@ const exampleContributors = [ ]; const ObservabilityPackDetails = ({ data }) => { - console.log(data); - const { pack, slug } = data.sitePage.context; + const { pack } = data.sitePage.context; return ( <> - {/* */} - - - {' '} - - - - {/* carousel component if we decide to use multiple images */} - placeholder -

Description

-

{pack.description}

-
- - - Ratings and installs - {/* probably want a component for the ratings */} - + + + + - - - - -

37 ratings from 247 installs

-
- - How to use this pack -
    -
  1. - Sign up for a free New Relic account (or log in to your existing - account) -
  2. -
  3. Click the green install button above
  4. -
  5. - Follow the instructions to install the necessary instrumentation - to get the data used in this pack -
  6. -
  7. - Enjoy the dashboards, alerts, and appications filled with - insights on our environment and services. -
  8. -
-
- - Contributors -
- {exampleContributors.map(({ avatar_url }) => ( + Overview + Dependencies + + Dashboards + + + Alerts + + + Synthetics checks + + + Visualizations + + + Applications + + + + + + {/* carousel component if we decide to use multiple images */} + + github avatar - ))} -
-

- Want to contribute to this observability pack?{' '} - Go to the repo -

-
-
-
+

Description

+

{pack.description}

+ + + {pack.dashboards.map((dashboard) => ( + <> +

{dashboard.name}

+ {dashboard.screenshots.map((screenshot, index) => ( + dashboard example + ))} + + ))} +
+ + + + + Ratings and installs + {/* probably want a component for the ratings if we keep them */} + + + + + +

37 ratings from 247 installs

+
+ + How to use this pack +
    +
  1. + Sign up for a free New Relic account (or log in to your + existing account) +
  2. +
  3. Click the green install button above
  4. +
  5. + Follow the instructions to install the necessary + instrumentation to get the data used in this pack +
  6. +
  7. + Enjoy the dashboards, alerts, and appications filled with + insights on our environment and services. +
  8. +
+
+ + Contributors +
+ {exampleContributors.map(({ avatar_url }) => ( + github avatar + ))} +
+

+ Want to contribute to this observability pack?{' '} + Go to the repo +

+
+
+ + ); };