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

Commit d02e650

Browse files
author
Jenkins Continuous Integration Server
committed
Merge commit '2b5b3009a8538ec717fda4a2f780100d72a5f3f7' into HEAD
2 parents 3a67e21 + 2b5b300 commit d02e650

File tree

8 files changed

+76
-3
lines changed

8 files changed

+76
-3
lines changed

app/my-dashboard/my-dashboard.jade

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77

88
//- .ttl
99
//- tc-banner(theme="black", banner-name="ttl")
10+
.tco.tco17
11+
.tc-banner-placeholder.black.bg-image
12+
.title 2017 Topcoder Open
13+
.subtitle The Ultimate Programming & Design tournament
14+
.description Earn your way to the USA!
15+
a(href="http://tco17.topcoder.com/").cta.tc-btn-white.tc-btn-radius Learn More
1016

1117
.tco
1218
tc-banner(theme="black", banner-name="tco16")

app/services/nav.service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ import angular from 'angular'
3030
],
3131
'community': [
3232
{ 'sref': 'community.members', 'text': 'OVERVIEW', 'icon': require('../../assets/images/nav/members.svg') },
33-
{ 'href': CONSTANTS.TCO16_URL, 'text': 'TCO16', 'icon': require('../../assets/images/nav/ico-tco16.svg'), 'target': '_blank' },
33+
{ 'href': CONSTANTS.TCO_HOME_URL, 'text': 'TCO', 'icon': require('../../assets/images/nav/tco-generic.svg'), 'target': '_blank' },
3434
{ 'href': '/community/member-programs/', 'text': 'PROGRAMS', 'icon': require('../../assets/images/nav/programs.svg') },
3535
{ 'href': CONSTANTS.FORUMS_APP_URL, 'text': 'FORUMS', 'icon': require('../../assets/images/nav/forums.svg') },
3636
{ 'sref': 'community.statistics', 'text': 'STATISTICS', 'icon': require('../../assets/images/nav/statistics.svg') },
3737
{ 'href': '/community/events/', 'text': 'EVENTS', 'icon': require('../../assets/images/nav/events.svg') },
38-
{ 'href': '/blog/', 'text': 'BLOG', 'icon': require('../../assets/images/nav/blog.svg') }
38+
{ 'href': '/blog/', 'text': 'BLOG', 'icon': require('../../assets/images/nav/blog.svg') }
3939
]
4040
}
4141

app/topcoder.constants.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ angular.module('CONSTANTS', []).constant('CONSTANTS', {
2020
'PHOTO_LINK_LOCATION' : process.env.PHOTO_LINK_LOCATION,
2121
'SWIFT_PROGRAM_URL' : process.env.SWIFT_PROGRAM_URL,
2222
'TCO16_URL' : process.env.TCO16_URL,
23+
'TCO17_URL' : process.env.TCO17_URL,
24+
'TCO_HOME_URL' : process.env.TCO_HOME_URL,
2325
'ACCOUNTS_APP_URL' : process.env.ACCOUNTS_APP_URL,
2426
'FILE_PICKER_API_KEY' : process.env.FILE_PICKER_API_KEY,
2527
'FILE_PICKER_SUBMISSION_CONTAINER_NAME': process.env.FILE_PICKER_SUBMISSION_CONTAINER_NAME,

assets/css/directives/tc-banner.scss

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
$tco-color: #F47A20;
44
$tco-color-dark: #ea690b;
55

6+
.tco17 {
7+
margin-bottom: 10px;
8+
}
9+
610
.tc-banner-placeholder {
711
display: flex;
812
flex-direction: column;
@@ -113,6 +117,11 @@ $tco-color-dark: #ea690b;
113117
color: $white;
114118
}
115119

120+
.subtitle {
121+
@extend .title;
122+
@include sofia-pro-regular;
123+
}
124+
116125
.description {
117126
color: $white;
118127
}
@@ -124,4 +133,41 @@ $tco-color-dark: #ea690b;
124133
}
125134
}
126135
}
136+
137+
.tc-btn-white {
138+
background-color: white;
139+
color: #0096FF;
140+
padding: 10px 20px;
141+
margin-top: 5px;
142+
}
143+
144+
.tc-btn-radius {
145+
border-radius: 26px;
146+
}
147+
}
148+
.tc-banner-placeholder.bg-image {
149+
background-image: url(../../images/home-hero.jpg);
150+
background-size: 100%;
151+
height: 352px;
152+
background-position: center 40%;
153+
background-repeat: no-repeat;
154+
155+
padding-top: 50px;
156+
padding-right: 350px;
157+
158+
.title {
159+
font-size: 36px;
160+
margin-bottom: 5px;
161+
margin-top: 10px;
162+
}
163+
164+
.subtitle {
165+
margin-top: 20px;
166+
width: 450px;
167+
}
168+
169+
.cta {
170+
margin-top: 20px;
171+
}
127172
}
173+

assets/css/my-dashboard/my-dashboard.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
}
3535
}
3636

37+
3738
.challenges, .srms, .programs, .tco, .ttl, .community-updates {
3839
padding-top: 0px;
3940
}

assets/images/home-hero.jpg

106 KB
Loading

assets/images/nav/tco-generic.svg

Lines changed: 19 additions & 0 deletions
Loading

assets/images/tco-generic.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)