Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bdec17d

Browse files
committedOct 26, 2015
Merge pull request #411 from appirio-tech/feature/tony-sitemap-landing-pages
Feature/tony sitemap landing pages
2 parents 72ea978 + 512a646 commit bdec17d

File tree

6 files changed

+210
-0
lines changed

6 files changed

+210
-0
lines changed
 

‎app/index.jade

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ html
3030
link(rel="stylesheet", href="assets/css/reset.css")
3131
link(rel="stylesheet", href="assets/css/topcoder.css")
3232
link(rel="stylesheet", href="assets/css/skill-picker/skill-picker.css")
33+
link(rel="stylesheet", href="assets/css/sitemap/sitemap.css")
3334
link(rel="stylesheet", href="assets/css/settings/update-password.css")
3435
link(rel="stylesheet", href="assets/css/settings/settings.css")
3536
link(rel="stylesheet", href="assets/css/settings/preferences.css")
@@ -286,6 +287,8 @@ html
286287
script(src="settings/preferences/preferences.controller.js")
287288
script(src="settings/settings.controller.js")
288289
script(src="settings/settings.routes.js")
290+
script(src="sitemap/sitemap.module.js")
291+
script(src="sitemap/sitemap.routes.js")
289292
script(src="skill-picker/skill-picker.module.js")
290293
script(src="skill-picker/skill-picker.controller.js")
291294
script(src="skill-picker/skill-picker.routes.js")

‎app/sitemap/sitemap.jade

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
.sitemap-container
2+
h1.page-header SITEMAP
3+
4+
.sitemap-wrapper
5+
section.sitemap-nav
6+
h2.sitemap-header Compete
7+
ul
8+
li
9+
a(href="/challenges/design/active") Design Challenges
10+
li
11+
a(href="/challenges/develop/active") Development Challenges
12+
li
13+
a(href="/challenges/data/active") Data Science Challenges
14+
li
15+
a(href="//arena.topcoder.com/") Single Round Matches
16+
17+
18+
section.sitemap-nav.hide-small
19+
h2.sitemap-header Learn
20+
ul
21+
li
22+
a(href="/community/design") Design
23+
li
24+
a(href="/community/devlopment") Development
25+
li
26+
a(href="/community/data-science") Data Science
27+
li
28+
a(href="/community/competitive programming") Competitive Programming
29+
30+
section.sitemap-nav
31+
h2.sitemap-header Community
32+
ul
33+
li
34+
a(href="/community") Home
35+
li
36+
a(href="/community/members") Members
37+
li
38+
a(href="/community/member-programs") Programs
39+
li
40+
a(href="//apps.topcoder.com/forums") Forums
41+
li
42+
a(href="/community/statistics") Statistics
43+
li
44+
a(href="/community/events") Events
45+
li
46+
a(href="/blog") Blog
47+
48+
section.sitemap-nav.hide-small
49+
h2.sitemap-header My Account
50+
ul
51+
li
52+
a(href="/my-dashboard") Dashboard
53+
li
54+
a(href="/members/") My Profile
55+
li
56+
a(href="/settings/profile") Settings
57+
58+
section.sitemap-nav.hide-small
59+
h2.sitemap-header Footer
60+
ul
61+
li
62+
a(href="/sitemap") Sitemap
63+
li
64+
a(href="/about") About Us
65+
li
66+
a(href="/contact-us") Contact Us
67+
li
68+
a(href="//help.topcoder.com") Help Center
69+
li
70+
a(href="/community/how-it-works/privacy-policy/") Privacy Policy
71+
li
72+
a(href="/community/how-it-works/terms/") Terms
73+
74+

‎app/sitemap/sitemap.module.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
(function() {
2+
'use strict';
3+
4+
var dependencies = [
5+
];
6+
7+
angular.module('tc.sitemap', dependencies);
8+
9+
})();

‎app/sitemap/sitemap.routes.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
(function() {
2+
'use strict';
3+
4+
angular.module('tc.sitemap').config([
5+
'$stateProvider',
6+
'$locationProvider',
7+
routes
8+
]);
9+
10+
function routes($stateProvider, $locationProvider) {
11+
$locationProvider.html5Mode(true);
12+
var states = {
13+
'sitemap': {
14+
parent: 'root',
15+
abstract: false,
16+
url: '/sitemap/',
17+
templateUrl: 'sitemap/sitemap.html'
18+
}
19+
};
20+
21+
for (var name in states) {
22+
var state = states[name];
23+
$stateProvider.state(name, state);
24+
}
25+
}
26+
})();

‎app/topcoder.module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
'tc.profile',
1414
'tc.settings',
1515
'tc.skill-picker',
16+
'tc.sitemap',
1617
'tc.community',
1718
'ui.router',
1819
'blocks.logger',

‎assets/css/sitemap/sitemap.scss

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
// Sitemap styles
2+
.sitemap-container {
3+
margin: 10px;
4+
background: #fff;
5+
padding: 34px 26px;
6+
font-family: 'Sofia Pro';
7+
8+
@media only screen and (min-width: 768px) {
9+
margin: 0;
10+
padding: 0;
11+
background: #F6F6F6;
12+
13+
.sitemap-wrapper {
14+
margin: 58px 69px;
15+
background: #fff;
16+
padding: 41px 58px;
17+
18+
&:after {
19+
display: block;
20+
content: '';
21+
clear: both;
22+
}
23+
}
24+
}
25+
26+
.page-header {
27+
font-size: 22px;
28+
font-weight: bold;
29+
text-align: center;
30+
31+
@media only screen and (min-width: 768px) {
32+
text-align: left;
33+
font-size: 32px;
34+
padding: 47px 38px 33px 129px;
35+
background: #fff;
36+
border-bottom: 2px solid #EBEBEB;
37+
}
38+
}
39+
40+
.sitemap-header {
41+
font-weight: bold;
42+
font-size: 14px;
43+
44+
@media only screen and (min-width: 768px) {
45+
font-size: 15px;
46+
}
47+
}
48+
49+
.sitemap-nav {
50+
margin-top: 32px;
51+
font-size: 18px;
52+
text-transform: uppercase;
53+
54+
@media only screen and (min-width: 768px) {
55+
width: 25%;
56+
float: left;
57+
margin: 0;
58+
box-sizing: border-box;
59+
padding: 31px 5px 68px 5px;
60+
61+
62+
&:nth-child(4n+1) {
63+
clear: both;
64+
}
65+
}
66+
67+
a {
68+
display: block;
69+
margin-top: 16px;
70+
color: #A3A3B4;
71+
font-size: 15px;
72+
}
73+
74+
+ .sitemap-nav {
75+
margin-top: 42px;
76+
77+
@media only screen and (min-width: 768px) {
78+
margin: 0;
79+
}
80+
}
81+
}
82+
83+
.sitemap-subnav {
84+
margin-left: 16px;
85+
86+
a {
87+
font-size: 13px;
88+
text-transform: none;
89+
}
90+
}
91+
92+
@media only screen and (max-width: 767px) {
93+
.hide-small {
94+
display: none;
95+
}
96+
}
97+
}

0 commit comments

Comments
 (0)
This repository has been archived.