mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
27 lines
831 B
TypeScript
27 lines
831 B
TypeScript
import { Component } from '@angular/core';
|
|
import { ThemedComponent } from '../shared/theme-support/themed.component';
|
|
import { CommunityPageComponent } from './community-page.component';
|
|
|
|
/**
|
|
* Themed wrapper for CommunityPageComponent
|
|
*/
|
|
@Component({
|
|
selector: 'ds-themed-community-page',
|
|
styleUrls: [],
|
|
templateUrl: '../shared/theme-support/themed.component.html',
|
|
})
|
|
export class ThemedCommunityPageComponent extends ThemedComponent<CommunityPageComponent> {
|
|
protected getComponentName(): string {
|
|
return 'CommunityPageComponent';
|
|
}
|
|
|
|
protected importThemedComponent(themeName: string): Promise<any> {
|
|
return import(`../../themes/${themeName}/app/+community-page/community-page.component`);
|
|
}
|
|
|
|
protected importUnthemedComponent(): Promise<any> {
|
|
return import(`./community-page.component`);
|
|
}
|
|
|
|
}
|