Skip to content

Commit

Permalink
capitalize E
Browse files Browse the repository at this point in the history
  • Loading branch information
elclandestin0 committed Dec 20, 2024
1 parent bea2f63 commit aa101e2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions configs/envs/.env.game7
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ NEXT_PUBLIC_NETWORK_ICON_DARK=https://raw.githubusercontent.com/blockscout/front
NEXT_PUBLIC_NETWORK_ID=2187
NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/arbitrum-one-logo-light.svg
NEXT_PUBLIC_NETWORK_LOGO_DARK=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/arbitrum-one-logo-dark.svg
NEXT_PUBLIC_NETWORK_NAME=G7 Mainnet
NEXT_PUBLIC_NETWORK_NAME=G7 Network
NEXT_PUBLIC_NETWORK_RPC_URL=https://mainnet-rpc.game7.io
NEXT_PUBLIC_NETWORK_SHORT_NAME=G7 Mainnet
NEXT_PUBLIC_NETWORK_SHORT_NAME=G7 Network
NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED=true
NEXT_PUBLIC_OG_IMAGE_URL=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/og-images/arbitrum-one.png
NEXT_PUBLIC_ROLLUP_L1_BASE_URL=https://eth.blockscout.com
Expand Down
4 changes: 2 additions & 2 deletions configs/envs/.env.game7_testnet
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ NEXT_PUBLIC_NETWORK_ICON_DARK=https://raw.githubusercontent.com/blockscout/front
NEXT_PUBLIC_NETWORK_ID=13746
NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/arbitrum-one-logo-light.svg
NEXT_PUBLIC_NETWORK_LOGO_DARK=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/arbitrum-one-logo-dark.svg
NEXT_PUBLIC_NETWORK_NAME=G7 Testnet
NEXT_PUBLIC_NETWORK_NAME=G7 Sepolia
NEXT_PUBLIC_NETWORK_RPC_URL=https://testnet-rpc.game7.io
NEXT_PUBLIC_NETWORK_SHORT_NAME=G7 Testnet
NEXT_PUBLIC_NETWORK_SHORT_NAME=G7 Sepolia
NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED=true
NEXT_PUBLIC_OG_IMAGE_URL=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/og-images/arbitrum-one.png
NEXT_PUBLIC_ROLLUP_L1_BASE_URL=https://eth.blockscout.com
Expand Down
2 changes: 1 addition & 1 deletion docs/ENVS-old.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Settings for meta tags, OG tags and SEO
| Variable | Type| Description | Compulsoriness | Default value | Example value | Version |
| --- | --- | --- | --- | --- | --- | --- |
| NEXT_PUBLIC_PROMOTE_BLOCKSCOUT_IN_TITLE | `boolean` | Set to `true` to promote Blockscout in meta and OG titles | - | `true` | `true` | v1.12.0+ |
| NEXT_PUBLIC_OG_DESCRIPTION | `string` | Custom OG description | - | - | `Discover the G7 Chain with our blockchain explorer. Access real-time data on transactions, blocks, and smart contracts to stay informed on the G7 ecosystem.` | v1.12.0+ |
| NEXT_PUBLIC_OG_DESCRIPTION | `string` | Custom OG description | - | - | `Discover the G7 Network with our blockchain explorer. Access real-time data on transactions, blocks, and smart contracts to stay informed on the G7 ecosystem.` | v1.12.0+ |
| NEXT_PUBLIC_OG_IMAGE_URL | `string` | OG image url. Minimum image size is 200 x 20 pixels (recommended: 1200 x 600); maximum supported file size is 8 MB; 2:1 aspect ratio; supported formats: image/jpeg, image/gif, image/png | - | `static/og_placeholder.png` | `https://placekitten.com/1200/600` | v1.12.0+ |
| NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED | `boolean` | Set to `true` to populate OG tags (title, description) with API data for social preview robot requests | - | `false` | `true` | v1.29.0+ |
| NEXT_PUBLIC_SEO_ENHANCED_DATA_ENABLED | `boolean` | Set to `true` to pre-render page titles (e.g Token page) on the server side and inject page h1-tag to the markup before it is sent to the browser. | - | `false` | `true` | v1.30.0+ |
Expand Down
2 changes: 1 addition & 1 deletion lib/metadata/templates/description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Route } from 'nextjs-routes';

// equal og:description
// eslint-disable-next-line max-len
const DEFAULT_TEMPLATE = ' Discover the G7 Network with our blockchain explorer. Access real-time data on transactions, blocks, and smart contracts to stay informed on the network.';
const DEFAULT_TEMPLATE = 'Discover the G7 Network with our blockchain explorer. Access real-time data on transactions, blocks, and smart contracts to stay informed on the network.';

// FIXME all page descriptions will be updated later
const TEMPLATE_MAP: Record<Route['pathname'], string> = {
Expand Down
14 changes: 7 additions & 7 deletions lib/metadata/templates/title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type { Route } from 'nextjs-routes';
import config from 'configs/app';

const TEMPLATE_MAP: Record<Route['pathname'], string> = {
'/': '%network_name% blockchain explorer - View %network_name% stats',
'/txs': '%network_name% transactions - %network_name% explorer',
'/': '%network_name% Blockchain Explorer - View %network_name% stats',
'/txs': '%network_name% transactions - %network_name% Explorer',
'/txs/kettle/[hash]': '%network_name% kettle %hash% transactions',
'/tx/[hash]': '%network_name% transaction %hash%',
'/blocks': '%network_name% blocks',
Expand All @@ -14,10 +14,10 @@ const TEMPLATE_MAP: Record<Route['pathname'], string> = {
'/accounts': '%network_name% top accounts',
'/accounts/label/[slug]': '%network_name% addresses search by label',
'/address/[hash]': '%network_name% address details for %hash%',
'/verified-contracts': 'Verified %network_name% contracts lookup - %network_name% explorer',
'/verified-contracts': 'Verified %network_name% contracts lookup - %network_name% Explorer',
'/contract-verification': '%network_name% verify contract',
'/address/[hash]/contract-verification': '%network_name% contract verification for %hash%',
'/tokens': 'Tokens list - %network_name% explorer',
'/tokens': 'Tokens list - %network_name% Explorer',
'/token/[hash]': '%network_name% token details',
'/token/[hash]/instance/[id]': '%network_name% NFT instance',
'/apps': '%network_name% DApps - Explore top apps',
Expand All @@ -34,7 +34,7 @@ const TEMPLATE_MAP: Record<Route['pathname'], string> = {
'/account/tag-address': '%network_name% - private tags',
'/account/verified-addresses': '%network_name% - my verified addresses',
'/public-tags/submit': '%network_name% - public tag requests',
'/withdrawals': '%network_name% withdrawals - track on %network_name% explorer',
'/withdrawals': '%network_name% withdrawals - track on %network_name% Explorer',
'/visualize/sol2uml': '%network_name% Solidity UML diagram',
'/csv-export': '%network_name% export data to CSV',
'/deposits': '%network_name% deposits (L1 > L2)',
Expand All @@ -43,10 +43,10 @@ const TEMPLATE_MAP: Record<Route['pathname'], string> = {
'/batches': '%network_name% tx batches (L2 blocks)',
'/batches/[number]': '%network_name% L2 tx batch %number%',
'/blobs/[hash]': '%network_name% blob %hash% details',
'/ops': 'User operations on %network_name% - %network_name% explorer',
'/ops': 'User operations on %network_name% - %network_name% Explorer',
'/op/[hash]': '%network_name% user operation %hash%',
'/404': '%network_name% error - page not found',
'/name-domains': '%network_name% name domains - %network_name% explorer',
'/name-domains': '%network_name% name domains - %network_name% Explorer',
'/name-domains/[name]': '%network_name% %name% domain details',
'/validators': '%network_name% validators list',
'/gas-tracker': '%network_name% gas tracker - Current gas fees',
Expand Down

0 comments on commit aa101e2

Please sign in to comment.