2020-11-18 18:01:52 +01:00
|
|
|
import {Component} from '@angular/core';
|
2020-11-23 13:28:46 +01:00
|
|
|
import {properties} from "../../../environments/environment";
|
2020-11-26 16:03:13 +01:00
|
|
|
import {EnvProperties} from "../../openaireLibrary/utils/properties/env-properties";
|
2022-05-18 14:13:42 +02:00
|
|
|
import {SearchForm} from "../../openaireLibrary/searchPages/searchUtils/newSearchPage.component";
|
2019-05-23 15:38:44 +02:00
|
|
|
|
|
|
|
@Component({
|
2022-08-08 16:49:07 +02:00
|
|
|
selector: 'openaire-search-projects',
|
|
|
|
template: `
|
2023-07-13 13:21:15 +02:00
|
|
|
<search-projects [hasPrefix]="false" [searchForm]="searchForm"></search-projects>
|
2022-08-08 16:49:07 +02:00
|
|
|
`
|
2019-05-23 15:38:44 +02:00
|
|
|
})
|
|
|
|
export class OpenaireSearchProjectsComponent {
|
2022-05-18 14:13:42 +02:00
|
|
|
properties: EnvProperties;
|
2022-11-28 13:37:37 +01:00
|
|
|
public searchForm: SearchForm = {class: 'search-form', dark: true};
|
2022-05-18 14:13:42 +02:00
|
|
|
constructor ( ) {}
|
2019-06-14 15:14:22 +02:00
|
|
|
ngOnInit() {
|
2020-11-26 16:03:13 +01:00
|
|
|
this.properties = properties;
|
2019-06-14 15:14:22 +02:00
|
|
|
}
|
2019-05-23 15:38:44 +02:00
|
|
|
}
|