Skip to content

Commit 1166239

Browse files
committed
feat(demo): integration of angular material extensions jumbotron lib #165
1 parent fa99f93 commit 1166239

File tree

4 files changed

+38
-22
lines changed

4 files changed

+38
-22
lines changed

demo/package-lock.json

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

demo/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
},
2828
"private": true,
2929
"dependencies": {
30+
"@angular-material-extensions/jumbotron": "^1.0.1",
3031
"@angular-material-extensions/pages": "^2.1.0",
3132
"@angular/animations": "7.2.13",
3233
"@angular/cdk": "^7.3.7",

demo/src/app/home/home.component.html

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
1-
<div class="jumbotron jumbotron-fluid">
2-
<div class="container">
3-
<div class="row">
4-
<div class="col-sm-4 d-flex justify-content-center justify-content-md-end">
5-
<img src="assets/angular-material-extensions-logo.svg" alt="@angular-material-extensions/password-strength logo"
6-
class="logo">
7-
</div>
8-
<div class="col-sm-8 text-center text-md-left">
9-
<h1>@angular-material-extensions/password-strength</h1>
10-
<p>Material password strength meter to indicate how secure is the provided password</p>
11-
<p>Scroll down to see it in action!</p>
12-
<p class="buttons">
13-
<a class="btn btn-outline-primary btn-lg"
14-
href="https://github.com/angular-material-extensions/password-strength" target="_blank"><i
15-
class="fa fa-github fa-lg"></i> Code on Github</a>
16-
<a class="btn btn-outline-primary btn-lg" href="doc/index.html" target="_blank"><i
17-
class="fa fa-book fa-lg"></i> Documentation</a>
18-
</p>
19-
</div>
1+
<mat-jumbotron imgURL="assets/logo.svg">
2+
<mat-jumbotron-content>
3+
<h1>
4+
@angular-material-extensions/password-strength
5+
</h1>
6+
<p class="headline" ngClass.xs="text-center">
7+
Material password strength meter to indicate how secure is the provided password
8+
</p>
9+
10+
<p> Scroll down to see it in action!</p>
11+
12+
<div fxLayout="row" fxLayout.xs="column"
13+
fxLayoutGap.xs="1rem">
14+
<a mat-stroked-button
15+
color="accent"
16+
target="_blank"
17+
href="https://github.com/angular-material-extensions/password-strength">
18+
<mat-icon>code</mat-icon>
19+
Code on Github
20+
</a>
21+
<a mat-stroked-button
22+
color="accent"
23+
target="_blank"
24+
href="doc/index.html">
25+
<mat-icon>note</mat-icon>
26+
Documentation
27+
</a>
2028
</div>
2129

22-
</div>
23-
</div>
30+
</mat-jumbotron-content>
31+
</mat-jumbotron>
2432

2533
<section class="home">
26-
<div class="container">
34+
<div class="container mt-3">
2735

2836
<div fxLayout="column">
2937
<mat-toolbar>

demo/src/app/home/home.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ import {HomeComponent} from './home.component';
66
import {AppSharedModule} from '../shared';
77
import {MatPasswordStrengthModule} from '@angular-material-extensions/password-strength';
88
import {MarkdownModule} from 'ngx-markdown';
9+
import {MatJumbotronModule} from '@angular-material-extensions/jumbotron';
910

1011
@NgModule({
1112
imports: [
1213
CommonModule,
1314
HomeRoutingModule,
1415
AppSharedModule,
1516
MarkdownModule.forChild(),
17+
MatJumbotronModule,
1618
MatPasswordStrengthModule
1719
],
1820
declarations: [HomeComponent],

0 commit comments

Comments
 (0)