1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
- exports [` Default render 1` ] = ` <div />` ;
3
+ exports [` Default render 1` ] = `
4
+ <div >
5
+ <TopNav
6
+ loggedIn = { true }
7
+ logo = {
8
+ <Logo
9
+ height = " 20"
10
+ viewBox = " 0 0 54 20"
11
+ width = " 54"
12
+ xmlns = " http://www.w3.org/2000/svg"
13
+ />
14
+ }
15
+ menu = {
16
+ Array [
17
+ Object {
18
+ " href" : " https://www.topcoder-dev.com" ,
19
+ " id" : " business" ,
20
+ " title" : " BUSINESS" ,
21
+ },
22
+ Object {
23
+ " id" : " community" ,
24
+ " secondaryMenu" : Array [
25
+ Object {
26
+ " href" : " /my-dashboard" ,
27
+ " logged" : true ,
28
+ " title" : " Dashboard" ,
29
+ },
30
+ Object {
31
+ " href" : " /members/willFilledByUserName" ,
32
+ " id" : " myprofile" ,
33
+ " logged" : true ,
34
+ " title" : " My Profile" ,
35
+ },
36
+ Object {
37
+ " href" : " https://community.topcoder-dev.com/PactsMemberServlet?module=PaymentHistory&full_list=false" ,
38
+ " logged" : true ,
39
+ " openNewTab" : true ,
40
+ " title" : " Payments" ,
41
+ },
42
+ Object {
43
+ " href" : " /community/learn" ,
44
+ " logged" : false ,
45
+ " title" : " Overview" ,
46
+ },
47
+ Object {
48
+ " href" : " /thrive/tracks?track=Topcoder" ,
49
+ " logged" : false ,
50
+ " title" : " How It Works" ,
51
+ },
52
+ ],
53
+ " subMenu" : Array [
54
+ Object {
55
+ " subMenu" : Array [
56
+ Object {
57
+ " href" : " /challenges" ,
58
+ " title" : " All Challenges" ,
59
+ },
60
+ Object {
61
+ " href" : " https://arena.topcoder-dev.com" ,
62
+ " title" : " Competitive Programming" ,
63
+ },
64
+ Object {
65
+ " href" : " /community/taas" ,
66
+ " title" : " Gig Work" ,
67
+ },
68
+ ],
69
+ " title" : " Compete" ,
70
+ },
71
+ Object {
72
+ " subMenu" : Array [
73
+ Object {
74
+ " href" : " /thrive/tracks?track=Competitive%20Programming" ,
75
+ " title" : " Competitive Programming" ,
76
+ },
77
+ Object {
78
+ " href" : " /thrive/tracks?track=Data%20Science&tax=" ,
79
+ " title" : " Data Science" ,
80
+ },
81
+ Object {
82
+ " href" : " /thrive/tracks?track=Design&tax=" ,
83
+ " title" : " Design" ,
84
+ },
85
+ Object {
86
+ " href" : " /thrive/tracks?track=Development&tax=" ,
87
+ " title" : " Development" ,
88
+ },
89
+ Object {
90
+ " href" : " /thrive/tracks?track=QA&tax=" ,
91
+ " title" : " QA" ,
92
+ },
93
+ ],
94
+ " title" : " Tracks" ,
95
+ },
96
+ Object {
97
+ " subMenu" : Array [
98
+ Object {
99
+ " href" : " /community/member-programs/topcoder-open" ,
100
+ " title" : " TCO" ,
101
+ },
102
+ Object {
103
+ " href" : " /community/member-programs" ,
104
+ " title" : " Programs" ,
105
+ },
106
+ Object {
107
+ " href" : " https://apps.topcoder-dev.com/forums" ,
108
+ " openNewTab" : true ,
109
+ " title" : " Forums" ,
110
+ },
111
+ Object {
112
+ " href" : " /community/statistics" ,
113
+ " title" : " Statistics" ,
114
+ },
115
+ Object {
116
+ " href" : " https://www.topcoder-dev.com/blog" ,
117
+ " title" : " Blog" ,
118
+ },
119
+ Object {
120
+ " href" : " /thrive" ,
121
+ " title" : " Thrive" ,
122
+ },
123
+ ],
124
+ " title" : " Explore" ,
125
+ },
126
+ ],
127
+ " title" : " COMMUNITY" ,
128
+ },
129
+ ]
130
+ }
131
+ onChangeLevel1Id = { [Function ]}
132
+ openMore = { true }
133
+ profileHandle = " huanner"
134
+ rightMenu = {
135
+ <LoginNav
136
+ accountMenu = {
137
+ Array [
138
+ Object {
139
+ " href" : " /settings/profile" ,
140
+ " title" : " Settings" ,
141
+ },
142
+ Object {
143
+ " separator" : true ,
144
+ },
145
+ Object {
146
+ " href" : " https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder&tax=Help%20Articles" ,
147
+ " title" : " Help" ,
148
+ },
149
+ Object {
150
+ " separator" : true ,
151
+ },
152
+ Object {
153
+ " href" : " https://www.topcoder-dev.com/logout" ,
154
+ " title" : " Log Out" ,
155
+ },
156
+ ]
157
+ }
158
+ auth = { null }
159
+ authURLs = {
160
+ Object {
161
+ " href" : " https://accounts.topcoder-dev.com/member/registration?utm_source=community-app-main" ,
162
+ " location" : " https://accounts.topcoder-dev.com/member?retUrl=%S&utm_source=community-app-main" ,
163
+ }
164
+ }
165
+ loggedIn = { true }
166
+ notificationButtonState = " new"
167
+ notifications = { Array []}
168
+ onMenuOpen = { [Function ]}
169
+ onSwitch = { [Function ]}
170
+ profile = {
171
+ Object {
172
+ " description" : " devxxxxxx" ,
173
+ " email" : " liwanxiang@gmail.com" ,
174
+ " handle" : " huanner" ,
175
+ " photoURL" : " https://d1aahxkjiobka8.cloudfront.net/avatar/https%3A%2F%2Ftopcoder-dev-media.s3.amazonaws.com%2Fmember%2Fprofile%2Fhuanner-1552562543506.png?size=32" ,
176
+ }
177
+ }
178
+ showNotification = { true }
179
+ switchText = {
180
+ Object {
181
+ " href" : " https://connect.topcoder-dev.com" ,
182
+ " title" : " Switch to BUSINESS" ,
183
+ }
184
+ }
185
+ />
186
+ }
187
+ setOpenMore = { [Function ]}
188
+ theme = " light"
189
+ />
190
+ </div >
191
+ ` ;
0 commit comments