diff --git a/app/directives/tc-banner/tc-banner.jade b/app/directives/tc-banner/tc-banner.jade index e1e541b95..697a39c77 100644 --- a/app/directives/tc-banner/tc-banner.jade +++ b/app/directives/tc-banner/tc-banner.jade @@ -3,7 +3,7 @@ img(ng-src="{{vm.img}}") .title(ng-bind="vm.title") .content(ng-transclude, ng-show="transcluded") - .description(ng-bind="vm.description") + .description(ng-bind-html="vm.description") .ctas .cta(ng-repeat="link in vm.ctas") a(class="{{link.cssClass}}", title="{{link.title}}", ng-href="{{link.url}}", ng-if="link.url") {{link.title}} diff --git a/app/my-dashboard/my-dashboard.jade b/app/my-dashboard/my-dashboard.jade index e452d9e3d..d3e7ea1bc 100644 --- a/app/my-dashboard/my-dashboard.jade +++ b/app/my-dashboard/my-dashboard.jade @@ -5,6 +5,9 @@ .challenges(id="challenges", ui-view="my-challenges") + .ttl + tc-banner(theme="black", banner-name="ttl") + .tco tc-banner(theme="black", banner-name="tco16") diff --git a/app/services/bannerDataService.js b/app/services/bannerDataService.js index 17ac0fefb..5e5e90be6 100644 --- a/app/services/bannerDataService.js +++ b/app/services/bannerDataService.js @@ -35,6 +35,16 @@ import angular from 'angular' url: 'http://tco16.topcoder.com/latest/overview/', cssClass: 'tc-btn tc-btn-s tco-cta' }] + }, + 'ttl': { + title: 'Episode #3 | Featuring Jesse D’Amato Ford', + img: require('../../assets/images/team-live-logo.png'), + description: 'APR 15 / 10:30am EST / Live on #GoogleHangoutOnAir', + ctas: [{ + title: 'Tune In', + url: 'https://plus.google.com/events/c86vvsum04lmq3bnd0bqp719img', + cssClass: 'tc-btn tc-btn-s' + }] } } } diff --git a/assets/css/my-dashboard/my-dashboard.scss b/assets/css/my-dashboard/my-dashboard.scss index 58b7cd237..c60aca5eb 100644 --- a/assets/css/my-dashboard/my-dashboard.scss +++ b/assets/css/my-dashboard/my-dashboard.scss @@ -11,7 +11,7 @@ background-color: $white; } - .challenges, .srms, .programs, .tco, .community-updates { + .challenges, .srms, .programs, .tco, .ttl, .community-updates { @include module-l; margin-top: 1px; width: 100%; @@ -23,7 +23,18 @@ } } - .challenges, .srms, .programs, .tco, .community-updates { + .ttl { + .tc-banner-placeholder { + background: url(../../images/team-live-bg.png) repeat; + .image { + img { + width: auto; + } + } + } + } + + .challenges, .srms, .programs, .tco, .ttl, .community-updates { padding-top: 0px; } diff --git a/assets/images/team-live-bg.png b/assets/images/team-live-bg.png new file mode 100644 index 000000000..9238d80c8 Binary files /dev/null and b/assets/images/team-live-bg.png differ diff --git a/assets/images/team-live-logo.png b/assets/images/team-live-logo.png new file mode 100644 index 000000000..15e97af55 Binary files /dev/null and b/assets/images/team-live-logo.png differ