Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 10. Customizing the Home page
When using the app-config, you can do the following:
- Customize and extend the default Home page layout with additional cards that appear based on the plugins you have installed and enabled.
- Change quick access links.
Add, reorganize, and remove the following available cards:
- Search bar
- Quick access
- Headline
- Markdown
- Placeholder
- Catalog starred entities
- Featured docs
10.1. Customizing the Home page cards Link kopierenLink in die Zwischenablage kopiert!
Administrators can change the fixed height of cards that are in a 12-column grid.
The default Home page is as shown in the following app-config.yaml file configuration:
Prerequisites
-
You have administrative access and can modify the
app-config.yamlfile for dynamic plugin configurations.
Procedure
Configure different cards for your Home page in Red Hat Developer Hub as follows:
- Search
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Expand Table 10.1. Available props Prop Default Description path/searchOverride the linked search path if needed
queryParamqueryOverride the search query parameter name if needed
- Quick access
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Expand Table 10.2. Available props Prop Default Description titleQuick AccessOverride the linked search path if needed
pathnone
Override the search query parameter name if needed
- Headline
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Expand Table 10.3. Available props Prop Default Description titlenone
Title
- Markdown
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Placeholder
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Catalog starred entities
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Featured docs
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
10.2. Defining the layout of the Red Hat Developer Hub Home page Link kopierenLink in die Zwischenablage kopiert!
The Home page uses a 12-column grid to position your cards. You can use the optimal parameters to define the layout of your Developer Hub Home page.
Prerequisites
Include the following optimal parameters in each of your breakpoints:
- width (w)
- height (h)
- position (x and y)
Procedure
Configure your Developer Hub
app-config.yamlconfiguration file by choosing one of the following options:- Use the full space on smaller windows and half of the space on larger windows as follows:
-
Show the cards side by side by defining the
xparameter as shown in the following example:
However, you can see a second card below this card by default.
-
Show the cards in three columns by defining the
xparameter as shown in the following example: