Skip to content

Commit

Permalink
fix: plate title
Browse files Browse the repository at this point in the history
  • Loading branch information
freepoi authored and sushiAlii committed Dec 17, 2024
1 parent d3c5e2a commit 1766460
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configs/app/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const UI = Object.freeze({
plate: {
background: getEnvValue('NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND'),
textColor: getEnvValue('NEXT_PUBLIC_HOMEPAGE_PLATE_TEXT_COLOR'),
title: getEnvValue('NEXT_PUBLIC_HOMEPAGE_PLATE_TITLE') || `${ getEnvValue('NEXT_PUBLIC_NETWORK_NAME') } explorer`,
title: getEnvValue('NEXT_PUBLIC_HOMEPAGE_PLATE_TITLE'),
},
},
views,
Expand Down
4 changes: 2 additions & 2 deletions ui/home/HeroBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const HeroBanner = () => {
color={ textColor }
>
{
config.meta.seo.enhancedDataEnabled ?
config.UI.homepage.plate.title || (config.meta.seo.enhancedDataEnabled ?
`${ config.chain.name } blockchain explorer` :
`${ config.chain.name } explorer`
`${ config.chain.name } explorer`)
}
</Heading>
{ config.UI.navigation.layout === 'vertical' && (
Expand Down

0 comments on commit 1766460

Please sign in to comment.