Skip to content

Commit

Permalink
fix: broken contribution images (#4299)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph authored Oct 2, 2024
1 parent a1bbca6 commit aedf04e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 32 deletions.
38 changes: 7 additions & 31 deletions src/pages/contributing/get-started/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ improved the React testing suite, created image production guidelines in Figma,
and so much more! Explore the gallery below to see a small sample of finished
projects.

<Row>
<Row className="contribution-style">
<Column colMd={4} colLg={4} noGutterMdLeft>
<ArticleCard
title="Carbon Tutorial"
Expand All @@ -51,11 +51,7 @@ projects.
readTime="Contributor: Jeremy Caine"
href="https://carbondesignsystem.com/developing/react-tutorial/overview/">

<img
className="contribution-style"
alt="words"
src="/images/carbon-tutorial.gif"
/>
![Carbon Tutorial](/images/carbon-tutorial.gif)

</ArticleCard>
</Column>
Expand All @@ -67,11 +63,7 @@ projects.
readTime="Contributors: Kevin Camello, Matthew Oliveira"
href="https://github.com/carbon-design-system/carbon/issues/6337">

<img
className="contribution-style"
alt="words"
src="/images/two-handle-slider.gif"
/>
![Two handle slider](/images/two-handle-slider.gif)

</ArticleCard>
</Column>
Expand All @@ -83,11 +75,7 @@ projects.
readTime="Contributor: Shankar V."
href="https://react.carbondesignsystem.com/?path=/story/components-ui-shell-sidenav--side-nav-rail-w-header">

<img
className="contribution-style"
alt="words"
src="/images/left-hand-nav-delay.gif"
/>
![Sidenav delay on hover](/images/left-hand-nav-delay.gif)

</ArticleCard>
</Column>
Expand All @@ -99,11 +87,7 @@ projects.
readTime="Contributors: Devin O’ Bryan, Mike Eaker, Lee Chase"
href="https://carbondesignsystem.com/patterns/read-only-states-pattern/">

<img
className="contribution-style"
alt="words"
src="/images/read-only-form-inputs.gif"
/>
![Read-only states](/images/read-only-form-inputs.gif)

</ArticleCard>
</Column>
Expand All @@ -115,11 +99,7 @@ projects.
readTime="Contributor: Diana Tran"
href="https://react.carbondesignsystem.com/?path=/story/components-contentswitcher--icon-only">

<img
className="contribution-style"
alt="words"
src="/images/icon-only-switcher.gif"
/>
![Content Switcher: Icon only variant](/images/icon-only-switcher.gif)

</ArticleCard>
</Column>
Expand All @@ -131,11 +111,7 @@ projects.
readTime="Contributor: Jan Hassel"
href="https://react.carbondesignsystem.com/?path=/docs/components-combobutton--overview">

<img
className="contribution-style"
alt="words"
src="/images/combo-button.gif"
/>
![Combo Butto](/images/combo-button.gif)

</ArticleCard>
</Column>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/_images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}

// Styles for Contributions Gallery
.contribution-style {
.contribution-style img {
width: 300px;
height: 300px;
object-fit: scale-down;
Expand Down

0 comments on commit aedf04e

Please sign in to comment.