diff --git a/src/components/ResourceLinks/ResourceLinks.js b/src/components/ResourceLinks/ResourceLinks.js index 632616095..730b7653d 100644 --- a/src/components/ResourceLinks/ResourceLinks.js +++ b/src/components/ResourceLinks/ResourceLinks.js @@ -3,9 +3,9 @@ import H2 from 'gatsby-theme-carbon/src/components/markdown/H2'; import H3 from 'gatsby-theme-carbon/src/components/markdown/H3'; import MiniCard from 'gatsby-theme-carbon/src/components/MiniCard/MiniCard'; import CardGroup from 'gatsby-theme-carbon/src/components/MiniCard/CardGroup'; -import githubIcon from '../../images/icon/github-icon.svg'; +// import githubIcon from '../../images/icon/github-icon.svg'; import reactIcon from '../../images/icon/react-icon.svg'; -import sketchSymbol from '../../images/icon/sketch-symbol.svg'; +// import sketchSymbol from '../../images/icon/sketch-symbol.svg'; import webComponentsIcon from '../../images/icon/web-components-icon.svg'; import components from '../../data/components.json'; @@ -23,40 +23,24 @@ import components from '../../data/components.json'; export const ResourceLinks = ({ type, name, - designLink = '', - functionalLink = '', + // designLink = '', + // functionalLink = '', multiComponent, }) => { - const component = components[type][name]; - const wikiURLBase = - 'https://github.com/carbon-design-system/carbon-for-ibm-dotcom-website/wiki/'; - const wikiName = name.replace(/ /g, '-'); - const functionalSpecLink = - functionalLink || component.functionalLink || wikiURLBase + wikiName; - const designSpecLink = designLink || component.designLink; + // const component = components[type][name]; + // const wikiURLBase = + + 'https://github.com/carbon-design-system/carbon-for-ibm-dotcom-website/wiki/'; + + // const wikiName = name.replace(/ /g, '-'); + // const functionalSpecLink = + // functionalLink || component.functionalLink || wikiURLBase + wikiName; + // const designSpecLink = designLink || component.designLink; return ( <> {multiComponent ?