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

Commit 9f943d1

Browse files
author
vikasrohit
authored
Merge pull request #867 from appirio-tech/feature/remove-1m-banner
AS#154257673160718, Remove "1M members" banner from Dashboard
2 parents af9f53c + d7829c8 commit 9f943d1

File tree

2 files changed

+2
-52
lines changed

2 files changed

+2
-52
lines changed

app/my-dashboard/my-dashboard.jade

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

88
//- .ttl
99
//- tc-banner(theme="black", banner-name="ttl")
10-
.one-million
11-
tc-banner(theme="black", banner-name="1million")
12-
.social-sharing
13-
span #TC1MILLION on
14-
//- hardcoded domain because we need the links to be shared only for prod
15-
//- and after some time we would remove this banner
16-
a.twitter(href="//twitter.com/home?status=Topcoder%20has%20reached%20an%20epic%20milestone%20and%20is%20now%20over%201%20Million%20Strong!%20https%3A//www.topcoder.com/blog/1-million-members-strong/%20%23TC1MILLION")
17-
img(src="//topcoder.com/wp-content/uploads/2016/05/btn-social-twitter.png")
18-
19-
a.facebook(href="http://www.facebook.com/sharer/sharer.php?s=100&p[url]=https://www.topcoder.com/blog/1-million-members-strong/&p[images][0]=https://www.topcoder.com/wp-content/uploads/2016/05/Blog_banner_1mil.png&p[title]=1 Million Members Strong&p[summary]=1+Million+Members+Strong%0A")
20-
img(src="//topcoder.com/wp-content/uploads/2016/05/btn-social-fb.png")
21-
2210
2311
.tco
2412
tc-banner(theme="black", banner-name="tco16")

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

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
background-color: $white;
1212
}
1313

14-
.challenges, .srms, .programs, .tco, .ttl, .one-million, .community-updates {
14+
.challenges, .srms, .programs, .tco, .ttl, .community-updates {
1515
@include module-l;
1616
margin-top: 1px;
1717
width: 100%;
@@ -34,45 +34,7 @@
3434
}
3535
}
3636

37-
.one-million {
38-
.tc-banner-placeholder {
39-
background: none $tc-gray-90;
40-
41-
.image {
42-
img {
43-
width: auto;
44-
}
45-
}
46-
47-
.content {
48-
margin-top: 0px;
49-
}
50-
51-
.social-sharing {
52-
margin-bottom: 20px;
53-
span {
54-
color: $white;
55-
@include sofia-pro-bold;
56-
margin-right: 10px;
57-
}
58-
59-
img {
60-
height: 40px;
61-
padding: 0 10px 0 0px;
62-
vertical-align: middle;
63-
}
64-
}
65-
66-
.ctas {
67-
// specific css override to reduce the gap between image and ctas
68-
// ideally we should have separate title, image and description
69-
// however, here we have all 3 in single image
70-
margin-top: 0px;
71-
}
72-
}
73-
}
74-
75-
.challenges, .srms, .programs, .tco, .ttl, .one-million, .community-updates {
37+
.challenges, .srms, .programs, .tco, .ttl, .community-updates {
7638
padding-top: 0px;
7739
}
7840

0 commit comments

Comments
 (0)