Skip to content

Commit 787cb88

Browse files
author
wangxiang
committed
update title for header
update github repository url update website title
1 parent b037f99 commit 787cb88

File tree

8 files changed

+16
-14
lines changed

8 files changed

+16
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
A boilerplate project for angular
33

44
## WebSite
5-
[website](http://angular-boilerplate.oss-cn-hangzhou.aliyuncs.com/#/simpleUI/table)
5+
[website](https://angular-boilerplate.oss-cn-hangzhou.aliyuncs.com/#/simpleUI/table)
66

77
## Build Setup
88

99
``` bash
1010
# install dependencies
1111
yarn install
1212

13-
# serve with hot reload at localhost:8080
13+
# to start deving with livereload site at http://localhost:4201
1414
npm run start
1515

1616
# build for production with minification

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/><meta name="format-detection" content="telephone=no,address=no,email=no"/><title>Angular4 Seed</title><base href="/angular-boilerplate/dist/"><link rel="icon" type="image/x-icon" href="favicon.ico"><link href="styles.d7f22c5de6b34a401df7.bundle.css" rel="stylesheet"/></head><body><app-root></app-root><script type="text/javascript" src="inline.6a53c7e4f68e1342de76.bundle.js"></script><script type="text/javascript" src="polyfills.99784301f069f50af5f5.bundle.js"></script><script type="text/javascript" src="scripts.43cec95f6c1a0316e068.bundle.js"></script><script type="text/javascript" src="vendor.3969bacb185732e9cc36.bundle.js"></script><script type="text/javascript" src="main.e583c8b4776c26a9910f.bundle.js"></script></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/><meta name="format-detection" content="telephone=no,address=no,email=no"/><title>Angular Boilerplate</title><base href="/angular-boilerplate/dist/"><link rel="icon" type="image/x-icon" href="favicon.ico"><link href="styles.d7f22c5de6b34a401df7.bundle.css" rel="stylesheet"/></head><body><app-root></app-root><script type="text/javascript" src="inline.858412c016fbe621d35e.bundle.js"></script><script type="text/javascript" src="polyfills.99784301f069f50af5f5.bundle.js"></script><script type="text/javascript" src="scripts.43cec95f6c1a0316e068.bundle.js"></script><script type="text/javascript" src="vendor.3969bacb185732e9cc36.bundle.js"></script><script type="text/javascript" src="main.7e533937d6c1258c068d.bundle.js"></script></body></html>

dist/inline.6a53c7e4f68e1342de76.bundle.js renamed to dist/inline.858412c016fbe621d35e.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.7e533937d6c1258c068d.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.e583c8b4776c26a9910f.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<header>
22
<div class="left-side">
33
<p>
4-
<button class="text-btn" routerLink="/home">ANGULAR SEED</button>
4+
<button class="text-btn" routerLink="/home">Angular Boilerplate</button>
55
</p>
66
</div>
77
<div class="right-side">
8-
<a href="https://github.com/frankshawn/angular-seed" target="_blank" class="text-btn"><i
8+
<a [href]="githubRepositoryUrl" target="_blank" class="text-btn"><i
99
class="icon iconfont icon-github"></i>Github</a>
1010
</div>
1111
</header>
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
import { Component, OnDestroy, OnInit } from '@angular/core'
2-
import { Router } from '@angular/router'
1+
import {Component, OnDestroy, OnInit} from '@angular/core'
2+
import {Router} from '@angular/router'
33

44
@Component({
55
selector: 'app-header',
66
templateUrl: './header.component.html',
7-
styleUrls: [ './header.component.scss' ]
7+
styleUrls: ['./header.component.scss']
88
})
99
export class HeaderComponent implements OnInit, OnDestroy {
10-
constructor (private router: Router) {
10+
githubRepositoryUrl = 'https://github.com/shawnwang5/angular-boilerplate'
11+
12+
constructor(private router: Router) {
1113
}
1214

13-
ngOnInit () {
15+
ngOnInit() {
1416
}
1517

16-
ngOnDestroy (): void {
18+
ngOnDestroy(): void {
1719
}
1820
}

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
66
<meta name="format-detection" content="telephone=no,address=no,email=no"/>
7-
<title>Angular4 Seed</title>
7+
<title>Angular Boilerplate</title>
88
<base href="/">
99
<link rel="icon" type="image/x-icon" href="favicon.ico">
1010
</head>

0 commit comments

Comments
 (0)