remove <br> from home and SDGs page, fix PiwikService error

This commit is contained in:
Alex Martzios 2022-06-22 14:53:56 +03:00
parent dc898d673d
commit 9f01855797
5 changed files with 27 additions and 21 deletions

View File

@ -7,6 +7,8 @@ import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
import {BreadcrumbsModule} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.module"; import {BreadcrumbsModule} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.module";
import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module"; import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module";
import {SearchInputModule} from "../openaireLibrary/sharedComponents/search-input/search-input.module"; import {SearchInputModule} from "../openaireLibrary/sharedComponents/search-input/search-input.module";
import {SEOServiceModule} from "../openaireLibrary/sharedComponents/SEO/SEOService.module";
import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
import {FosRoutingModule} from './fos-routing.module'; import {FosRoutingModule} from './fos-routing.module';
import {FosComponent} from './fos.component'; import {FosComponent} from './fos.component';
@ -15,13 +17,13 @@ import {FosComponent} from './fos.component';
imports: [ imports: [
CommonModule, FormsModule, RouterModule, CommonModule, FormsModule, RouterModule,
FosRoutingModule, BreadcrumbsModule, IconsModule, FosRoutingModule, BreadcrumbsModule, IconsModule,
SearchInputModule, Schema2jsonldModule SearchInputModule, Schema2jsonldModule, SEOServiceModule
], ],
declarations: [ declarations: [
FosComponent FosComponent
], ],
providers: [ providers: [
PreviousRouteRecorder PreviousRouteRecorder, PiwikService
], ],
exports: [ exports: [
FosComponent FosComponent

View File

@ -11,8 +11,8 @@
<div class="uk-container uk-container-large" uk-scrollspy="target: [uk-scrollspy-class]; cls: uk-animation-slide-bottom-medium; delay: 200"> <div class="uk-container uk-container-large" uk-scrollspy="target: [uk-scrollspy-class]; cls: uk-animation-slide-bottom-medium; delay: 200">
<div class="uk-grid uk-flex-middle" uk-grid> <div class="uk-grid uk-flex-middle" uk-grid>
<div class="uk-width-3-5@m uk-margin-large-bottom"> <div class="uk-width-3-5@m uk-margin-large-bottom">
<h1 class="uk-h2" uk-scrollspy-class> <h1 class="uk-h2 uk-width-1-2@m" uk-scrollspy-class>
Discover open <br> linked research<span class="uk-text-primary">.</span> Discover open linked research<span class="uk-text-primary">.</span>
</h1> </h1>
<div *ngIf="showContentWithNumbers" class="uk-margin-top" style="max-width: 600px;" uk-scrollspy-class> <div *ngIf="showContentWithNumbers" class="uk-margin-top" style="max-width: 600px;" uk-scrollspy-class>
<div> <div>
@ -147,12 +147,12 @@
<h3 class="uk-h2"> <h3 class="uk-h2">
<span class="uk-text-primary">Deposit</span> your research<span class="uk-text-primary">.</span> <span class="uk-text-primary">Deposit</span> your research<span class="uk-text-primary">.</span>
</h3> </h3>
<p class="uk-text-large"> <p class="uk-text-large uk-width-2-3@m">
Whether its publications, data or software, <br> Whether its publications, data or software,
select an <a href="" target="_blank">OpenAIRE compatible repository</a> and <br> select an <a href="" target="_blank">OpenAIRE compatible repository</a> and
share using community standards. Alternatively <br> share using community standards. Alternatively
use Zenodo, a catch-all repository hosted by CERN. <br> use Zenodo, a catch-all repository hosted by CERN.
All results will be indexed, discoverable and accessible <br> All results will be indexed, discoverable and accessible
via EXPLORE. via EXPLORE.
</p> </p>
<div class="uk-margin-medium-top"> <div class="uk-margin-medium-top">
@ -163,9 +163,11 @@
<h3 class="uk-h2"> <h3 class="uk-h2">
<span class="uk-text-primary">Link</span> your work<span class="uk-text-primary">.</span> <span class="uk-text-primary">Link</span> your work<span class="uk-text-primary">.</span>
</h3> </h3>
<p class="uk-text-large"> <p class="uk-text-large uk-width-2-3@m">
Connect all your research. If you can't find your research <br> results in OpenAIRE, don't worry! Use our Link service, <br> that reaches out to many external sources via APIs, and <br> Connect all your research. If you can't find your research
claim them to your Grant or ORCID. Use the service to provide <br> results in OpenAIRE, don't worry! Use our Link service,
that reaches out to many external sources via APIs, and
claim them to your Grant or ORCID. Use the service to provide
meaningful links between publications-datasets-software. meaningful links between publications-datasets-software.
</p> </p>
@ -222,7 +224,7 @@
<!-- <div class="uk-section"> <!-- <div class="uk-section">
<div class="uk-container uk-container-large"> <div class="uk-container uk-container-large">
<h2 class="uk-h1 uk-text-center"> <h2 class="uk-h1 uk-text-center">
New sources in <br> OpenAIRE<span class="uk-text-primary">.</span> New sources in OpenAIRE<span class="uk-text-primary">.</span>
</h2> </h2>
<div class="cards-on-slider"> <div class="cards-on-slider">
TODO: Repositories content TODO: Repositories content

@ -1 +1 @@
Subproject commit 0c4df8a34dd4f518353c5924238eca9d2cf0a91e Subproject commit d9b8ea04765cf1a81eb7eaad5a3317333194014d

View File

@ -10,14 +10,14 @@
<span class="uk-align-left uk-margin-remove-bottom"> <span class="uk-align-left uk-margin-remove-bottom">
<span uk-scrollspy-class class="uk-text-large" style="color: #EEB204">Beta</span> <span uk-scrollspy-class class="uk-text-large" style="color: #EEB204">Beta</span>
</span> </span>
<h1 uk-scrollspy-class class="uk-h1 uk-margin-remove-top"> <h1 uk-scrollspy-class class="uk-h1 uk-width-4-5@m uk-margin-remove-top">
<span>Science for UN Sustainable <br> Development Goals<span class="custom-sdg-dot"></span></span> <span>Science for UN Sustainable Development Goals<span class="custom-sdg-dot"></span></span>
</h1> </h1>
<h2 uk-scrollspy-class class="uk-h5 uk-margin-remove-top"> <h2 uk-scrollspy-class class="uk-h5 uk-margin-remove-top">
Laying the foundation for new approaches and solutions. Laying the foundation for new approaches and solutions.
</h2> </h2>
<div uk-scrollspy-class> <div class="uk-width-3-4@m" uk-scrollspy-class>
We have developed a classification scheme for UN Sustainable Development Goals, <br> to view contributions of research towards complex challenges for humanity <br> such as climate change, biodiversity loss, pollution and poverty reduction. We have developed a classification scheme for UN Sustainable Development Goals, to view contributions of research towards complex challenges for humanity such as climate change, biodiversity loss, pollution and poverty reduction.
</div> </div>
<div> <div>
<!-- TODO: need a page for the description of the algorithm - to get us there from the learn more btn --> <!-- TODO: need a page for the description of the algorithm - to get us there from the learn more btn -->

View File

@ -7,6 +7,8 @@ import {BreadcrumbsModule} from "../openaireLibrary/utils/breadcrumbs/breadcrumb
import {RefineFieldResultsServiceModule} from "../openaireLibrary/services/refineFieldResultsService.module"; import {RefineFieldResultsServiceModule} from "../openaireLibrary/services/refineFieldResultsService.module";
import {LoadingModule} from "../openaireLibrary/utils/loading/loading.module"; import {LoadingModule} from "../openaireLibrary/utils/loading/loading.module";
import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module"; import {Schema2jsonldModule} from "../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module";
import {SEOServiceModule} from "../openaireLibrary/sharedComponents/SEO/SEOService.module";
import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service";
import {SdgRoutingModule} from './sdg-routing.module'; import {SdgRoutingModule} from './sdg-routing.module';
import {SdgComponent} from './sdg.component'; import {SdgComponent} from './sdg.component';
@ -15,13 +17,13 @@ import {SdgComponent} from './sdg.component';
imports: [ imports: [
CommonModule, FormsModule, RouterModule, CommonModule, FormsModule, RouterModule,
SdgRoutingModule, BreadcrumbsModule, RefineFieldResultsServiceModule, SdgRoutingModule, BreadcrumbsModule, RefineFieldResultsServiceModule,
LoadingModule, Schema2jsonldModule LoadingModule, Schema2jsonldModule, SEOServiceModule
], ],
declarations: [ declarations: [
SdgComponent SdgComponent
], ],
providers: [ providers: [
PreviousRouteRecorder PreviousRouteRecorder, PiwikService
], ],
exports: [ exports: [
SdgComponent SdgComponent