Skip to content

Commit c49f2ac

Browse files
authored
rr/view/about (#13)
* rr/main-controller (pull request #2) rr/main-controller * fix gulp indexHTML task * removing unecessary elements * main-controller base Approved-by: Roberto Robson Soares Nogueira <[email protected]> * Merged in rr/navigation-bar (pull request #3) rr/navigation-bar * navigation-bar directive * add navigation-bar app.js dependency. set tiny md override md-button-icon Approved-by: Roberto Robson Soares Nogueira <[email protected]> * rr/side-menu (pull request #4) rr/side-menu Approved-by: Roberto Robson Soares Nogueira <[email protected]> * rr/ng-route (pull request #5) rr/ng-route * rr/fix/ng-view (pull request #6) rr/fix/ng-view Approved-by: Roberto Robson Soares Nogueira <[email protected]> * rr/view/home (pull request #7) rr/view/home Approved-by: Roberto Robson Soares Nogueira <[email protected]> * rr/fix/issues/#1-#2 (pull request #8) rr/fix/issues/#1-#2 * view home, set navigation bar title * main-controller set view attribute when current path get changed Approved-by: Roberto Robson Soares Nogueira <[email protected]> * Merged in rr/view/location (pull request #9) rr/view/location * view location init * google maps, services maps, freegeoip location, display locations on the map Approved-by: Roberto Robson Soares Nogueira <[email protected]> * Merged in rr/fix/gulp-and-location-layout (pull request #12) rr/fix/gulp-and-location-layout * gulp server task * set map-form css * sass location.scss fix [view=location] Approved-by: Roberto Robson Soares Nogueira <[email protected]> * Merged in rr/view/about (pull request #13) rr/view/about * view about * about icons Approved-by: Roberto Robson Soares Nogueira <[email protected]>
1 parent d586eeb commit c49f2ac

File tree

8 files changed

+472
-1
lines changed

8 files changed

+472
-1
lines changed

assets/icons/email.svg

+4
Loading

assets/icons/phone.svg

+4
Loading

assets/imgs/avatar.svg

+297
Loading

src/app.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424

2525
// views
2626
'views.home',
27-
'views.location'
27+
'views.location',
28+
'views.about'
2829

2930
])
3031

src/views/about/about.config.js

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
'use strict';
3+
4+
(function(){
5+
6+
// properties
7+
8+
var view = 'about';
9+
var controller = 'ViewAboutController';
10+
11+
var route = {
12+
templateUrl: view + '/' + view + '.html',
13+
controller: controller,
14+
};
15+
16+
var configPath = {
17+
path: '/about/',
18+
label: 'About Me',
19+
icon: 'contact.svg',
20+
sideMenu: true
21+
};
22+
23+
// config
24+
25+
angular.module('views.' + view)
26+
27+
.config(function(
28+
$routeProvider,
29+
$locationProvider,
30+
pathProvider
31+
){
32+
33+
var pathObj = pathProvider.addPath(
34+
view,
35+
configPath
36+
);
37+
38+
var path = pathObj.path;
39+
40+
$routeProvider
41+
42+
.when(
43+
path,
44+
route
45+
);
46+
47+
});
48+
49+
})();

src/views/about/about.html

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
2+
<div
3+
layout-row
4+
layout-padding
5+
layout-wrap
6+
>
7+
8+
<md-card
9+
flex-xs
10+
flex-sm
11+
flex-gt-sm="50"
12+
>
13+
<md-card-title
14+
layout-xs="column"
15+
layout-sm="column"
16+
>
17+
<md-card-title-media
18+
layout="row"
19+
layout-align="center center"
20+
>
21+
<img class="picture" src="/assets/imgs/avatar.svg" />
22+
</md-card-title-media>
23+
<md-card-title-text>
24+
<span class="md-headline">
25+
Roberto Robson Soares Nogueira
26+
</span>
27+
<md-button
28+
ng-href="mailto:[email protected]"
29+
>
30+
<md-icon
31+
md-svg-src="/assets/icons/email.svg"
32+
></md-icon>
33+
34+
</md-button>
35+
<md-button
36+
ng-href="tel:+5511989280284"
37+
>
38+
<md-icon
39+
md-svg-src="/assets/icons/phone.svg"
40+
></md-icon>
41+
+55-11-989-280-284
42+
</md-button>
43+
</md-card-title-text>
44+
</md-card-title>
45+
</md-card>
46+
47+
<md-card
48+
flex="100"
49+
>
50+
<md-card-content>
51+
<p>
52+
Having more than 14 years of experience in complex high traffic
53+
website environments, I've been focusing In the last 4 years on
54+
native and hybrid mobile apps as well as Single Page Applications
55+
based on most popular web components and frameworks.
56+
</p>
57+
<p>
58+
Great knowledge developing libraries, modules and components focused
59+
on increasing productivity, standardization and cross-browser
60+
compatibility issues.
61+
</p>
62+
<p>
63+
I'm always working side-by-side with designers and also connected
64+
with the business areas to have a deep understanding of all
65+
important information related to a project.
66+
</p>
67+
</md-card-content>
68+
</md-card>
69+
70+
</div>

src/views/about/about.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
'use strict';
3+
4+
(function(){
5+
6+
angular.module('views.about',[])
7+
8+
.controller(
9+
'ViewAboutController',
10+
11+
function(
12+
path,
13+
navigationBarFactory
14+
){
15+
16+
path.setCurrent('about');
17+
18+
navigationBarFactory.setTitle(path.getCurrent().label);
19+
20+
}
21+
);
22+
23+
})();

src/views/about/about.scss

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
main-controller[view=about] {
3+
4+
md-card-title-media {
5+
margin-right: 15px;
6+
}
7+
8+
.picture {
9+
width: 150px;
10+
height: 150px;
11+
}
12+
13+
.md-button {
14+
text-align: left;
15+
}
16+
17+
md-card-content {
18+
p {
19+
margin-bottom: 25px;
20+
}
21+
}
22+
23+
}

0 commit comments

Comments
 (0)