@@ -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 config = {
@@ -307,31 +305,21 @@ const config = {
307305 items : [
308306 {
309307 type : 'dropdown' ,
310- label : 'Connect to MetaMask ' ,
308+ label : 'Products ' ,
311309 items : [
312310 {
313311 type : 'html' ,
314- value : connectDropdown ,
312+ value : productsDropdown ,
315313 } ,
316314 ] ,
317315 } ,
318316 {
319317 type : 'dropdown' ,
320- label : 'Embed MetaMask ' ,
318+ label : 'Learn ' ,
321319 items : [
322320 {
323321 type : 'html' ,
324- value : embedDropdown ,
325- } ,
326- ] ,
327- } ,
328- {
329- type : 'dropdown' ,
330- label : 'Extend and scale' ,
331- items : [
332- {
333- type : 'html' ,
334- value : extendDropdown ,
322+ value : learnDropdown ,
335323 } ,
336324 ] ,
337325 } ,
@@ -341,18 +329,14 @@ const config = {
341329 position : 'left' ,
342330 } ,
343331 {
344- type : 'dropdown' ,
345- label : 'Developer tools' ,
346- items : [
347- {
348- type : 'html' ,
349- value : helpDropdown ,
350- } ,
351- ] ,
332+ to : 'developer-tools/faucet/' ,
333+ label : "Faucet" ,
334+ position : 'right' ,
335+ excludeUrl : REF_ALLOW_LOGIN_PATH ,
352336 } ,
353337 {
354- to : 'whats-new ' ,
355- label : "What's new? " ,
338+ to : 'https://community.metamask.io/ ' ,
339+ label : "Help ↗ " ,
356340 position : 'right' ,
357341 } ,
358342 {
0 commit comments