Skip to content

Commit

Permalink
fix: broken contribution images
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph committed Sep 27, 2024
1 parent 396b51b commit 2beae2e
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.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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 @@ -50,11 +50,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 @@ -66,11 +62,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 @@ -82,11 +74,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 @@ -98,11 +86,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 @@ -114,11 +98,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 @@ -130,11 +110,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 2beae2e

Please sign in to comment.