Skip to content

Commit b99affa

Browse files
authored
RHDHPAI-810: New home cards (#1222)
* Added content * Incorporated Judy's comment
1 parent 7fa4c1a commit b99affa

File tree

1 file changed

+72
-1
lines changed

1 file changed

+72
-1
lines changed

modules/customizing-the-home-page/proc-customizing-the-home-page-cards.adoc

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dynamicPlugins:
5454
* You have administrative access and can modify the `{my-app-config-file}` file for dynamic plugin configurations.
5555

5656
.Procedure
57-
* Configure different cards for your Home page in {product} as follows:
57+
* Configure different cards for your Home page in {product} as shown in the following code:
5858

5959
Search::
6060
+
@@ -264,3 +264,74 @@ dynamicPlugins:
264264
importName: FeaturedDocsCard
265265
----
266266
--
267+
268+
EntitySection::
269+
+
270+
You can use the *EntitySection* card to create a visually engaging section that highlights catalog entities of various kinds, such as components, APIs, resources, and so on.
271+
--
272+
[source,yaml]
273+
----
274+
dynamicPlugins:
275+
frontend:
276+
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
277+
mountPoints:
278+
- mountPoint: home.page/cards
279+
importName: EntitySection
280+
config:
281+
layouts:
282+
xl: { w: 12, h: 6 }
283+
lg: { w: 12, h: 6 }
284+
md: { w: 12, h: 6 }
285+
sm: { w: 12, h: 6 }
286+
xs: { w: 12, h: 6 }
287+
xxs: { w: 12, h: 14.5 }
288+
289+
----
290+
--
291+
292+
OnboardingSection::
293+
+
294+
You can use the *OnboardingSection* card to quickly discover learning resources within {product-very-short}.
295+
--
296+
[source,yaml]
297+
----
298+
dynamicPlugins:
299+
frontend:
300+
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
301+
mountPoints:
302+
- mountPoint: home.page/cards
303+
importName: OnboardingSection
304+
config:
305+
layouts:
306+
xl: { w: 12, h: 5 }
307+
lg: { w: 12, h: 5 }
308+
md: { w: 12, h: 5 }
309+
sm: { w: 12, h: 5 }
310+
xs: { w: 12, h: 7 }
311+
xxs: { w: 12, h: 12 }
312+
----
313+
--
314+
315+
TemplateSection::
316+
+
317+
You can use the *TemplateSection* card to quickly explore and initiate software templates in {product-very-short}.
318+
--
319+
[source,yaml]
320+
----
321+
dynamicPlugins:
322+
frontend:
323+
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
324+
mountPoints:
325+
- mountPoint: home.page/cards
326+
importName: TemplateSection
327+
config:
328+
layouts:
329+
xl: { w: 12, h: 5 }
330+
lg: { w: 12, h: 5 }
331+
md: { w: 12, h: 5 }
332+
sm: { w: 12, h: 5 }
333+
xs: { w: 12, h: 5 }
334+
xxs: { w: 12, h: 14 }
335+
336+
----
337+
--

0 commit comments

Comments
 (0)