File tree
Expand file treeCollapse file tree4 files changed
+21
-13
lines changed Expand file treeCollapse file tree4 files changed
+21
-13
lines changed Original file line number | Diff line number | Diff line change |
---|
|
1 |
| -<img src="../assets/angular.png" alt="AngularLogo" *ngIf="showLoder" style="width:50px; |
2 |
| -height:50px; |
3 |
| -position: fixed;top: 50%; |
4 |
| -left: 50%; |
5 |
| -transform: translate(-50%, -50%);"> |
6 | 1 | <div class="center-this">
|
7 | 2 | <div class="container">
|
8 | 3 | <div class="col-md-12">
|
9 |
| -<mat-card>Welcome To Feature Modules |
10 |
| -<br> |
11 |
| -<br> |
| 4 | +<mat-card> |
| 5 | +<h4>This is a different module (FeatureModule)</h4><br> |
| 6 | +<button mat-raised-button color="basic" routerLink='/'>Back</button> |
12 | 7 | </mat-card>
|
13 | 8 | </div>
|
14 | 9 | </div>
|
|
Original file line number | Diff line number | Diff line change |
---|
|
1 | 1 | import { NgModule } from '@angular/core';
|
2 | 2 | import { CommonModule } from '@angular/common';
|
3 |
| -import {FeatureComponent} from './feature.component'; |
| 3 | +import { FeatureComponent } from './feature.component'; |
4 | 4 | import { FeatureRoutingModule } from './feature-routing.module';
|
5 | 5 | import { MatCardModule } from '@angular/material/card';
|
6 |
| - |
| 6 | +import { SharedModule } from './../shared/shared.module'; |
7 | 7 |
|
8 | 8 | @NgModule({
|
9 | 9 | imports: [
|
10 | 10 | CommonModule,
|
11 | 11 | FeatureRoutingModule,
|
12 |
| -MatCardModule |
| 12 | +MatCardModule, |
| 13 | +SharedModule |
13 | 14 | ],
|
14 | 15 | declarations: [
|
15 | 16 | FeatureComponent,
|
|
Original file line number | Diff line number | Diff line change |
---|
|
2 | 2 | <div class="container">
|
3 | 3 | <div class="col-md-12">
|
4 | 4 | <mat-card>
|
5 |
| -<h2>Angular (SSR) + Node.js (TypeScript) Boiler / Starter</h2> |
6 |
| -<hr> |
| 5 | +<h2>Angular (SSR) + Node.js (TypeScript) Boiler / Starter</h2><br> |
7 | 6 | <button mat-raised-button color="accent" routerLink='/feature'>Lazy Load Module</button>
|
| 7 | +<hr> |
| 8 | +<a class="-button" href="https://.com/meetdave3/angular-node-typescript-boiler" data-icon="octicon-star" |
| 9 | +data-size="large" data-show-count="true" aria-label="Star ntkme/-buttons on ">Star</a> |
8 | 10 | </mat-card>
|
9 | 11 | </div>
|
10 | 12 | </div>
|
|
Original file line number | Diff line number | Diff line change |
---|
|
2 | 2 |
|
3 | 3 | @import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
|
4 | 4 |
|
| 5 | +html, |
| 6 | +body { |
| 7 | +display: flex; |
| 8 | +flex-direction: column; |
| 9 | +justify-content: center; |
| 10 | +align-items: center; |
| 11 | +text-align: center; |
| 12 | +min-height: 60vh; |
| 13 | +} |
| 14 | + |
5 | 15 | .white-text {
|
6 | 16 | color: white;
|
7 | 17 | }
|
|
You can’t perform that action at this time.
0 commit comments