|
18 | 18 | vm.menuLinks =
|
19 | 19 | {
|
20 | 20 | 'compete': [
|
21 |
| - { 'href': "/challenges/design/active/", 'text': 'DESIGN CHALLENGES', 'icon': 'design' }, |
22 |
| - { 'href': "/challenges/develop/active", 'text': 'DEVELOPMENT CHALLENGES', 'icon': 'development' }, |
23 |
| - { 'href': "/challenges/data/active", 'text': 'DATA SCIENCE CHALLENGES', 'icon': 'data-science' }, |
24 |
| - { 'href': vm.constants.ARENA_URL, 'text': 'THE ARENA', 'icon': 'srms' }, |
| 21 | + { 'href': "/challenges/design/active/", 'text': 'DESIGN CHALLENGES', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/design.svg' }, |
| 22 | + { 'href': "/challenges/develop/active", 'text': 'DEVELOPMENT CHALLENGES', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/development.svg' }, |
| 23 | + { 'href': "/challenges/data/active", 'text': 'DATA SCIENCE CHALLENGES', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/data-science.svg' }, |
| 24 | + { 'href': vm.constants.ARENA_URL, 'text': 'THE ARENA', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/srms.svg' }, |
25 | 25 | ],
|
26 | 26 | 'learn': [
|
27 |
| - { 'href': '/community/design/', 'text': 'DESIGN', 'icon': 'scroll-design' }, |
28 |
| - { 'href': '/community/development/', 'text': 'DEVELOPMENT', 'icon': 'scroll-develop' }, |
29 |
| - { 'href': '/community/data-science/', 'text': 'DATA SCIENCE', 'icon': 'scroll-data' }, |
30 |
| - { 'href': '/community/data-science/', 'text': 'COMPETITIVE PROGRAMMING', 'icon': 'srms' }, |
| 27 | + { 'href': '/community/design/', 'text': 'DESIGN', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/scroll-design.svg' }, |
| 28 | + { 'href': '/community/development/', 'text': 'DEVELOPMENT', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/scroll-develop.svg' }, |
| 29 | + { 'href': '/community/data-science/', 'text': 'DATA SCIENCE', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/scroll-data.svg' }, |
| 30 | + { 'href': '/community/data-science/', 'text': 'COMPETITIVE PROGRAMMING', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/srms.svg' }, |
31 | 31 | ],
|
32 | 32 | 'community': [
|
33 |
| - { 'href': '/community/members/', 'text': 'MEMBERS', 'icon': 'users' }, |
34 |
| - { 'href': '/community/member-programs/', 'text': 'PROGRAMS', 'icon': 'medal' }, |
35 |
| - { 'href': vm.constants.FORUMS_APP_URL, 'text': 'FORUMS', 'icon': 'forum' }, |
36 |
| - { 'href': '/community/statistics/', 'text': 'STATISTICS', 'icon': 'statistics' }, |
37 |
| - { 'href': '/community/events/', 'text': 'EVENTS', 'icon': 'calendar' }, |
38 |
| - { 'href': '/blog/', 'text': 'BLOG', 'icon': 'blog' } |
| 33 | + { 'href': '/community/members/', 'text': 'MEMBERS', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/users.svg' }, |
| 34 | + { 'href': '/community/member-programs/', 'text': 'PROGRAMS', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/medal.svg' }, |
| 35 | + { 'href': vm.constants.FORUMS_APP_URL, 'text': 'FORUMS', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/forum.svg' }, |
| 36 | + { 'href': '/community/statistics/', 'text': 'STATISTICS', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/statistics.svg' }, |
| 37 | + { 'href': '/community/events/', 'text': 'EVENTS', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/calendar.svg' }, |
| 38 | + { 'href': '/blog/', 'text': 'BLOG', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/blog.svg' } |
39 | 39 | ]
|
40 | 40 | };
|
41 | 41 |
|
|
66 | 66 | if (vm.isAuth) {
|
67 | 67 | vm.userHandle = UserService.getUserIdentity().handle;
|
68 | 68 | vm.userMenu = [
|
69 |
| - { 'sref': 'dashboard', 'text': 'DASHBOARD', 'icon': 'dashboard' }, |
70 |
| - { 'sref': 'profile.about', 'srefParams': { 'userHandle': vm.userHandle }, 'text': 'MY PROFILE', 'icon': 'badge' }, |
71 |
| - { 'href': vm.constants.COMMUNITY_URL + '/PactsMemberServlet?module=PaymentHistory&full_list=false', 'text': 'PAYMENTS', 'icon': 'money-bag' }, |
72 |
| - { 'sref': 'settings.profile', 'text': 'SETTINGS', 'icon': 'gear' }, |
| 69 | + { 'sref': 'dashboard', 'text': 'DASHBOARD', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/dashboard.svg' }, |
| 70 | + { 'sref': 'profile.about', 'srefParams': { 'userHandle': vm.userHandle }, 'text': 'MY PROFILE', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/badge.svg' }, |
| 71 | + { 'href': vm.constants.COMMUNITY_URL + '/PactsMemberServlet?module=PaymentHistory&full_list=false', 'text': 'PAYMENTS', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/money-bag.svg' }, |
| 72 | + { 'sref': 'settings.profile', 'text': 'SETTINGS', 'icon': vm.constants.ASSET_PREFIX + '/images/nav/gear.svg' }, |
73 | 73 | ];
|
74 | 74 |
|
75 | 75 | ProfileService.getUserProfile(vm.userHandle)
|
|
0 commit comments