mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 04:23:04 +00:00
finished dynamic menus
This commit is contained in:
45
src/app/navbar/navbar.module.ts
Normal file
45
src/app/navbar/navbar.module.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
import { SharedModule } from '../shared/shared.module';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { EffectsModule } from '@ngrx/effects';
|
||||
import { CoreModule } from '../core/core.module';
|
||||
import { NavbarEffects } from './navbar.effects';
|
||||
import { NavbarSectionComponent } from './navbar-section/navbar-section.component';
|
||||
import { ExpandableNavbarSectionComponent } from './expandable-navbar-section/expandable-navbar-section.component';
|
||||
import { NavbarComponent } from './navbar.component';
|
||||
|
||||
const effects = [
|
||||
NavbarEffects
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
SharedModule,
|
||||
EffectsModule.forFeature(effects),
|
||||
CoreModule.forRoot()
|
||||
],
|
||||
declarations: [
|
||||
NavbarComponent,
|
||||
NavbarSectionComponent,
|
||||
ExpandableNavbarSectionComponent
|
||||
],
|
||||
providers: [
|
||||
|
||||
],
|
||||
entryComponents: [
|
||||
NavbarSectionComponent,
|
||||
ExpandableNavbarSectionComponent
|
||||
],
|
||||
exports: [
|
||||
NavbarComponent,
|
||||
NavbarSectionComponent,
|
||||
ExpandableNavbarSectionComponent
|
||||
]
|
||||
})
|
||||
|
||||
/**
|
||||
* This module handles all components and pipes that are necessary for the search page
|
||||
*/
|
||||
export class NavbarModule {
|
||||
}
|
Reference in New Issue
Block a user