login: {
endpoint: '/auth/login',
redirect: {
- success: '/home/dashboard',
+ success: '/home/devices',
},
},
register: {
],
})
export class CoreModule {
- constructor( @Optional() @SkipSelf() parentModule: CoreModule) {
+ constructor(@Optional() @SkipSelf() parentModule: CoreModule) {
throwIfAlreadyLoaded(parentModule, 'CoreModule');
}
<nb-action>
<nb-user [nbContextMenu]="userMenu" [name]="user?.fullName" [picture]="user?.picture"></nb-user>
</nb-action>
- <nb-action class="control-item" icon="nb-notifications"></nb-action>
+ <nb-action class="control-item"></nb-action>
<nb-action class="control-item">
<nb-search type="rotate-layout" (click)="startSearch()"></nb-search>
</nb-action>
responsive
[right]="sidebar.id === 'right'">
<nb-sidebar-header>
- <a href="#" class="btn btn-hero-success main-btn">
- <i class="ion ion-checkmark-round"></i> <span>OK state</span>
+ <a href="#" class="btn btn-hero-info main-btn">
+ <i class="ion ion-stats-bars"></i> <span>Dashboard</span>
</a>
</nb-sidebar-header>
<ng-content select="nb-menu"></ng-content>
margin-top: -2rem;
font-weight: bold;
transition: padding 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.48);
+ cursor: pointer;
i {
font-size: 2rem;
export const MENU_ITEMS: NbMenuItem[] = [
{
- title: 'Dashboard',
- icon: 'nb-bar-chart',
- link: '/home/dashboard',
- home: true,
- },
- {
title: 'Devices',
icon: 'nb-keypad',
link: '/home/devices',
+ home: true,
},
];