Skip to content

Commit afd4de0

Browse files
openshift-cherrypick-robothmanwani-rhthemr0c
authored
[1.2.x] Fix: Added archived module (#527)
Co-authored-by: Heena Manwani <hmanwani@redhat.com> Co-authored-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
1 parent 428eb5e commit afd4de0

File tree

4 files changed

+39
-57
lines changed

4 files changed

+39
-57
lines changed

archive/proc-customize-rhdh-branding.adoc

Lines changed: 0 additions & 55 deletions
This file was deleted.

assemblies/assembly-customize-rhdh-theme.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ You can also customize some components from the {product-short} GUI, such as the
2121

2222
include::modules/customization/proc-customize-rhdh-theme-mode.adoc[leveloffset=+1]
2323

24-
include::modules/customization/proc-customize-rhdh-sidebar-logo.adoc[leveloffset=+1]
24+
include::modules/customization/proc-customize-rhdh-branding-logo.adoc[leveloffset=+1]
25+
26+
//include::modules/customization/proc-customize-rhdh-sidebar-logo.adoc[leveloffset=+1]//commented since the section has been merged with proc-customize-rhdh-branding-logo.adoc in PR #514
2527

2628
include::modules/customization/proc-customize-rhdh-tab-tooltip.adoc[leveloffset=+1]
2729

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Module included in the following assemblies:
2+
// assembly-customize-rhdh-theme.adoc
3+
//restored module as per slack thread: https://redhat-internal.slack.com/archives/C04CUSD4JSG/p1726856912238529
4+
5+
[id="proc-customize-rhdh-branding-logo_{context}"]
6+
= Customizing the branding logo of your {product-short} instance
7+
8+
You can customize the branding logo of your {product-short} instance by configuring the `branding` section the `app-config-rhdh.yaml` file, as shown in the following example:
9+
10+
[source,yaml]
11+
----
12+
app:
13+
branding:
14+
fullLogo: ${BASE64_EMBEDDED_FULL_LOGO} <1>
15+
iconLogo: ${BASE64_EMBEDDED_ICON_LOGO} <2>
16+
----
17+
18+
where:
19+
20+
<1> `fullLogo` is the logo on the expanded (pinned) sidebar and expects a base64 encoded image.
21+
<2> `iconLogo` is the logo on the collapsed (unpinned) sidebar and expects a base64 encoded image.
22+
23+
You can also customize the width of the branding logo by setting a value for the `fullLogoWidth` field in the `branding` section, as shown in the following example:
24+
25+
[source,yaml]
26+
----
27+
app:
28+
branding:
29+
fullLogoWidth: 110px <1>
30+
# ...
31+
----
32+
33+
<1> The default value for the logo width is `110px`. The following units are supported: `integer`, `px`, `em`, `rem`, percentage.
34+

modules/customization/proc-customize-rhdh-sidebar-logo.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Module included in the following assemblies:
2-
// assembly-customize-rhdh-theme.adoc
2+
// None
3+
//Archived since the section has been merged with proc-customize-rhdh-branding-logo.adoc in PR #514
34

45
[id="proc-customize-rhdh-sidebar-logo_{context}"]
56
= Customizing the sidebar logo width for your {product-short} instance

0 commit comments

Comments
 (0)