Merge branch 'main' into minor-themed-component-fixes_contribute-main

This commit is contained in:
Alexandre Vryghem
2024-03-24 23:05:04 +01:00
1789 changed files with 18726 additions and 12315 deletions

View File

@@ -1,11 +1,28 @@
import {
AsyncPipe,
NgIf,
} from '@angular/common';
import {
ChangeDetectionStrategy,
Component,
} from '@angular/core';
import { RouterModule } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
import { CommunityPageComponent as BaseComponent } from '../../../../app/community-page/community-page.component';
import { ThemedCollectionPageSubCollectionListComponent } from '../../../../app/community-page/sections/sub-com-col-section/sub-collection-list/themed-community-page-sub-collection-list.component';
import { ThemedCommunityPageSubCommunityListComponent } from '../../../../app/community-page/sections/sub-com-col-section/sub-community-list/themed-community-page-sub-community-list.component';
import { fadeInOut } from '../../../../app/shared/animations/fade';
import { ThemedComcolPageBrowseByComponent } from '../../../../app/shared/comcol/comcol-page-browse-by/themed-comcol-page-browse-by.component';
import { ThemedComcolPageContentComponent } from '../../../../app/shared/comcol/comcol-page-content/themed-comcol-page-content.component';
import { ThemedComcolPageHandleComponent } from '../../../../app/shared/comcol/comcol-page-handle/themed-comcol-page-handle.component';
import { ComcolPageHeaderComponent } from '../../../../app/shared/comcol/comcol-page-header/comcol-page-header.component';
import { ComcolPageLogoComponent } from '../../../../app/shared/comcol/comcol-page-logo/comcol-page-logo.component';
import { DsoEditMenuComponent } from '../../../../app/shared/dso-page/dso-edit-menu/dso-edit-menu.component';
import { ErrorComponent } from '../../../../app/shared/error/error.component';
import { ThemedLoadingComponent } from '../../../../app/shared/loading/themed-loading.component';
import { VarDirective } from '../../../../app/shared/utils/var.directive';
import { ViewTrackerComponent } from '../../../../app/statistics/angulartics/dspace/view-tracker.component';
@Component({
selector: 'ds-community-page',
@@ -15,8 +32,28 @@ import { fadeInOut } from '../../../../app/shared/animations/fade';
styleUrls: ['../../../../app/community-page/community-page.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
animations: [fadeInOut],
standalone: true,
imports: [
ThemedComcolPageContentComponent,
ErrorComponent,
ThemedLoadingComponent,
NgIf,
TranslateModule,
ThemedCommunityPageSubCommunityListComponent,
ThemedCollectionPageSubCollectionListComponent,
ThemedComcolPageBrowseByComponent,
DsoEditMenuComponent,
ThemedComcolPageHandleComponent,
ComcolPageLogoComponent,
ComcolPageHeaderComponent,
AsyncPipe,
ViewTrackerComponent,
VarDirective,
RouterModule,
],
})
/**
* This component represents a detail page for a single community
*/
export class CommunityPageComponent extends BaseComponent {}
export class CommunityPageComponent extends BaseComponent {
}