Commit a476a35f55149d05df2e1831fd7bc365ee1d2e91

Authored by Victor Costa
1 parent 7c18ab46

Add font awesome to project

@@ -16,7 +16,8 @@ @@ -16,7 +16,8 @@
16 "angular-toastr": "~1.5.0", 16 "angular-toastr": "~1.5.0",
17 "moment": "~2.10.6", 17 "moment": "~2.10.6",
18 "animate.css": "~3.4.0", 18 "animate.css": "~3.4.0",
19 - "angular": "~1.4.2" 19 + "angular": "~1.4.2",
  20 + "font-awesome": "fontawesome#~4.5.0"
20 }, 21 },
21 "devDependencies": { 22 "devDependencies": {
22 "angular-mocks": "~1.4.2" 23 "angular-mocks": "~1.4.2"
src/app/components/noosfero-blocks/profile-image/profile-image.html
1 -<div class="profile-image">  
2 - <img src="assets/images/icons-app/community-big.png">  
3 -</div>  
4 -<div class='admin-link'>  
5 - <a target="_self" ng-href="/myprofile/{{vm.owner.identifier}}">Control panel</a> 1 +<div class="center-block text-center">
  2 + <div class="profile-image">
  3 + <i class="fa fa-users fa-5x"></i>
  4 + </div>
  5 + <div class='admin-link'>
  6 + <a target="_self" ng-href="/myprofile/{{vm.owner.identifier}}">Control panel</a>
  7 + </div>
6 </div> 8 </div>
src/app/index.scss
@@ -5,6 +5,9 @@ @@ -5,6 +5,9 @@
5 $navbar-inverse-link-color: #5AADBB; 5 $navbar-inverse-link-color: #5AADBB;
6 $icon-font-path: "../../bower_components/bootstrap-sass/assets/fonts/bootstrap/"; 6 $icon-font-path: "../../bower_components/bootstrap-sass/assets/fonts/bootstrap/";
7 7
  8 +$fa-font-path: "../../bower_components/font-awesome/fonts";
  9 +@import "../../bower_components/font-awesome/scss/font-awesome.scss";
  10 +
8 /** 11 /**
9 * Do not remove the comments below. It's the markers used by wiredep to inject 12 * Do not remove the comments below. It's the markers used by wiredep to inject
10 * sass dependencies when defined in the bower.json of your dependencies 13 * sass dependencies when defined in the bower.json of your dependencies