Skip to content

Commit cf6371d

Browse files
committed
unUse Content remove
1 parent 15357e0 commit cf6371d

6 files changed

Lines changed: 5 additions & 17 deletions

File tree

src/app/app-config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export class BerryConfig {
2-
static layout: string = 'vertical';
32
static isCollapse_menu: boolean = false;
43
static fontFamily: string = 'Roboto'; // Roboto, poppins, inter
54
}

src/app/theme/layout/admin/admin.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Angular import
2-
import { Component, NgZone } from '@angular/core';
2+
import { Component } from '@angular/core';
33
import { Location, LocationStrategy } from '@angular/common';
44

55
// Project import
@@ -19,7 +19,6 @@ export class AdminComponent {
1919

2020
// Constructor
2121
constructor(
22-
private zone: NgZone,
2322
private location: Location,
2423
private locationStrategy: LocationStrategy
2524
) {

src/app/theme/layout/admin/nav-bar/nav-logo/nav-logo.component.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
<div class="m-header">
2-
<!-- [ Header Topbar ] start -->
32
<a [routerLink]="['/default/']" class="b-brand">
4-
<!-- ======== change your logo hear ============ -->
53
<img src="assets/images/logo-dark.svg" alt="" class="logo logo-lg" />
64
</a>
7-
<!-- ======= Menu collapse Icon ===== -->
85
<div class="pc-h-item">
96
<a
107
href="javascript:"

src/app/theme/layout/admin/nav-bar/nav-logo/nav-logo.component.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ export class NavLogoComponent {
1010
// public props
1111
@Input() navCollapsed: boolean;
1212
@Output() NavCollapse = new EventEmitter();
13-
windowWidth: number;
14-
15-
// Constructor
16-
constructor() {
17-
this.windowWidth = window.innerWidth;
18-
}
13+
windowWidth= window.innerWidth;
1914

2015
// public import
2116
navCollapse() {

src/app/theme/layout/admin/navigation/nav-content/nav-content.component.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Angular import
2-
import { Component, EventEmitter, NgZone, OnInit, Output } from '@angular/core';
2+
import { Component, EventEmitter, OnInit, Output } from '@angular/core';
33
import { Location, LocationStrategy } from '@angular/common';
4-
import { environment } from 'src/environments/environment';
54

65
// project import
76
import { NavigationItem } from '../navigation';
7+
import { environment } from 'src/environments/environment';
88

99
@Component({
1010
selector: 'app-nav-content',
@@ -24,7 +24,6 @@ export class NavContentComponent implements OnInit {
2424
// Constructor
2525
constructor(
2626
public nav: NavigationItem,
27-
private zone: NgZone,
2827
private location: Location,
2928
private locationStrategy: LocationStrategy
3029
) {

src/app/theme/layout/admin/navigation/nav-content/nav-group/nav-group.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Angular import
2-
import { Component, Input, NgZone, OnInit } from '@angular/core';
2+
import { Component, Input, OnInit } from '@angular/core';
33

44
// project import
55
import { NavigationItem } from '../../navigation';
@@ -16,7 +16,6 @@ export class NavGroupComponent implements OnInit {
1616

1717
// Constructor
1818
constructor(
19-
private zone: NgZone,
2019
private location: Location,
2120
private locationStrategy: LocationStrategy
2221
) {}

0 commit comments

Comments
 (0)