mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
26 lines
754 B
TypeScript
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');
|
|
}
|
|
}
|