Configuring logo and favicon for registry portals
1. Overview
Registry admins and developers can now customize logo images, loaders, and favicons for user portals and the Administrative Portal within each registry on the Platform. This feature enhances personalization capabilities, enabling the creation of unique and consistent visual styles tailored to individual resources.
2. Key features
-
Customizable logos: Ability to update default logo images, loaders, and favicons for each registry.
-
Unified visual style: Logos configured at the registry regulations level are automatically applied to the Administrative Portal and User Portals.
-
Flexible customization: Ability to configure different logos for multiple registries within the same Platform, ensuring a tailored approach for each environment.
-
Change implementation via Gerrit: Logo, loader, and favicon images are configured through the Gerrit system, ensuring an efficient and streamlined customization process.
|
3. Configuration steps
Step 1: Clone the registry regulations repo
Clone the regulations repository for the registry to your local machine using the following command:
git clone <repository_url>
Step 2: Update images locally
Replace the logo, loader, and favicon images by copying the respective files into the assets
folder of the regulations repository:
-
header-logo.svg
-
loader-logo.svg
-
favicon.png
The favicon file must be in .png format with dimensions of 32x32 pixels.
|
Step 3: Commit changes to the repository
Run the following commands in the Git console for the registry repository:
git add .
git commit -m "updated logos"
git push origin HEAD:refs/for/master
Step 4: Apply changes via Gerrit
Access the registry’s Gerrit service and perform a git merge
of the changes by applying the created Merge Request (MR) to the master
version of the regulations.
Step 5: Wait for build completion
Wait for the successful completion of the MASTER-Build-registry-regulation job in the registry Jenkins.
Step 6: Verify changes
-
Access the following portals:
-
Officer portal;
-
Citizen portal;
-
Administrative Portal.
-
-
Verify that the header logo, loader, and favicon images have been updated as per the files in the
master
branch of the repository.
4. Interface behavior notes
-
Updated logos and other images are automatically displayed across all pages of the user and administrative portals.
-
All configurations are stored in the
master
branch of the repository and applied without requiring manual intervention or additional actions from portal users.