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

Commit 960f5b2

Browse files
committed
Merge pull request #544 from appirio-tech/sitemap-updates
Sitemap updates
2 parents 2f76c70 + fb14273 commit 960f5b2

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
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',

assets/css/sitemap/sitemap.scss

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,92 @@
1-
// Sitemap styles
1+
@import 'tc-includes';
2+
23
.sitemap-container {
34
margin: 10px;
4-
background: #fff;
5+
background: $white;
56
padding: 34px 26px;
67
font-family: 'Sofia Pro';
7-
88
@media only screen and (min-width: 768px) {
99
margin: 0;
1010
padding: 0;
11-
background: #F6F6F6;
12-
11+
background: $gray-lighter;
12+
1313
.sitemap-wrapper {
1414
margin: 58px 69px;
15-
background: #fff;
15+
background: $white;
1616
padding: 41px 58px;
17-
17+
1818
&:after {
1919
display: block;
2020
content: '';
2121
clear: both;
2222
}
2323
}
2424
}
25-
25+
2626
.page-header {
2727
font-size: 22px;
2828
font-weight: bold;
2929
text-align: center;
30-
3130
@media only screen and (min-width: 768px) {
3231
text-align: left;
3332
font-size: 32px;
3433
padding: 47px 38px 33px 129px;
35-
background: #fff;
34+
background: $white;
3635
border-bottom: 2px solid #EBEBEB;
3736
}
3837
}
39-
38+
4039
.sitemap-header {
4140
font-weight: bold;
4241
font-size: 14px;
43-
4442
@media only screen and (min-width: 768px) {
4543
font-size: 15px;
4644
}
4745
}
48-
46+
4947
.sitemap-nav {
5048
margin-top: 32px;
5149
font-size: 18px;
5250
text-transform: uppercase;
53-
5451
@media only screen and (min-width: 768px) {
5552
width: 25%;
5653
float: left;
5754
margin: 0;
5855
box-sizing: border-box;
5956
padding: 31px 5px 31px 5px;
60-
61-
57+
6258
&:nth-child(4n+1) {
6359
clear: both;
6460
}
6561
}
66-
62+
6763
a {
6864
display: block;
6965
margin-top: 16px;
7066
color: #A3A3B4;
7167
font-size: 15px;
7268
}
73-
69+
7470
+ .sitemap-nav {
7571
margin-top: 42px;
76-
7772
@media only screen and (min-width: 768px) {
7873
margin: 0;
7974
}
8075
}
8176
}
82-
77+
8378
.sitemap-subnav {
8479
margin-left: 16px;
85-
80+
8681
a {
8782
font-size: 13px;
8883
text-transform: none;
8984
}
9085
}
91-
86+
9287
@media only screen and (max-width: 767px) {
93-
.hide-small {
88+
.hide-small {
9489
display: none;
9590
}
96-
}
97-
}
91+
}
92+
}

0 commit comments

Comments
 (0)