You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ENVS.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ All json-like values should be single-quoted. If it contains a hash (`#`) or a d
22
22
-[UI configuration](#ui-configuration)
23
23
-[Homepage](#homepage)
24
24
-[Navigation](#navigation)
25
+
-[Featured networks](#featured-networks)
25
26
-[Footer](#footer)
26
27
-[Favicon](#favicon)
27
28
-[Meta](#meta)
@@ -161,12 +162,18 @@ _Note_ Here, all values are arrays of up to two strings. The first string repres
161
162
| NEXT_PUBLIC_NETWORK_LOGO_DARK |`string`| Network logo for dark color mode; if not provided, **inverted** regular logo will be used instead | - | - |`https://placekitten.com/240/40`| v1.0.x+ |
162
163
| NEXT_PUBLIC_NETWORK_ICON |`string`| Network icon; used as a replacement for regular network logo when nav bar is collapsed; if not provided, placeholder will be shown; *Note* the icon size should be at least 60px by 60px | - | - |`https://placekitten.com/60/60`| v1.0.x+ |
163
164
| NEXT_PUBLIC_NETWORK_ICON_DARK |`string`| Network icon for dark color mode; if not provided, **inverted** regular icon will be used instead | - | - |`https://placekitten.com/60/60`| v1.0.x+ |
164
-
| NEXT_PUBLIC_FEATURED_NETWORKS |`string`| URL of configuration file (`.json` format only) or file content string representation. It contains list of featured networks that will be shown in the network menu. See [below](#featured-network-configuration-properties) list of available properties for particular network | - | - |`https://example.com/featured_networks_config.json`\|`[{'title':'Astar(EVM)','url':'https://astar.blockscout.com/','group':'Mainnets','icon':'https://example.com/astar.svg'}]`| v1.0.x+ |
165
165
| NEXT_PUBLIC_OTHER_LINKS |`Array<{url: string; text: string}>`| List of links for the "Other" navigation menu | - | - |`[{'url':'https://blockscout.com','text':'Blockscout'}]`| v1.0.x+ |
166
166
| NEXT_PUBLIC_NAVIGATION_HIGHLIGHTED_ROUTES |`Array<string>`| List of menu item routes that should have a lightning label | - | - |`['/accounts']`| v1.31.0+ |
167
167
| NEXT_PUBLIC_NAVIGATION_LAYOUT |`vertical \| horizontal`| Navigation menu layout type | - |`vertical`|`horizontal`| v1.32.0+ |
168
168
| NEXT_PUBLIC_NAVIGATION_PROMO_BANNER_CONFIG |`string`| Configuration of promo banner in the navigation menu. See [below](#navigation-promo-banner-configuration-properties) list of available properties for particular banner type | - | - |`{'img_url': 'https://example.com/promo.svg', 'text': 'Promo text', 'bg_color': {'light': 'rgb(250, 245, 255)', 'dark': 'rgb(68, 51, 122)'}, 'text_color': {'light': 'rgb(107, 70, 193)', 'dark': 'rgb(233, 216, 253)'}, 'link_url': 'https://example.com'}`| v2.3.0+ |
169
169
170
+
### Featured networks
171
+
172
+
| Variable | Type| Description | Compulsoriness | Default value | Example value | Version |
173
+
| --- | --- | --- | --- | --- | --- | --- |
174
+
| NEXT_PUBLIC_FEATURED_NETWORKS |`string`| URL of configuration file (`.json` format only) or file content string representation. It contains list of featured networks that will be shown in the network menu. See [below](#featured-network-configuration-properties) list of available properties for particular network | - | - |`https://example.com/featured_networks_config.json`\|`[{'title':'Astar(EVM)','url':'https://astar.blockscout.com/','group':'Mainnets','icon':'https://example.com/astar.svg'}]`| v1.0.x+ |
175
+
| NEXT_PUBLIC_FEATURED_NETWORKS_ALL_LINK |`string`| Link to the all chains resource. Will be displayed at the bottom of featured networks list. | Works only if NEXT_PUBLIC_FEATURED_NETWORKS is set | - |`https://example.com`| v2.3.0+ |
176
+
170
177
#### Featured network configuration properties
171
178
172
179
| Variable | Type| Description | Compulsoriness | Default value | Example value |
0 commit comments