-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNavItems.ts
105 lines (103 loc) · 2.53 KB
/
NavItems.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
export interface NavItem {
label: string
subLabel?: string
children?: Array<NavItem>
href?: string
}
const examples = 'examples'
export const NAV_ITEMS: Array<NavItem> = [
{
label: `${examples}`,
children: [
{
label: 'Earth',
subLabel: 'Earth Sphere with clouds and stars',
href: `/earth`,
},
{
label: 'Flex grid',
subLabel: '3d components with flex',
href: `/flex-grid`,
},
{
label: 'Animated cube with text and link',
subLabel: 'clickable animated cube',
href: `/${examples}/box-animation`,
},
{
label: 'T Rex model',
subLabel: 'Load a T Rex model',
href: `/${examples}/t-rex`,
},
{
label: 'Clouds',
subLabel: 'Clouds with text',
href: `/${examples}/clouds`,
},
{
label: 'Image gallery',
subLabel: '3d Image gallery',
href: `/${examples}/image-gallery-with-panorama`,
},
{
label: 'Image gallery auto rotate',
subLabel: 'Lionel Messi 3d Image gallery',
href: `/${examples}/image-gallery-lionel-messi`,
},
{
label: 'Particles',
subLabel: 'Simple particles example',
href: `/${examples}/particles`,
},
{
label: '3D Text',
subLabel: '3D Text with MouseOnMove event',
href: `/${examples}/3d-text`,
},
{
label: 'Panorama',
subLabel: 'Beach panorama in three.js fiber',
href: `/${examples}/panorama`,
},
{
label: 'Room',
subLabel: 'Room with clickable window',
href: `/${examples}/room-with-clickable-window`,
},
{
label: 'Cubes',
subLabel: 'cubes from three.js fiber',
href: `/${examples}/cubes`,
},
{
label: 'Stars',
subLabel: 'stars example from drei',
href: `/${examples}/stars`,
},
{
label: 'Plain Geometry',
subLabel: 'simple geometry example',
href: `/${examples}/plain-geometry`,
},
],
},
{
label: 'Data fetching examples',
children: [
{
label: 'Frontend Frameworks Stars',
subLabel: 'Github stars for different frontend frameworks',
href: '/frontend-frameworks-stars',
},
// {
// label: 'Euro 21 top scorers',
// subLabel: 'data fetching example from football-data',
// href: '/euro-football',
// }
],
},
{
label: 'Useful links',
href: '/useful-links',
},
]