Skip to content

Commit

Permalink
fix:git commit -a -m 不会提交新建的文件;index页面添加引导文字;创建tag
Browse files Browse the repository at this point in the history
  • Loading branch information
QiuMing committed Jul 21, 2016
1 parent dbc9452 commit 990bf7b
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/app.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<router-outlet></router-outlet>
<a [routerLink]="['/resume']"></a>
<a [routerLink]="['/print']"></a>
欢迎遇见小丘明的简历
<ul>
<li><a [routerLink]="['/resume']"> 网页详情版</a></li>
<li><a [routerLink]="['/print']"> A4 打印版本</a></li>
</ul>
28 changes: 28 additions & 0 deletions app/print.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import {Component} from '@angular/core';
import {Routes, ROUTER_DIRECTIVES, ROUTER_PROVIDERS} from '@angular/router';
import {
PROFILE,
SKILLS,
TECHS,
PERSONALPROJECTS,
COMPANYPROJECT,
MAINDES,
OTHERDES,
ASIDE
} from './resume-data';

@Component({
selector: 'print-app',
templateUrl: 'app/print.html',
styleUrls: ['app/print.css', 'app/fontello.css']
})
export class PrintComponent {
profile = PROFILE;
techs = TECHS;
otherDes = OTHERDES;
mainDes = MAINDES;
skills = SKILLS;
aside = ASIDE;
personalProjects = PERSONALPROJECTS;
companyProjects = COMPANYPROJECT;
}
36 changes: 36 additions & 0 deletions app/resume.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import {Component} from '@angular/core';
import {Routes, ROUTER_DIRECTIVES, ROUTER_PROVIDERS} from '@angular/router';

import {PrintComponent} from './print.component';
import {
PROFILE,
SKILLS,
TECHS,
PERSONALPROJECTS,
COMPANYPROJECT,
MAINDES,
OTHERDES,
ASIDE
} from './resume-data';

@Component({
selector: 'my-app',
templateUrl: 'app/resume.html',
styleUrls: ['app/style.css', 'app/fontello.css'],
directives: [ROUTER_DIRECTIVES],
providers: [
ROUTER_PROVIDERS
]
})
export class ResumeComponent {
profile = PROFILE;
techs = TECHS;
otherDes = OTHERDES;
mainDes = MAINDES;
skills = SKILLS;
aside = ASIDE;
personalProjects = PERSONALPROJECTS;
companyProjects = COMPANYPROJECT;
}


0 comments on commit 990bf7b

Please sign in to comment.