Footer Bento
ICDC frontend - Footer component (New Design) System Information placement is accomodate for the visibility.
Global footer Configuration.
{
"footerLogoImage": "https://raw.githubusercontent.com/CBIIT/bento-frontend/master/src/assets/footer/FNL_logo.png",
"footerLogoAltText": "https://raw.githubusercontent.com/CBIIT/bento-frontend/master/src/assets/footer/FNL_logo.png",
"footerLogoHyperlink": "https://frederick.cancer.gov/",
"footerStaticText": "NIH … Turning Discovery Into Health®",
"maxSubsections": 3,
"maxSubsectionsLinks": 4,
"maxAnchorLinks": 4,
"version": "1.0,0",
"BEversion": "1.0.0",
"FileServiceVersion": "1.2.0",
"link_sections": [
{
"title": "About Bento",
"items": [
{
"text": "Purpose",
"link": "/purpose"
},
{
"text": "Resources",
"link": "/resources"
},
{
"text": "Documentation",
"link": "/documentation"
}
]
},
{
"title": 'System Info',
"systemInfoInLinkSection": true,
"items": [
{
"text": 'Resource',
"link": "/resources"
},
{
"text": `FE Version: ${env.REACT_APP_FE_VERSION}`,
},
{
"text": `BE Version: ${env.REACT_APP_BE_VERSION}`,
},
],
},
{
"title": "Support",
"items": [
{
"text": "Contact Us",
"link": "bento-help@nih.gov"
},
{
"link": "https://www.linkedin.com/",
"icon": "https://raw.githubusercontent.com/CBIIT/datacommons-assets/main/bento/images/icons/svgs/linkedInIcon.svg"
}
]
}
],
"global_footer_links": [
{
"text": "U.S. Department of Health and Human Services",
"link": "https://www.hhs.gov"
},
{
"text": "National Institutes of Health",
"link": "https://www.nih.gov"
},
{
"text": "National Cancer Institute",
"link": "https://www.cancer.gov"
},
{
"text": "USA.gov",
"link": "https://www.usa.gov"
}
]}
Updating style for horizontal line.
Use Themeprovider to update or remove horizontal line (MuiDivider) to implement new design
const themesLight = _.cloneDeep(themes.light);
themesLight.overrides.MuiDivider = {
root: {
height: '0px',
},
};
const computedTheme = createTheme({
...themesLight,
...overrides,
});
return (
<MuiThemeProvider theme={computedTheme}>
{children}
</MuiThemeProvider>
);
<CustomThemeProvider>
<Footer data={footerUpdatedData} />
</CustomThemeProvider>