|
25 | 25 | noEvents: 'No events have been added yet.', noMembers: 'No members have been added yet.', noPosts: 'No posts have been published yet.' |
26 | 26 | } |
27 | 27 | }; |
28 | | - const SECTIONS = ['comunidade', 'membros', 'eventos', 'projetos', 'blog', 'conduta', 'conheca-tambem']; |
| 28 | + const SECTIONS = ['comunidade', 'eventos', 'conduta', 'membros', 'projetos', 'blog', 'conheca-tambem']; |
29 | 29 | let lang = 'pt'; |
30 | 30 | let state = {}; |
31 | 31 |
|
|
136 | 136 | const nav = byId('navegacao'); |
137 | 137 | clear(nav); |
138 | 138 | [ |
139 | | - ['comunidade', text('community')], ['membros', text('members')], ['eventos', text('events')], |
140 | | - ['projetos', text('projects')], ['blog', text('blog')], ['conduta', text('conduct')], ['conheca-tambem', text('partners')] |
| 139 | + ['comunidade', text('community')], ['eventos', text('events')], ['conduta', text('conduct')], |
| 140 | + ['membros', text('members')], ['projetos', text('projects')], ['blog', text('blog')], ['conheca-tambem', text('partners')] |
141 | 141 | ].filter(([id]) => (id !== 'blog' || state.posts.length) |
142 | 142 | && (id !== 'membros' || state.members.length) |
143 | 143 | && (id !== 'projetos' || state.projects.length)) |
|
0 commit comments