Files
dspace-angular/src/app/footer/themed-footer.component.ts

26 lines
754 B
TypeScript

import { Component } from '@angular/core';
import { ThemedComponent } from '../shared/theme-support/themed.component';
import { FooterComponent } from './footer.component';
/**
* Themed wrapper for FooterComponent
*/
@Component({
selector: 'ds-themed-footer',
styleUrls: [],
templateUrl: '../shared/theme-support/themed.component.html',
})
export class ThemedFooterComponent extends ThemedComponent<FooterComponent> {
protected getComponentName(): string {
return 'FooterComponent';
}
protected importThemedComponent(themeName: string): Promise<any> {
return import(`../../themes/${themeName}/app/footer/footer.component`);
}
protected importUnthemedComponent(): Promise<any> {
return import('./footer.component');
}
}