Commit ab50746c authored by isstuev's avatar isstuev

footer frontend link

parent 0409b908
...@@ -24,7 +24,7 @@ import getApiVersionUrl from './utils/getApiVersionUrl'; ...@@ -24,7 +24,7 @@ import getApiVersionUrl from './utils/getApiVersionUrl';
const MAX_LINKS_COLUMNS = 3; const MAX_LINKS_COLUMNS = 3;
// const FRONT_VERSION_URL = `https://github.com/blockscout/frontend/tree/${ config.UI.footer.frontendVersion }`; const FRONT_VERSION_URL = `https://github.com/blockscout/frontend/tree/${ config.UI.footer.frontendVersion }`;
const Footer = () => { const Footer = () => {
...@@ -113,8 +113,7 @@ const Footer = () => { ...@@ -113,8 +113,7 @@ const Footer = () => {
) } ) }
{ (config.UI.footer.frontendVersion || config.UI.footer.frontendCommit) && ( { (config.UI.footer.frontendVersion || config.UI.footer.frontendCommit) && (
<Text fontSize="xs"> <Text fontSize="xs">
{ /* Frontend: <Link href={ FRONT_VERSION_URL } target="_blank">{ config.UI.footer.frontendVersion }</Link> */ } Frontend: <Link href={ FRONT_VERSION_URL } target="_blank">{ config.UI.footer.frontendVersion }</Link>
Frontend: { [ config.UI.footer.frontendVersion, config.UI.footer.frontendCommit ].filter(Boolean).join('+') }
</Text> </Text>
) } ) }
</VStack> </VStack>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment