Skip to content

Commit ff229ef

Browse files
authored
Merge pull request #66 from funnyzak/refactor/node
2 parents 735340f + 1022095 commit ff229ef

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/helper/node.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,15 @@ export interface TabNodeProps {
1616
export let TabNodes: TabNodeProps[] = [
1717
{ title: 'Life', parentNodeNames: ['life'] },
1818
{ title: 'Geek', parentNodeNames: ['geek'] },
19+
{ title: 'V2EX', parentNodeNames: ['v2ex'] },
20+
{ title: 'Internet', parentNodeNames: ['internet'] },
1921
{ title: 'Programming', parentNodeNames: ['programming'] },
20-
{ title: 'Earth', parentNodeNames: ['cn', 'us'] },
21-
{ title: 'V2EX', parentNodeNames: ['v2ex'] }
22+
{ title: 'Programming', parentNodeNames: ['programming'] },
23+
{ title: 'Apple', parentNodeNames: ['apple'] },
24+
{ title: 'Games', parentNodeNames: ['games'] },
25+
{ title: 'Cloud', parentNodeNames: ['cloud'] },
26+
{ title: 'Hardware', parentNodeNames: ['hardware'] },
27+
{ title: 'Earth', parentNodeNames: ['cn', 'us'] }
2228
]
2329

2430
export const nodeChildren = (rootNode: TabNodeProps, nodeData?: V2exObject.Node[]): V2exObject.Node[] => {

0 commit comments

Comments
 (0)