Skip to content

Commit

Permalink
style(app): home page
Browse files Browse the repository at this point in the history
  • Loading branch information
udayvunnam committed Nov 3, 2019
1 parent 72b0f39 commit 08c8936
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion projects/xng-breadcrumb-app/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PageNotFoundComponent } from './core/page-not-found.component';
import { HomeComponent } from './home/home.component';

// when deafalt route has no path or breadcrumb diplay home
export const appRoutes: Routes = [
{
path: '',
redirectTo: 'dashboard',
pathMatch: 'full',
component: HomeComponent,
data: {
breadcrumb: {
label: '',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section style="margin: 64px;">
<section class="home-container">
<blockquote>
<p>
This is a demo app showcasing <b>xng-breadcrumb</b> library usage in Angular applications. Navigate through App to see the breadcrumb
Expand Down
4 changes: 4 additions & 0 deletions projects/xng-breadcrumb-app/src/app/home/home.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ blockquote p {
mat-card {
cursor: pointer;
}

.home-container {
margin: 16px 64px;
}

0 comments on commit 08c8936

Please sign in to comment.