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

Commit 978492f

Browse files
Merge pull request #1271 from appirio-tech/t-shirt-announcement
Replace announcement and add Valentine's day banner
2 parents 80e77bc + a02cd4d commit 978492f

File tree

4 files changed

+27
-19
lines changed

4 files changed

+27
-19
lines changed
Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[
22
{
3-
"header": "QA",
4-
"details": "Live Reveal of New Topcoder Track w/ Will Price",
5-
"headerExpand": "QA Track Revealed",
6-
"detailsExpand": "Join Nick as he interviews Will Price who will be introducing Topcoder's newest track. Spoiler Alert: You could win a TCO Trip!",
7-
"backgroundImageDesktop": "DarkCircles-desktop.jpg",
8-
"backgroundImageTablet": "DarkCircles-tablet.jpg",
9-
"backgroundImageMobile": "DarkCircles-mobile.jpg",
10-
"redirectTo": "https://www.topcoder.com/all-you-need-to-know-about-qa-challenges/",
11-
"redirectText": "Learn More Here",
12-
"live": true,
13-
"liveExpand": true,
14-
"videoCode": "https://www.youtube.com/embed/LF6rc40-TSo"
3+
"header": "28 Days of T-Shirts!",
4+
"details": "Every day in February you can win a shirt!",
5+
"headerExpand": "28 Days of T-Shirts!",
6+
"detailsExpand": "Every day a new chance to win a t-shirt. Check our Facebook page, Instagram, Twitter, the Forums or Slack for the contest of the day and good luck winning that t-shirt!",
7+
"backgroundImageDesktop": "tshirt-desktop.jpg",
8+
"backgroundImageTablet": "tshirt-tablet.jpg",
9+
"backgroundImageMobile": "tshirt-mobile.jpg",
10+
"live": false,
11+
"liveExpand": false,
12+
"customTag": {
13+
"text": "Announcement"
14+
},
15+
"videoCode": ""
1516
}
1617
]

assets/css/directives/notification.directive.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ $desktop-width: 1024px;
132132
position: relative;
133133
@include desktop {
134134
height: 400px;
135+
padding: 20px;
135136
}
136137
@include tablet {
137138
height: 325px;
@@ -140,9 +141,7 @@ $desktop-width: 1024px;
140141
padding: 20px;
141142
}
142143
@include mobile {
143-
// Without video
144-
145-
// height: 250px;
144+
height: 250px;
146145
display: flex;
147146
flex-direction: column;
148147
padding: 14px;
@@ -182,10 +181,10 @@ $desktop-width: 1024px;
182181

183182
}
184183
@include mobile {
185-
font-size: 20px;
184+
font-size: 24px;
186185
text-align: center;
187186
padding-top: 20px;
188-
padding-bottom: 10px;
187+
padding-bottom: 20px;
189188
/*
190189
======
191190
With Logo
@@ -224,7 +223,8 @@ $desktop-width: 1024px;
224223
*/
225224
}
226225
@include mobile {
227-
font-size: 14px;
226+
font-size: 18px;
227+
line-height: 26px;
228228
margin-bottom: 25px;
229229
text-align: center;
230230
/*

assets/css/my-dashboard/notifications.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
margin-right: 0;
4141
}
4242
&.tco18{
43-
background: url(../../images/banner-tco18-stage-3.jpg) center/cover;
43+
// background: url(../../images/banner-tco18-stage-3.jpg) center/cover;
44+
background: url(../../images/[email protected]) center/cover;
4445
background-position: center top;
4546
}
4647
&.watson{
@@ -60,6 +61,12 @@
6061
&:last-child{
6162
margin-bottom: 0;
6263
}
64+
&.tco18{
65+
background-size: contain;
66+
background-position: center;
67+
background-repeat: no-repeat;
68+
background-color: #333333;
69+
}
6370
}
6471
}
6572
}

assets/images/[email protected]

22.6 KB
Loading

0 commit comments

Comments
 (0)