Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: broken contribution images #4299

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading