Skip to content

Commit

Permalink
fix: use png for icons
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone committed Jul 18, 2020
1 parent 270fc06 commit e69ba0e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions packages/example/src/pages/components/MiniCard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The `<MiniCard>` component can be used in place of a `<ResourceCard>` if your co

<MiniCard title="26 characters per MiniCard" href="/demo">

![Github icon](/images/github-icon.jpg)
![Github icon](/images/github-icon.png)

</MiniCard>
<MiniCard title="Use the default icon" href="/demo" />
Expand All @@ -38,7 +38,7 @@ The `<MiniCard>` component can be used in place of a `<ResourceCard>` if your co

<MiniCard title="Or bring your own" href="/demo">

![Github icon](/images/sketch-icon.jpg)
![Github icon](/images/sketch-icon.png)

</MiniCard>

Expand All @@ -58,7 +58,7 @@ When you have the mini resource card sitting aside the main content, be sure to
href="https://github.com/IBM/carbon-elements/blob/master/.github/CONTRIBUTING.md"
>

![Sketch icon](/images/sketch-icon.jpg)
![Sketch icon](/images/sketch-icon.png)

</MiniCard>
</Row>
Expand All @@ -70,7 +70,7 @@ When you have the mini resource card sitting aside the main content, be sure to
```jsx path=components/MiniCard/MiniCard.js src=https://github.com/carbon-design-system/gatsby-theme-carbon/tree/master/packages/gatsby-theme-carbon/src/components/MiniCard
<CardGroup>
<MiniCard title="26 characters per MiniCard" href="/demo">
![Github icon](/images/github-icon.jpg)
![Github icon](/images/github-icon.png)
</MiniCard>
<MiniCard title="Use the default icon" href="/demo" />

Expand All @@ -81,7 +81,7 @@ When you have the mini resource card sitting aside the main content, be sure to
/>

<MiniCard title="Or bring your own" href="/demo">
![Github icon](/images/sketch-icon.jpg)
![Github icon](/images/sketch-icon.png)
</MiniCard>
</CardGroup>
```
Expand All @@ -101,7 +101,7 @@ When you have the mini resource card sitting aside the main content, be sure to
href="https://github.com/IBM/carbon-elements/blob/master/.github/CONTRIBUTING.md"
>

![Sketch icon](/images/sketch-icon.jpg)
![Sketch icon](/images/sketch-icon.png)

</MiniCard>
</Row>
Expand Down
16 changes: 8 additions & 8 deletions packages/example/src/pages/components/ResourceCard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The `<ResourceCard>` component should be wrapped with a `<Column>` inside of `<R
href="https://github.com/IBM/carbon-elements/blob/master/.github/CONTRIBUTING.md"
>

![Github icon](/images/github-icon.jpg)
![Github icon](/images/github-icon.png)

</ResourceCard>
</Column>
Expand All @@ -47,7 +47,7 @@ The `<ResourceCard>` component should be wrapped with a `<Column>` inside of `<R
href="https://github.com/IBM/carbon-elements/blob/master/.github/CONTRIBUTING.md"
>

![Sketch icon](/images/sketch-icon.jpg)
![Sketch icon](/images/sketch-icon.png)

</ResourceCard>
</Column>
Expand All @@ -59,7 +59,7 @@ The `<ResourceCard>` component should be wrapped with a `<Column>` inside of `<R
href="https://github.com/IBM/carbon-elements/blob/master/.github/CONTRIBUTING.md"
>

![Sketch icon](/images/sketch-icon.jpg)
![Sketch icon](/images/sketch-icon.png)

</ResourceCard>
</Column>
Expand All @@ -76,15 +76,15 @@ The `<ResourceCard>` component should be wrapped with a `<Column>` inside of `<R
subTitle="Carbon Design System"
href="https://www.carbondesignsystem.com"
>
![Github icon](/images/github-icon.jpg)
![Github icon](/images/github-icon.png)
</ResourceCard>
</Column>
<Column colMd={4} colLg={4} noGutterSm>
<ResourceCard
subTitle="Carbon Design System"
href="https://www.carbondesignsystem.com"
>
![Github icon](/images/github-icon.jpg)
![Github icon](/images/github-icon.png)
</ResourceCard>
</Column>
</Row>
Expand All @@ -101,7 +101,7 @@ The `<ResourceCard>` component should be wrapped with a `<Column>` inside of `<R
actionIcon="arrowRight"
href="https://github.com/IBM/carbon-elements/blob/master/.github/CONTRIBUTING.md"
>
![Github icon](/images/github-icon.jpg)
![Github icon](/images/github-icon.png)
</ResourceCard>
</Column>
```
Expand All @@ -116,7 +116,7 @@ The `<ResourceCard>` component should be wrapped with a `<Column>` inside of `<R
aspectRatio="2:1"
href="https://github.com/IBM/carbon-elements/blob/master/.github/CONTRIBUTING.md"
>
![Github icon](/images/github-icon.jpg)
![Github icon](/images/github-icon.png)
</ResourceCard>
</Column>
```
Expand All @@ -133,7 +133,7 @@ The `<ResourceCard>` component should be wrapped with a `<Column>` inside of `<R
actionIcon="email"
href="https://github.com/IBM/carbon-elements/blob/master/.github/CONTRIBUTING.md"
>
![Sketch icon](/images/sketch-icon.jpg)
![Sketch icon](/images/sketch-icon.png)
</ResourceCard>
</Column>
```
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e69ba0e

Please sign in to comment.