You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[`LayoutItem` — Component part of `Layout` component, consists with `Media` and `Content`](?path=/story/components-cards-layoutitem--default&viewMode=docs)
Copy file name to clipboardExpand all lines: src/blocks/CardLayout/__stories__/data.json
+54-5Lines changed: 54 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,54 @@
1
1
{
2
-
"default": {
3
-
"card": {
2
+
"cards": {
3
+
"basicCard": {
4
+
"type": "basic-card",
5
+
"title": "Tell a story and build a narrative",
6
+
"text": "We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future.",
"text": "We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future."
17
+
}
18
+
},
19
+
"backgroundCard": {
20
+
"type": "background-card",
21
+
"title": "Tell a story and build a narrative",
22
+
"text": "We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future.",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
42
+
"list": [
43
+
"Ut enim ad minim veniam exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
44
+
"Ut enim ad minim veniam exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
45
+
]
46
+
}
47
+
},
48
+
"default": {
13
49
"content": {
14
50
"type": "card-layout-block",
15
-
"title": "Card Layout",
51
+
"title": "Card layout with basic cards",
16
52
"description": "Three cards in a row on the desktop, two cards in a row on a tablet, one card in a row on a mobile phone."
17
53
}
18
54
},
@@ -51,5 +87,18 @@
51
87
"all": 6
52
88
}
53
89
}
90
+
},
91
+
"withBackground": {
92
+
"content": {
93
+
"type": "card-layout-block",
94
+
"title": "Card layout with background image (basic cards)",
95
+
"description": "Four cards in a row on the desktop, three cards in a row on the mini-desktop, two cards in a row on a tablet, one card in a row on a mobile phone.",
0 commit comments