From 67ae37c81c3a05c2432443421c6f74016eb0fefe Mon Sep 17 00:00:00 2001
From: Zack Stickles
Date: Tue, 5 Jul 2022 14:39:04 -0700
Subject: [PATCH] fix: remove `` for now
See the comment in src/components/QuickstartDashboards.js
---
src/components/QuickstartDashboards.js | 70 +++++++++++++-------------
1 file changed, 34 insertions(+), 36 deletions(-)
diff --git a/src/components/QuickstartDashboards.js b/src/components/QuickstartDashboards.js
index 2a3cc37a..4bd4c040 100644
--- a/src/components/QuickstartDashboards.js
+++ b/src/components/QuickstartDashboards.js
@@ -1,7 +1,6 @@
import React from 'react';
import { css } from '@emotion/react';
import pluralize from 'pluralize';
-import { GatsbyImage, getImage } from 'gatsby-plugin-image';
import Intro from './Intro';
import { quickstart } from '../types';
import Slider from 'react-slick';
@@ -70,6 +69,9 @@ const QuickstartDashboards = ({ quickstart }) => {
return {descriptionToShow}
;
};
+ // NOTE: we're not using `` for the dashboard screenshots because
+ // it did not play well with the slider. In the future, we should evaluate re-introducing
+ // this so that we can gain some additional benefits from sharp.
return (
<>
{
{renderDescription(dashboard)}
- {dashboard.screenshots.map((node, index) => {
- const elementKey = `imgurl_${index}`;
- const image = getImage(node);
- return (
- (
+
- );
- })}
+ />
+
+
+
+ ))}