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

Commit cb8c6c5

Browse files
Merge pull request #1293 from appirio-tech/new-announcement
banner and announcement changes
2 parents 5f3f456 + 3c9418f commit cb8c6c5

14 files changed

+23
-19
lines changed
+11-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
[
22
{
3-
"header": "There are no announcements",
4-
"details": "You are all caught up!",
5-
"headerExpand": "",
6-
"detailsExpand": "",
7-
"backgroundImageDesktop": "",
8-
"backgroundImageTablet": "",
9-
"backgroundImageMobile": "",
3+
"header": "Algorithm, Marathon, Regionals, & More!",
4+
"details": "TCO18 news is here! Find out the details for Algorith & Marathon Competitions, regional events, and more!",
5+
"headerExpand": "TCO18 News - Algorithm, Marathon, Regionals, & More!",
6+
"detailsExpand": "TCO18 news is here! Find out the details for Algorith & Marathon Competitions, regional events, and more!",
7+
"backgroundImageDesktop": "tco18news-desktop.jpg",
8+
"backgroundImageTablet": "tco18news-tablet.jpg",
9+
"backgroundImageMobile": "tco18news-mobile.jpg",
10+
"customTag": {
11+
"text": "TCO18 News"
12+
},
1013
"live": false,
1114
"liveExpand": false,
1215
"videoCode": "",
13-
"isEmpty": true
16+
"isEmpty": false
1417
}
1518
]

app/my-dashboard/notifications/notifications.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
in a new row
1111
.banner-row
1212
// a.banner.tco18(href="https://tco18.topcoder.com/",target="_blank",rel="noopener noreferrer")
13-
a.banner.happy-holi(href="https://topcoder.com/",target="_blank",rel="noopener noreferrer")
13+
a.banner.womens-day(href="https://topcoder.com/",target="_blank",rel="noopener noreferrer")
1414
a.banner.watson(href="https://cognitive.topcoder.com/")
1515
img(src=require("../../../assets/images/logo_white.png"), alt="TCO17")

assets/css/directives/notification.directive.scss

+4-8
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ $desktop-width: 1024px;
8585
======*/
8686
@include mobile {
8787
flex-direction: column;
88-
padding: 20px;
8988
align-items: center;
9089
}
9190

@@ -146,6 +145,7 @@ $desktop-width: 1024px;
146145
flex-direction: column;
147146
padding: 14px;
148147
padding-top: 0;
148+
padding-bottom: 10px;
149149
margin-top: 0;
150150
}
151151
}
@@ -155,7 +155,7 @@ $desktop-width: 1024px;
155155
margin-bottom: 14px;
156156
color: #FFF;
157157
@include desktop {
158-
margin-top: 75px;
158+
margin-top: 0;
159159
width: 100%;
160160
padding: 20px 0 13px 44px;
161161
}
@@ -166,10 +166,7 @@ $desktop-width: 1024px;
166166
======
167167
With Video
168168
======*/
169-
flex: 1;
170169
text-align: center;
171-
margin-top:50px;
172-
margin-bottom:20px;
173170

174171
/*
175172
======
@@ -183,8 +180,8 @@ $desktop-width: 1024px;
183180
@include mobile {
184181
font-size: 24px;
185182
text-align: center;
186-
padding-top: 20px;
187-
padding-bottom: 20px;
183+
padding-top: 10px;
184+
flex: 1;
188185
/*
189186
======
190187
With Logo
@@ -225,7 +222,6 @@ $desktop-width: 1024px;
225222
@include mobile {
226223
font-size: 18px;
227224
line-height: 26px;
228-
margin-bottom: 25px;
229225
text-align: center;
230226
/*
231227
======

assets/css/my-dashboard/notifications.scss

+7-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
background: url(../../images/banner-tco18-stage-3.jpg) center/cover;
4444
background-position: center top;
4545
}
46-
&.happy-holi{
47-
background: url(../../images/happy-holi.png) center/cover;
46+
&.womens-day{
47+
background: url(../../images/womens-day.png) center/cover;
4848
background-position: center top;
4949
}
5050
&.watson{
@@ -70,6 +70,11 @@
7070
background-repeat: no-repeat;
7171
background-color: #333333;
7272
}
73+
&.womens-day{
74+
background: url(../../images/womens-day.png) center/cover;
75+
background-position: left top;
76+
height: 60vw;
77+
}
7378
}
7479
}
7580
}
-261 KB
Binary file not shown.
-21.5 KB
Binary file not shown.
-161 KB
Binary file not shown.
231 KB
Loading
43.5 KB
Loading
172 KB
Loading

assets/images/news/tshirt-desktop.jpg

-188 KB
Binary file not shown.

assets/images/news/tshirt-mobile.jpg

-27.4 KB
Binary file not shown.

assets/images/news/tshirt-tablet.jpg

-111 KB
Binary file not shown.

assets/images/womens-day.png

335 KB
Loading

0 commit comments

Comments
 (0)