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

Commit d170e0d

Browse files
committed
Conflicts merged
2 parents 115b6cd + b429f94 commit d170e0d

12 files changed

+20
-19
lines changed
+11-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
[
22
{
3-
"header": "TCO17 Live Broadcast",
4-
"details": "Watch now!",
5-
"backgroundImage": "tco17-live-broadcast.jpg",
6-
"redirectTo": "https://tco17.topcoder.com/videos",
7-
"redirectText": "TCO17 Live Broadcast Schedule",
8-
"live": true,
9-
"liveExpand": true,
10-
"height": 600,
11-
"videoCode": "https://player.twitch.tv/?channel=topcoder_official",
3+
"header": "TCO17",
4+
"details": "Congratulations to our Champions!",
5+
"backgroundImage": "tco-winners.jpg",
6+
"redirectTo": "https://tco17.topcoder.com",
7+
"redirectText": "Congratulations to our TCO17 Champions!",
8+
"live": false,
9+
"liveExpand": false,
10+
"customTag": {
11+
"text": "Announcement"
12+
},
13+
"videoCode": "",
1214
"videoHeight": 480
1315
}
1416
]

app/skill-picker/skill-picker.controller.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import _ from 'lodash'
2929
vm.isPageDirty = isPageDirty
3030
vm.isTracksDirty = isTracksDirty
3131
vm.isCommunitySelected = isCommunitySelected
32+
vm.isPageStateDirty = false
3233
///////
3334
activate()
3435

@@ -43,20 +44,22 @@ import _ from 'lodash'
4344
/**
4445
* Verfies if the page state has been modified by the user in any way.
4546
*/
46-
function isPageDirty() {
47+
function isPageDirty() {
4748
return isTracksDirty() || isCommunitiesDirty()
4849
}
4950

5051
/**
5152
* Verfies if the tracks section state has been modified by the user in any way.
5253
*/
5354
function isTracksDirty() {
55+
vm.isPageStateDirty = true
5456
return vm.tracks.DESIGN || vm.tracks.DEVELOP || vm.tracks.DATA_SCIENCE
5557
}
5658
/**
5759
* Verfies if the communities section state has been modified by the user in any way.
5860
*/
5961
function isCommunitySelected() {
62+
vm.isPageStateDirty = true
6063
var community = _.find(vm.communities, {status: true, display: true})
6164
return !!community
6265
}

app/skill-picker/skill-picker.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@
7777
type="button",
7878
tc-busy-button, tc-busy-when="vm.saving",
7979
ng-click="vm.submitSkills()",
80-
ng-disabled="vm.disableDoneButton || !vm.isPageDirty()") Done
80+
ng-disabled="vm.disableDoneButton || vm.isPageStateDirty") Done

assets/css/directives/notification.directive.scss

+4-8
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,12 @@
5555
}
5656
.expanded{
5757
background-color: $tc-black;
58-
background-position: 0 0;
59-
background-size: 50% 100%;
58+
background-position: 0 20%;
59+
background-size: cover;
6060
background-repeat: no-repeat;
6161
color: $tc-black;
6262
display: flex;
6363
position: relative;
64-
@media screen and (max-width: 768px) {
65-
background-size: 100% 50%;
66-
flex-direction: column;
67-
}
6864
.mask{
6965
position: absolute;
7066
top: 0;
@@ -94,8 +90,8 @@
9490
}
9591
.action{
9692
position: absolute;
97-
bottom: 100px;
98-
left: 150px;
93+
bottom: 36px;
94+
left: 36px;
9995
background-color: white;
10096
padding: 10px 20px;
10197
border-radius: 26px;
-155 KB
Binary file not shown.
-140 KB
Binary file not shown.
-303 KB
Binary file not shown.

assets/images/news/tco-winners.jpg

172 KB
Loading
-163 KB
Binary file not shown.
-162 KB
Binary file not shown.
Binary file not shown.

assets/images/news/top-5-weeks.png

-392 KB
Binary file not shown.

0 commit comments

Comments
 (0)