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

maybe I finally got it right (pls don't merge) #319

Closed
wants to merge 7 commits into from
Closed
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
8 changes: 4 additions & 4 deletions content/components/cards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ icon: "rectangle"
```

```jsx Image Card Example
<Card title="Image Card" img="/images/card-with-image.png">
Here is an example of a card with an image
<Card title="Image Card" img="/images/images/moo-deng.png">
Images can improve clarity (or bring delight) in your docs
</Card>
```

Expand All @@ -38,8 +38,8 @@ Add a `horizontal` property to a card to make it horizontally displayed.

Add an `img` property to a card to display an image on the top of the card.

<Card title="Image Card" img="/images/card-with-image.png">
Here is an example of a card with an image
<Card title="Image Card" img="/images/moo-deng.png">
Images can improve clarity (or bring delight) in your docs
</Card>

## Props
Expand Down
Binary file added images/moo-deng.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.