Customize appearance of the front end¶
Below we show a few examples of how to customize the Gen3 Data Portal.
For a more technical and complete background, see portal configurations on GitHub.
Login Page¶
Login Image¶
Customize the image that appears on the Login Page with a vector graphic (eg. *.svg) of your choice.
Information on Login and Commons¶
Customize the text that appears on the Login Page by specifying title, description, subtitle, contact, or email.
Landing Page¶
Information on Commons¶
Customize the name of the Data Commons, the info text, and the button below that appear on the top left side of the Landing Page after logging in.
Summary Statistics¶
Customize the summary statistics that appear on the top right side of the Landing Page after logging in. The attributes are graphQL fields, which must be in the dictionary, configured in the etlMapping.yaml, and populated with data on the backend.
- Review the code to edit graphQL queries.
- Review the code to edit the graphQl queries after being logged in.
Cards¶
Customize the cards that appear on the bottom of the Landing Page after logging in.
- Review the code to edit name, icons, body, link, and label of the cards.
- Adding a new icon requires saving the icon in this repository and in this file.
Navigation Items¶
Customize the icons, link, and names that appear on the Data Commons navigation bar. The "tooltip" shows text upon hovering over the icon.
- [Review the code to edit icon, link, color, tooltip, and name of the navigation items][gitops.json navbar].
- Adding a new icon requires saving the icon in this repository and [in this file][icons inex].
Data Commons or Mesh Title¶
Customize the title that appears in the top left corner such as for the Biomedical Research Hub.
Top Bar¶
Customize the top bar that appears in the top right corner.
Color Theme¶
Customize the color theme for buttons, top navigation bar, and any types of charts on the Exploration and Landing Page.
Footer Logo¶
Customize the logos in the Footer.
Notebook Browser¶
Customize the Notebook Browser page to preview Jupyter Notebooks by adding images, titles, descriptions, and links to the Jupyter Notebook.