Project

General

Profile

1
import {Component} from '@angular/core';
2
import {ActivatedRoute, Router} from '@angular/router';
3
import {Title} from '@angular/platform-browser';
4
import {PiwikService}           from '../openaireLibrary/utils/piwik/piwik.service';
5
import {EnvProperties}          from '../openaireLibrary/utils/properties/env-properties';
6
import {FAQ} from "../openaireLibrary/utils/entities/FAQ";
7

    
8
@Component({
9
    selector: 'learn-how',
10
    template: `
11
      <ng-template #one>
12
          <h5 class="uk-text-bold uk-margin-small-bottom">1. Understanding your needs</h5>
13
          <div>
14
            First, we learn about your requirements and challenges. We help you understand Open Science practices within EOSC and together we’ll talk about how OpenAIRE RCD fits as a solution.
15
          </div>
16
      </ng-template>
17
      <ng-template #two>
18
          <h5 class=" uk-text-bold uk-margin-small-bottom">2. Develop a pilot</h5>
19
          <div>
20
            How do you work today, and how would you like to work tomorrow? We translate your needs into rules and processes and we configure operational OpenAIRE services. By the end of this phase, we’ll have defined the basic configuration of your Community Gateway.
21
          </div>
22
      </ng-template>
23
      <ng-template #three>
24
          <h5 class="uk-text-bold uk-margin-small-bottom">3. Test and Validate</h5>
25
          <div>
26
            You validate and test your new Community Gateway (portal) with your experts and community to ensure all workflows are in place and quality of data meets your standards. If needed, we work together in another iteration to further refine and adapt to your needs.
27
          </div>
28
      </ng-template>
29
      <ng-template #four>
30
          <h5 class=" uk-text-bold uk-margin-small-bottom">4. Roll out the service</h5>
31
          <div>
32
            We jointly roll out your new Community Gateway. You take over the business operations and start engaging your researchers, we take care of the smooth operation of the e-service.
33
          </div>
34
      </ng-template>
35
      <div class="image-front-topbar" uk-scrollspy="{&quot;target&quot;:&quot;[uk-scrollspy-class]&quot;,&quot;cls&quot;:&quot;uk-animation-fade&quot;,&quot;delay&quot;:false}" tm-header-transparent="light" tm-header-transparent-placeholder="">
36
        <div  style=" min-height: calc(7.89999px + 60vh);"
37
              class="about-background uk-section uk-background-norepeat uk-background-cover uk-section-secondary uk-section-overlap uk-position-relative uk-preserve-color" >
38
              <div class="uk-container uk-container-large uk-section">
39
                  <div class="uk-margin-large-top uk-grid">
40
                    <h1 class="uk-width-1-1 font-41 uk-text-bold">Learn the process</h1>
41
                    <div class="uk-width-1-2@l uk-width-1-1@s uk-h5 uk-margin-top">Build a <b>Gateway to your community's</b> open and linked research outcomes. Customized to your needs.</div>
42
                  </div>
43
                  <div class="uk-margin-large-top uk-flex uk-child-width-1-3@m uk-child-width-1-1@s uk-flex-center" uk-grid>
44
                    <div class="uk-flex uk-child-width-1-1@m uk-child-width-1-2@s" uk-grid>
45
                      <div>
46
                        <ng-container *ngTemplateOutlet="one"></ng-container>
47
                      </div>
48
                      <div class="uk-visible@m">
49
                        <ng-container *ngTemplateOutlet="four"></ng-container>
50
                      </div>
51
                      <div class="uk-hidden@m">
52
                        <ng-container *ngTemplateOutlet="two"></ng-container>
53
                      </div>
54
                    </div>
55
                    <div>
56
                      <img src="../../assets/about/cycle.png">
57
                    </div>
58
                    <div class="uk-flex uk-child-width-1-1@m uk-child-width-1-2@s" uk-grid>
59
                      <div class="uk-visible@m">
60
                        <ng-container *ngTemplateOutlet="two"></ng-container> 
61
                      </div>
62
                      <div class="uk-hidden@m uk-visible@s">
63
                        <ng-container *ngTemplateOutlet="four"></ng-container> 
64
                      </div>
65
                      <div>
66
                        <ng-container *ngTemplateOutlet="three"></ng-container>
67
                      </div>
68
                      <div class="uk-hidden@s uk-visible@xs">
69
                        <ng-container *ngTemplateOutlet="four"></ng-container> 
70
                      </div>
71
                    </div>
72
                  </div>
73
                <div class="uk-width-1-1 uk-text-center uk-text-large uk-margin-large-top">
74
                  <a class="uk-button portal-button uk-text-uppercase" routerLinkActive="router-link-active" routerLink="/learn-in-depth"> Learn more details</a>
75
                </div>
76
              </div>
77
        </div>
78
        <div class="cloud-abstract uk-background-norepeat uk-section uk-background-center uk-background-cover uk-section-secondary uk-section-overlap uk-position-relative uk-preserve-color">
79
          <div class="uk-container uk-container-large">
80
            <gif-slider [gifs]="gifs"></gif-slider>
81
          </div>
82
        </div>
83
        <div class="contact-banner uk-background-norepeat uk-background-cover uk-section-secondary uk-section-overlap uk-position-relative uk-preserve-color">
84
            <div class="uk-container uk-container-large uk-section">
85
                <div class="uk-flex uk-flex-middle uk-padding" uk-grid>
86
                  <div class="uk-width-expand">
87
                    <h1 class="uk-text-bold">We look forward to working together and helping you unlock the full potential of your research community through open science.</h1>
88
                    <div class="uk-margin-medium">Get in touch with our team to find out how.</div>
89
                    <div class="uk-inline">
90
                      <a class="uk-button portal-button" routerLinkActive="router-link-active" routerLink="/contact-us"> CONTACT US</a>
91
                    </div>
92
                  </div>
93
                  <div class="uk-text-center uk-width-1-1@s uk-width-1-3@m">
94
                    <img width="263" height="250" src="../../assets/contact/3.png">
95
                  </div>
96
                </div>
97
              </div>
98
            </div>
99
        <helper div="about-FAQs"></helper>
100
      </div>
101
    `
102
  })
103
export class LearnHowComponent {
104
  public piwiksub: any;
105
  public gifs: {"gif": string, "header": string, "text"}[] = [];
106

    
107

    
108
  private pageTitle = "OpenAIRE - Connect | Learn How";
109

    
110
  properties:EnvProperties;
111

    
112
  constructor (
113
      private route: ActivatedRoute,
114
      private _router: Router,
115
      private _title: Title,
116
      private _piwikService: PiwikService) {
117
          var description = "OpenAIRE - Connect, Community Dashboard, research community";
118
          this._title.setTitle(this.pageTitle);
119
  }
120

    
121
  public ngOnInit() {
122
    this.route.data
123
          .subscribe((data: { envSpecific: EnvProperties }) => {
124
            this.properties = data.envSpecific;
125
            if(this.properties.enablePiwikTrack && (typeof document !== 'undefined')){
126
              this.piwiksub = this._piwikService.trackView(this.properties, "OpenAIRE Connect | Create and manage your community page", this.properties.piwikSiteId).subscribe();
127
            }
128
          });
129
          this.createGifs();
130
  }
131

    
132
  public ngOnDestroy() {
133
    if(this.piwiksub){
134
      this.piwiksub.unsubscribe();
135
    }
136
  }
137

    
138
  private createGifs() {
139
    this.gifs.push({
140
      gif: "assets/about/gifs/profile.gif",
141
      header: "Profile",
142
      text: "Edit community information, change logo url, add community managers or organizations related to community."
143
    });
144
    this.gifs.push({
145
      gif: "assets/about/gifs/content.gif",
146
      header: "Content",
147
      text: "Manage projects, content providers, subjects and zenodo communities that are related to the research community."
148
    });
149
    this.gifs.push({
150
      gif: "assets/about/gifs/statistics.gif",
151
      header: "Statistics & Charts",
152
      text: "Manage statistical numbers & charts that will be displayed in the community overview and graph analysis views."
153
    });
154
    this.gifs.push({
155
      gif: "assets/about/gifs/links.gif",
156
      header: "Links",
157
      text: " Manage user claims related to the research community."
158
    });
159
    this.gifs.push({
160
      gif: "assets/about/gifs/help.gif",
161
      header: " Help texts",
162
      text: "Add or edit help text in research community pages."
163
    });
164
    this.gifs.push({
165
      gif: "assets/about/gifs/users.gif",
166
      header: "Users",
167
      text: "Invite more users to subscribe, manage community subscribers, your personal info and notification settings."
168
    });
169
  }
170
}
(2-2/3)