Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit fb14273

Browse files
author
Nick Litwin
committed
Change 2 links to use states
1 parent 6850f1c commit fb14273

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

app/sitemap/sitemap.jade

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.sitemap-wrapper
55
section.sitemap-nav
66
h2.sitemap-header Compete
7+
78
ul
89
li
910
a(href="/challenges/design/active") Design Challenges
@@ -17,6 +18,7 @@
1718

1819
section.sitemap-nav.hide-small
1920
h2.sitemap-header Learn
21+
2022
ul
2123
li
2224
a(href="/community/design") Design
@@ -29,6 +31,7 @@
2931

3032
section.sitemap-nav
3133
h2.sitemap-header Community
34+
3235
ul
3336
li
3437
a(href="/community") Home
@@ -47,12 +50,13 @@
4750

4851
section.sitemap-nav.hide-small
4952
h2.sitemap-header My Account
53+
5054
ul
5155
li
52-
a(href="/my-dashboard") Dashboard
56+
a(ui-sref="dashboard") Dashboard
5357
li
5458
a(href="/members/") My Profile
5559
li
56-
a(href="/settings/profile") Settings
60+
a(ui-sref="settings.profile") Settings
5761

5862

app/sitemap/sitemap.routes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
function routes($stateProvider, $locationProvider) {
1111
$locationProvider.html5Mode(true);
12+
1213
var states = {
1314
'sitemap': {
1415
parent: 'root',

0 commit comments

Comments
 (0)