@@ -12,14 +12,12 @@ const {
1212 MM_RPC_URL ,
1313} = require ( './src/plugins/plugin-json-rpc' )
1414const codeTheme = themes . dracula
15- const helpDropdown = fs . readFileSync ( './src/components/NavDropdown/DeveloperTools .html' , 'utf-8' )
16- const connectDropdown = fs . readFileSync (
17- './src/components/NavDropdown/ConnectMetaMask .html' ,
15+ const learnDropdown = fs . readFileSync ( './src/components/NavDropdown/Learn .html' , 'utf-8' )
16+ const productsDropdown = fs . readFileSync (
17+ './src/components/NavDropdown/Products .html' ,
1818 'utf-8'
1919)
2020const baseUrl = process . env . DEST || '/' ;
21- const embedDropdown = fs . readFileSync ( './src/components/NavDropdown/EmbedMetaMask.html' , 'utf-8' )
22- const extendDropdown = fs . readFileSync ( './src/components/NavDropdown/ExtendScale.html' , 'utf-8' )
2321const npm2yarnPlugin = [ require ( '@docusaurus/remark-plugin-npm2yarn' ) , { sync : true } ]
2422/** @type {import('@docusaurus/types').Config } */
2523const siteUrl = 'https://docs.metamask.io'
@@ -362,31 +360,21 @@ const config = {
362360 items : [
363361 {
364362 type : 'dropdown' ,
365- label : 'Connect to MetaMask ' ,
363+ label : 'Products ' ,
366364 items : [
367365 {
368366 type : 'html' ,
369- value : connectDropdown ,
367+ value : productsDropdown ,
370368 } ,
371369 ] ,
372370 } ,
373371 {
374372 type : 'dropdown' ,
375- label : 'Embed MetaMask ' ,
373+ label : 'Learn ' ,
376374 items : [
377375 {
378376 type : 'html' ,
379- value : embedDropdown ,
380- } ,
381- ] ,
382- } ,
383- {
384- type : 'dropdown' ,
385- label : 'Extend and scale' ,
386- items : [
387- {
388- type : 'html' ,
389- value : extendDropdown ,
377+ value : learnDropdown ,
390378 } ,
391379 ] ,
392380 } ,
@@ -396,18 +384,14 @@ const config = {
396384 position : 'left' ,
397385 } ,
398386 {
399- type : 'dropdown' ,
400- label : 'Developer tools' ,
401- items : [
402- {
403- type : 'html' ,
404- value : helpDropdown ,
405- } ,
406- ] ,
387+ to : 'developer-tools/faucet/' ,
388+ label : "Faucet" ,
389+ position : 'right' ,
390+ excludeUrl : REF_ALLOW_LOGIN_PATH ,
407391 } ,
408392 {
409- to : 'whats-new ' ,
410- label : "What's new? " ,
393+ to : 'https://community.metamask.io/ ' ,
394+ label : "Help ↗ " ,
411395 position : 'right' ,
412396 } ,
413397 {
0 commit comments