Skip to content

Commit 5175a7b

Browse files
committed
Normalization front-end.
1 parent a05b0a5 commit 5175a7b

File tree

17 files changed

+189
-153
lines changed

17 files changed

+189
-153
lines changed

public/src/javascripts/angular/controllers/modules/documentationController.js

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
angular.module("App")
2+
.controller("gettingstartedController", ['$rootScope', '$scope', function ($rootScope, $scope) {
3+
//Documentation Controller
4+
}]);

public/src/javascripts/angular/routers.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ App.config(['$stateProvider', '$urlRouterProvider', '$locationProvider', functio
3030
}
3131
})
3232

33-
.state('documentation', {
34-
url: "/documentation",
35-
templateUrl: "/view/documentation/index",
36-
data: {title: 'Documentation'},
37-
controller: "documentationController",
33+
.state('getting-started', {
34+
url: "/getting-started",
35+
templateUrl: "/view/gettingstarted/index",
36+
data: {title: 'Getting Started'},
37+
controller: "gettingstartedController",
3838
resolve: {
3939
deps: ['$ocLazyLoad', 'path', function ($ocLazyLoad, path) {
4040
return $ocLazyLoad.load({
4141
insertBefore: '#load_controllers',
4242
files: [
43-
path.controller('documentationController')
43+
path.controller('gettingstartedController')
4444
]
4545
}
4646
);
@@ -196,4 +196,4 @@ App.config(['$stateProvider', '$urlRouterProvider', '$locationProvider', functio
196196
state.go('404');
197197
return $location.path();
198198
});
199-
}]);
199+
}]);

public/src/stylesheets/sass/components/_blocks.scss

Whitespace-only changes.
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +0,0 @@
1-
.footer-page{
2-
@extend .container;
3-
padding: 20px 0;
4-
text-align: right;
5-
}

public/src/stylesheets/sass/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@import "../../../../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss";
55

66
@import "common/global";
7+
@import "components/blocks";
78
@import "components/buttons";
89
@import "components/forms";
910
@import "layouts/header";

routes/routers/account/_login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ module.exports = function (req, res, next, err, user) {
2626
}
2727
);
2828
});
29-
};
29+
};

views/documentation/index.hbs

Lines changed: 0 additions & 1 deletion
This file was deleted.

views/gettingstarted/index.hbs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div class="jumbotron">
2+
<h1>
3+
MEANStack
4+
<small>Getting Started</small>
5+
</h1>
6+
<p>
7+
bringing together the best of MEAN MongoDB, Express, AngularJS and Node.js
8+
</p>
9+
</div>

views/home/index.hbs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
<h1>Home</h1>
1+
<div class="jumbotron">
2+
<h1>
3+
MEANStack
4+
</h1>
5+
6+
<p>
7+
bringing together the best of MEAN MongoDB, Express, AngularJS and Node.js
8+
</p>
9+
</div>

0 commit comments

Comments
 (0)