JSFiddle - React, Tailwind, and code Playground
by letanure
JavaScript
BandLib = window.BandLib || {};
(function () {
BandLib.menu = {
config: {
baseUrl : "http://e.band.com.br/"
},//config
editorias = {
0: {
label : "Notícias",
url : "noticias",
subeditoria :{
0 : {
label : "Editorias",
links :{
0 : { label : "Brasil" , url : "brasil"},
1 : { label : "Mundo" , url : "mundo"},
2 : { label : "Economia" , url : "economia"},
3 : { label : "Cidades" , url : "cidades"},
4 : { label : "Tecnologia" , url : "tecnologia"}
}
},
1 : {
label : "Serviços",
links :{
0 : { label : "Prev. tempo", url : "http://e.band.com.br/servicos/previsao-do-tempo/"},
1 : { label : "Brasil", url : "brasil"},
}
},
2 : {
label : "Band",
links :{
0 : { label : "Brasil", url : "brasil"},
}
},
3 : {
label : "Blogs",
links :{
0 : { label : "Brasil", url : "brasil"},
}
}
}
},// fim noticias
2: {
label : "Esporte",
url : "esporte",
subeditoria :{
0 : {
label : "NOMR_QUE_APARECE",
links :{
0 : { label : "NOME...