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

Commit 8b414aa

Browse files
committed
1-st banner to release to prod!
1 parent 4030078 commit 8b414aa

File tree

4 files changed

+8
-34
lines changed

4 files changed

+8
-34
lines changed

app/directives/notification/notification.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.mask
1010
.left(ng-style="{'height': (config.height || vm.defaultHeight) + 'px'}")
1111
.header {{config.header}}
12-
.details {{config.details | characters:110}}
12+
.details {{config.details}}
1313
a.action(ng-show="config.redirectText && config.redirectTo", href="{{config.redirectTo}}") {{config.redirectText}}
1414
.right(ng-if="config.videoCode", ng-style="{'height': (config.height || vm.defaultHeight) + 'px'}")
1515
.btn-play(ng-hide="vm.loadVideo")
Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,16 @@
11
[
22
{
3-
"header": "TCO17 Beijing Regionals",
4-
"details": "After an all amazing last yera TCO16 Beijing Regionals we were very excited to go back and do an event in some how other text",
5-
"headerExpand": "TCO17 Beijing Regionals",
6-
"detailsExpand": "After an all amazing last yera TCO16 Beijing Regionals we were very excited to go back and do an event in some how other text",
7-
"backgroundImage": "tco17-beijing-banner.jpg",
8-
"redirectTo": "https://tco17.topcoder.com/",
9-
"redirectText": "Learn More",
10-
"videoCode": "https://www.youtube.com/embed/Qc_PcN6ECjg?autoplay=1",
3+
"header": "TCO18 Has Begun",
4+
"details": "Visit the new TCO18 Website for all the details and rules for each track. Also be sure to frequently visit the Challenge Listings page for opportunity to earn TCO18 Points!",
5+
"headerExpand": "TCO18 Has Begun!",
6+
"detailsExpand": "Visit the new TCO18 Website for all the details and rules for each track. Also be sure to frequently visit the Challenge Listings page for opportunity to earn TCO18 Points!",
7+
"backgroundImage": "tc-dashboard-tco18.png",
8+
"redirectTo": "https://tco18.topcoder.com/",
9+
"redirectText": "TCO18 Homepage",
1110
"live": false,
1211
"liveExpand": false,
1312
"customTag": {
1413
"text": "Announcement"
1514
}
16-
},
17-
{
18-
"header": "SRM 789 is starting in 10 days (June 3, 22:30pm)",
19-
"details": "Registration will be open on the day of the competition. Don't forget to join us, add it to your calendar",
20-
"headerExpand": "TCO17 Beijing Regionals",
21-
"detailsExpand": "After an all amazing last yera TCO16 Beijing Regionals we were very excited to go back and do an event in some how other text",
22-
"backgroundImage": "tco17-beijing-banner.jpg",
23-
"redirectTo": "https://tco17.topcoder.com/",
24-
"redirectText": "Learn More",
25-
"videoCode": "https://www.youtube.com/embed/fTdov0zyFu8?autoplay=1",
26-
"live": false,
27-
"liveExpand": false,
28-
"height": 480
29-
},
30-
{
31-
"header": "Another notification demo",
32-
"details": "Without video but has a live flag",
33-
"headerExpand": "Expanded header worked",
34-
"detailsExpand": "Expanded details worked",
35-
"backgroundImage": "tco17-beijing-banner.jpg",
36-
"redirectTo": "https://tco17.topcoder.com/",
37-
"redirectText": "Redirect",
38-
"live": true,
39-
"liveExpand": false
4015
}
4116
]

assets/css/directives/notification.directive.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
flex: 1;
7575
height: 100%;
7676
position: relative;
77-
background: linear-gradient(to bottom, #20a6e2 0%, rgba(92, 130, 219, 0.8) 45%, rgba(161, 127, 221, 0.75) 100%);
7877
}
7978
.header{
8079
font-weight: bold;
490 KB
Loading

0 commit comments

Comments
 (0)