Skip to content

Commit

Permalink
feat: customize search bar text and explorer tab text
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-altr committed Mar 6, 2024
1 parent c4ea3d6 commit f3bb216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/metadata/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export default function generate<R extends Route>(route: R, apiData?: ApiData<R>
};

const compiledTitle = compileValue(templates.title.make(route.pathname), params);
const title = compiledTitle ? compiledTitle + (config.meta.promoteBlockscoutInTitle ? ' | Blockscout' : '') : '';
//const title = compiledTitle ? compiledTitle + (config.meta.promoteBlockscoutInTitle ? ' | Blockscout' : '') : '';
const title = 'Prom Testnet Explorer'
const description = compileValue(templates.description.make(route.pathname), params);

const pageOgType = getPageOgType(route.pathname);
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Home = () => {
fontWeight={ 600 }
color={ config.UI.homepage.plate.textColor }
>
{ config.chain.name } explorer
Welcome to { config.chain.name } Explorer
</Heading>
<Box display={{ base: 'none', lg: 'flex' }}>
{ config.features.account.isEnabled && <ProfileMenuDesktop isHomePage/> }
Expand Down

0 comments on commit f3bb216

Please sign in to comment.