Skip to content

Commit 5c311db

Browse files
committed
fix topcoder-archive#1007 cognitive-banner
1 parent d8489b9 commit 5c311db

File tree

4 files changed

+60
-3
lines changed

4 files changed

+60
-3
lines changed

app/my-dashboard/my-dashboard.jade

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66
.challenges(id="challenges", ui-view="my-challenges")
77

8+
.tco.tco17
9+
.tc-banner-placeholder.cognitive
10+
.container
11+
.img
12+
.description Learn about Cognitive technologies and get hands on experience as a member of the Topcoder Cognitive Community.
13+
a(href="https://cognitive.topcoder.com").cta.tc-btn-white.tc-btn-radius Learn More
14+
815
.tco.tco17
916
.tc-banner-placeholder.predix
1017
.subtitle Ready for the future? The Industrial Internet is here
@@ -19,9 +26,6 @@
1926
.subtitle The Ultimate Programming & Design tournament
2027
.description Earn your way to the USA!
2128
a(href="http://tco17.topcoder.com/").cta.tc-btn-white.tc-btn-radius Learn More
22-
23-
.tco
24-
tc-banner(theme="black", banner-name="tco16")
2529

2630
.srms(id="srms", ui-view="srms", ng-show="dashboard.showSRMs")
2731

assets/css/directives/tc-banner.scss

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,4 +239,57 @@ $tco-color-dark: #ea690b;
239239
margin-left: -250px;
240240
}
241241

242+
.tc-banner-placeholder.cognitive {
243+
background-image: url(../../images/cognitive-home-hero.jpg);
244+
background-size: 100%;
245+
height: 352px;
246+
background-position: center 100%;
247+
background-repeat: no-repeat;
248+
background-color: #222222;
249+
z-index: 1;
250+
flex-direction: row;
251+
252+
.container {
253+
width: 50%;
254+
display: flex;
255+
flex-direction: column;
256+
align-items: flex-start;
257+
margin-left: 37px;
258+
height: 95%;
259+
260+
.img {
261+
background-image: url(../../images/cognitive-home-hero-title.png);
262+
background-size: 100%;
263+
background-repeat: no-repeat;
264+
background-position: center 100%;
265+
height: 57px;
266+
width: 75%;
267+
}
268+
269+
.description {
270+
color: $white;
271+
margin: 41px 30px 45px 0;
272+
font-size: 24px;
273+
line-height: 29px;
274+
text-align: left;
275+
font-weight: 300;
276+
}
277+
278+
.cta {
279+
margin-top: 20px;
280+
}
281+
282+
.tc-btn-white {
283+
background-color: white;
284+
color: #0096FF;
285+
padding: 10px 20px;
286+
margin-top: 10px;
287+
}
288+
289+
.tc-btn-radius {
290+
border-radius: 26px;
291+
}
292+
}
293+
}
294+
242295

34.9 KB
Loading

assets/images/cognitive-home-hero.jpg

162 KB
Loading

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy