Skip to content

Commit

Permalink
fix: incorrect pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
Cayla Hamann committed Jun 22, 2020
1 parent 3139999 commit 0162ddd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/components/GuideTile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import PropTypes from 'prop-types';
import React from 'react';
import FeatherIcon from './FeatherIcon';
import NewRelicIcon from '../components/NewRelicIcon';
import NewRelicIcon from './NewRelicIcon';
import cx from 'classnames';
import { navigate } from 'gatsby';
import styles from './GuideTile.module.scss';
Expand Down
8 changes: 0 additions & 8 deletions src/components/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ import matchSearchString from '../utils/matchSearchString';

import styles from './Navigation.module.scss';

const iconLibrary = {
'Collect data': 'upload-cloud',
'Explore data': 'bar-chart',
'Build apps': 'box',
'Automate workflows': 'cpu',
'Explore docs': 'book-open',
};

const getHighlightedText = (text, highlight) => {
const parts = text.split(new RegExp(`(${highlight})`, 'gi'));
return (
Expand Down
6 changes: 2 additions & 4 deletions src/components/NewRelicIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,19 @@ const NEWRELIC_ICONS = {
<>
<g>
<path
class="st0"
d="M14.6,14.3l1.4-0.8l-1.9-3.3l-1.4,0.8c-0.7-0.6-1.5-1.1-2.4-1.4V7.9H6.4v1.6C5.5,9.8,4.7,10.3,4,10.9l-1.4-0.8
l-1.9,3.3L2,14.3c-0.2,1-0.2,1.8,0,2.8l-1.4,0.8l1.9,3.3L4,20.4c0.7,0.6,1.5,1.1,2.4,1.4v1.6h3.9v-1.6c0.9-0.3,1.7-0.8,2.4-1.4
l1.4,0.8l1.9-3.3l-1.4-0.8C14.8,16.1,14.8,15.2,14.6,14.3z"
/>
<circle class="st0" cx="8.3" cy="15.7" r="2.6" />
<circle cx="8.3" cy="15.7" r="2.6" />
</g>
<g>
<path
class="st2"
d="M22.7,4.2l0.8-0.5l-1.2-2l-0.8,0.5c-0.4-0.4-0.9-0.7-1.5-0.8v-1h-2.3v1c-0.5,0.2-1,0.5-1.5,0.8l-0.8-0.5
l-1.2,2l0.8,0.5c-0.1,0.6-0.1,1.1,0,1.7l-0.8,0.5l1.2,2l0.8-0.5c0.4,0.4,0.9,0.7,1.5,0.8v1h2.3v-1c0.5-0.2,1-0.5,1.5-0.8l0.8,0.5
l1.2-2l-0.8-0.5C22.9,5.3,22.9,4.8,22.7,4.2z"
/>
<circle class="st2" cx="18.9" cy="5.1" r="1.6" />
<circle cx="18.9" cy="5.1" r="1.6" />
</g>
</>
),
Expand Down

0 comments on commit 0162ddd

Please sign in to comment.