Skip to content

Commit

Permalink
Fixed parallax effect in home
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Apr 17, 2015
1 parent a8d61b2 commit f3d131a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/webapp/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ angular.module('jboss-forge', ['ui.router','routeStyles'])
.state('home', {
url: "/",
templateUrl: "views/home.html",
css: 'css/parallax-styles.css'
css: 'css/parallax-styles.css',
controller: 'RootController'
})
.state('addons', {
url: "/addons",
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/controllers/rootController.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
angular.module('jboss-forge').controller('RootController', function($scope){
runVertParallax();
});
3 changes: 1 addition & 2 deletions src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<!-- Insert to the left of main nav in order to display these to the far right -->
<ul class="nav navbar-nav pull-right main-menu-ul">
<li><a href="#">Download</a></li>
<li><a ui-sref="addons">Addons</a></li>
<li><a ui-sref="addons">Add-ons</a></li>
<li><a ui-sref="news">News</a></li>
<li><a ui-sref="documentation">Documentation</a></li>
<li><a ui-sref="community">Community</a></li>
Expand Down Expand Up @@ -89,7 +89,6 @@ <h3>Support</h3>
<div class="col-sm-3 col-xs-12 footer-link-div">
<h3>Resources</h3>
<ul>

<li><a href="#">Documentation</a></li>
<li><a href="#">Add-ons</a></li>
<li><a href="#">News</a></li>
Expand Down

0 comments on commit f3d131a

Please sign in to comment.