Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d2af250

Browse files
committed
update styling and packages (serves but doesn't build)
1 parent 9164071 commit d2af250

File tree

6 files changed

+38
-25
lines changed

6 files changed

+38
-25
lines changed

‎README.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
[![Semver](https://img.shields.io/github/package-json/v/fyodorio/ng-hotrod)](https://github.com/fyodorio/ng-hotrod/releases)
44
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
5-
[![coc-badge](https://img.shields.io/badge/codeof-conduct-ff69b4.svg?style=flat-square)](https://github.com/loenko/ng-hotrod/blob/master/.github/CODE_OF_CONDUCT.md)
5+
[![coc-badge](https://img.shields.io/badge/codeof-conduct-ff69b4.svg?style=flat-square)](https://github.com/fyodorio/ng-hotrod/blob/master/.github/CODE_OF_CONDUCT.md)
66
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
7-
[![Greenkeeper badge](https://badges.greenkeeper.io/fyodorio/ng-hotrod.svg)](https://greenkeeper.io/)
8-
[![GitHub license](https://img.shields.io/github/license/loenko/ng-hotrod.svg)](https://github.com/loenko/ng-hotrod/blob/master/LICENSE)
7+
[![GitHub license](https://img.shields.io/github/license/loenko/ng-hotrod.svg)](https://github.com/fyodorio/ng-hotrod/blob/master/LICENSE)
98

109
### Modern starter for AngularJS + Angular Material + ES2020 + Sass
1110

‎package.json‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@
1616
"format": "prettier \"src/**/*.{ts,js,json,scss,css}\" --write"
1717
},
1818
"dependencies": {
19-
"@uirouter/angularjs": "^1.0.25",
20-
"angular": "^1.7.9",
21-
"angular-animate": "^1.7.9",
22-
"angular-aria": "^1.7.9",
23-
"angular-material": "^1.1.21",
24-
"angular-messages": "^1.7.9"
19+
"@uirouter/angularjs": "^1.0.29",
20+
"angular": "^1.8.2",
21+
"angular-animate": "^1.8.2",
22+
"angular-aria": "^1.8.2",
23+
"angular-material": "^1.2.2",
24+
"angular-messages": "^1.8.2"
2525
},
2626
"devDependencies": {
27-
"@babel/core": "^7.8.4",
28-
"@babel/preset-env": "^7.8.4",
29-
"angular-mocks": "^1.7.4",
27+
"@babel/core": "^7.12.10",
28+
"@babel/preset-env": "^7.12.11",
29+
"angular-mocks": "^1.8.2",
3030
"babel-plugin-angularjs-annotate": "^0.10.0",
3131
"eslint": "^6.8.0",
32-
"eslint-config-prettier": "^6.10.0",
32+
"eslint-config-prettier": "^6.15.0",
3333
"eslint-plugin-angular": "^4.0.1",
34-
"eslint-plugin-prettier": "^3.1.2",
34+
"eslint-plugin-prettier": "^3.3.1",
3535
"gh-pages": "^2.2.0",
36-
"husky": "^4.2.3",
36+
"husky": "^4.3.8",
3737
"hygen": "^5.0.3",
38-
"lint-staged": "^10.0.7",
39-
"node-sass": "^4.13.1",
38+
"lint-staged": "^10.5.3",
39+
"node-sass": "^4.14.1",
4040
"normalize.css": "^8.0.1",
4141
"parcel-bundler": "^1.12.4",
4242
"prettier": "^1.19.1"
@@ -52,5 +52,5 @@
5252
"git add"
5353
]
5454
},
55-
"homepage": "https://loenko.github.io/ng-hotrod"
55+
"homepage": "https://fyodorio.github.io/ng-hotrod"
5656
}

‎src/app/app.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="app" layout="column" layout-fillflex>
1+
<div class="app" layout="column" layout-fill>
22
<navbar></navbar>
33
<page-home flex></page-home>
44
</div>

‎src/app/components/page-home/page-home.html‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<md-content class="page-home" layout-padding layout="column" layout-align="start center">
2-
<h2 class="md-headline">Modern starter for AngularJS + Angular Material + ES2020 + Sass</h2>
3-
<img src="https://raw.githubusercontent.com/loenko/file-storage/master/hotrod-logo.jpg" alt="ng-hotrod"width="50%;" >
4-
<h3 class="md-title">Includes</h3>
5-
<ul class="md-subhead">
1+
<md-content class="page-home" layout-padding layout="column" layout-align="center center"layout-fill>
2+
<h2 class="md-display-1">Modern starter for AngularJS + Angular Material</h2>
3+
<img class="hero-img" src="https://res.cloudinary.com/fyodorio/image/upload/v1611994660/my-logos/hotrod-logo_rhkfxy.jpg" alt="ng-hotrod">
4+
<h3 class="md-title">Featuring (though not limited by):</h3>
5+
<ul class="md-headline">
66
<li><a href="https://angularjs.org/">AngularJS</a> (1.7.9)</li>
77
<li><a href="https://material.angularjs.org/latest/">Angular Material</a></li>
88
<li><a href="https://sass-lang.com/">Sass</a></li>
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
.page-home {
22
background-color: white;
3-
height: 100%;
43
* {
54
margin: 0;
65
}
6+
li {
7+
margin-left: 1em;
8+
}
9+
h2.md-display-1 {
10+
text-align: center;
11+
}
12+
.hero-img {
13+
width: 95vw;
14+
max-width: 700px;
15+
}
716
}

‎src/assets/css/styles.css‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
@import '../../../node_modules/normalize.css/normalize.css';
22
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700&subset=cyrillic');
33
@import '../../../node_modules/angular-material/angular-material.scss';
4+
5+
body {
6+
height: 100vh;
7+
width: 100vw;
8+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /