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

Fixed empty state track clickability #347

Merged
merged 1 commit into from
Oct 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/profile/about/about.jade
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
.empty-state(ng-if="!profileVm.numProjects")
.action-text Start competing within the community
.tracks
.track(ng-repeat="track in ['DEVELOP', 'DESIGN', 'DATA_SCIENCE']")
.track.noclick(ng-repeat="track in ['DEVELOP', 'DESIGN', 'DATA_SCIENCE']")
div(class="{{profileVm.imgMap[track]}}-icon")
div
.text {{track | track}}
Expand Down
8 changes: 8 additions & 0 deletions assets/css/profile/about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
align-items: center;
cursor: pointer;

&.noclick {
cursor: default;
}

.name {
span {
}
Expand Down Expand Up @@ -147,6 +151,10 @@
justify-content: space-between;
width: 50%;
.track {
.text {
margin-top: 15px;
text-transform: uppercase;
}
}
}
.description {
Expand Down