From 95ac375c4a6fd1d3343c364e4fe5de2e1afee471 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Wed, 22 Jul 2020 11:05:13 -0700 Subject: [PATCH] feat: replace buttons with button from theme --- src/components/CodeBlock.js | 2 +- src/components/CookieApprovalDialog.js | 2 +- src/components/GuideTile/Button.js | 2 +- src/pages/developer-champion.js | 2 +- src/pages/index.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/CodeBlock.js b/src/components/CodeBlock.js index c27de25c4..d761d6d37 100644 --- a/src/components/CodeBlock.js +++ b/src/components/CodeBlock.js @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { css } from '@emotion/core'; import cx from 'classnames'; -import Button from './Button'; +import { Button } from '@newrelic/gatsby-theme-newrelic'; import CodeEditor from './CodeEditor'; import CodeHighlight from './CodeHighlight'; import FeatherIcon from './FeatherIcon'; diff --git a/src/components/CookieApprovalDialog.js b/src/components/CookieApprovalDialog.js index d9bbf0922..399fc287e 100644 --- a/src/components/CookieApprovalDialog.js +++ b/src/components/CookieApprovalDialog.js @@ -1,7 +1,7 @@ import React, { useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import Cookies from 'js-cookie'; -import Button from './Button'; +import { Button } from '@newrelic/gatsby-theme-newrelic'; import cx from 'classnames'; import styles from './CookieApprovalDialog.module.scss'; import ExternalLink from './ExternalLink'; diff --git a/src/components/GuideTile/Button.js b/src/components/GuideTile/Button.js index 81fe5c7e9..0bfa0c787 100644 --- a/src/components/GuideTile/Button.js +++ b/src/components/GuideTile/Button.js @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { css } from '@emotion/core'; -import Button from '../Button'; +import { Button } from '@newrelic/gatsby-theme-newrelic'; import { Link } from 'gatsby'; const GuideTileButton = ({ className, ...props }) => ( diff --git a/src/pages/developer-champion.js b/src/pages/developer-champion.js index c0613c54f..d7213ad04 100644 --- a/src/pages/developer-champion.js +++ b/src/pages/developer-champion.js @@ -1,7 +1,7 @@ import React from 'react'; import cx from 'classnames'; import SEO from '../components/Seo'; -import Button from '../components/Button'; +import { Button } from '@newrelic/gatsby-theme-newrelic'; import PageTitle from '../components/PageTitle'; import ExternalLink from '../components/ExternalLink'; import FeatherIcon from '../components/FeatherIcon'; diff --git a/src/pages/index.js b/src/pages/index.js index 1001ad2f1..7dcc36e25 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -4,7 +4,7 @@ import cx from 'classnames'; import { graphql, Link } from 'gatsby'; import SEO from '../components/Seo'; -import Button from '../components/Button'; +import { Button } from '@newrelic/gatsby-theme-newrelic'; import GuideListing from '../components/GuideListing/GuideListing'; import GuideTile from '../components/GuideTile/GuideTile'; import PageTitle from '../components/PageTitle';