diff --git a/src/pages/blocks/cards/cards-wide.md b/src/pages/blocks/cards/cards-wide.md new file mode 100644 index 0000000..090615d --- /dev/null +++ b/src/pages/blocks/cards/cards-wide.md @@ -0,0 +1,59 @@ +--- +title: Cards - Wide Variant +description: Display cards with a wide image using the Cards block wide variant. +--- + +# Cards - Wide Variant + +Cards with a wide image layout. See [Cards parameters](index.md) for `slots`, `width`, and other options. + +## Syntax + +```markdown + + +![Card Image](path/to/image.png) + +## Card Heading + +Card description text goes here. + +[Learn more](link-url.md) + +``` + +## Parameters + +- **variant**: `"wide"` — Displays the card with a wide image. + +## Example + + + +![Card Image](../../assets/column.jpg) + +### First Card + +This is a sample description for the first card in the grid. + +[Learn more](https://developer.adobe.com/) + + + +![Card Image](../../assets/column.jpg) + +### Second Card + +This is a sample description for the second card in the grid. + +[Learn more](https://developer.adobe.com/) + + + +![Card Image](../../assets/column.jpg) + +### Third Card + +This is a sample description for the third card in the grid. + +[Learn more](https://developer.adobe.com/) diff --git a/src/pages/blocks/cards/index.md b/src/pages/blocks/cards/index.md index 4b3898b..6ab0729 100644 --- a/src/pages/blocks/cards/index.md +++ b/src/pages/blocks/cards/index.md @@ -42,7 +42,7 @@ Card description text goes here. ![Card Image](../../assets/column.jpg) -## First Card +### First Card This is a sample description for the first card in the grid. @@ -66,4 +66,6 @@ This is a sample description for the second card in the grid. This is a sample description for the third card in the grid. -[Learn more](https://developer.adobe.com/) \ No newline at end of file +[Learn more](https://developer.adobe.com/) + +For cards with a wide image, see [Cards - Wide Variant](cards-wide.md). diff --git a/src/pages/blocks/index.md b/src/pages/blocks/index.md index 13fdad7..1daf257 100644 --- a/src/pages/blocks/index.md +++ b/src/pages/blocks/index.md @@ -68,6 +68,8 @@ Important notices and announcements. Content cards in grid layouts. +### [Wide Variant](cards/cards-wide.md) - Cards with a wide image + ### [Code](code/index.md) Markdown code snippet with syntax. diff --git a/src/pages/config.md b/src/pages/config.md index 5781203..49430a1 100644 --- a/src/pages/config.md +++ b/src/pages/config.md @@ -43,6 +43,7 @@ - [Accordion](/blocks/accordion/index.md) - [Announcement](/blocks/announcement/index.md) - [Cards](/blocks/cards/index.md) + - [Cards Wide](/blocks/cards/cards-wide.md) - [Code](/blocks/code/index.md) - [Code Basic](/blocks/code/code-basic.md) - [Code Highlighted Line](/blocks/code/code-highlighted-line.md)