Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #53

Merged
merged 13 commits into from
Dec 13, 2023
15,387 changes: 15,387 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions src/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"jspdf-autotable": "^3.5.23",
"lodash-es": "^4.17.21",
"moment": "^2.29.1",
"ng-recaptcha": "^8.0.1",
"ngx-drag-scroll": "^12.0.0-beta.1",
"ol": "6.14.1",
"ol-ext": "3.2.13",
Expand All @@ -66,4 +67,4 @@
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.3.2"
}
}
}
9 changes: 9 additions & 0 deletions src/client/src/app/@core/interfaces/article.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

export interface Article {
title: String;
abstract: String;
doi: String;
authors: String;
image: String;
published: String;
}
2 changes: 1 addition & 1 deletion src/client/src/app/@core/interfaces/contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export interface Contact {
subject: string;
institution: string;
message: string;
status: string;

}
6 changes: 6 additions & 0 deletions src/client/src/app/@core/interfaces/highlights.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface Highlight {
title: String;
image: String;
description: String;
document: String;
}
7 changes: 7 additions & 0 deletions src/client/src/app/@core/interfaces/methodology.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export interface Methodology {
file: String;
title: String;
image: String;
description: String;

}
6 changes: 6 additions & 0 deletions src/client/src/app/@core/interfaces/news.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface News {
title: String;
description: String;
image: String;
url: String;
}
6 changes: 6 additions & 0 deletions src/client/src/app/@core/interfaces/team.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface Team {
name: String,
image: String,
lattes: String,
role: String
}
11 changes: 9 additions & 2 deletions src/client/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import { environment } from '../environments/environment';
import { HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
import { NoCacheHeaders } from "./@core/interceptors/no-cache-headers.interceptor";

import { RECAPTCHA_V3_SITE_KEY, RecaptchaV3Module } from 'ng-recaptcha';

/**
* The http loader factory : Loads the files from define path.
* @param {HttpClient} http
Expand All @@ -31,6 +33,7 @@ export function HttpLoaderFactory(http: HttpClient) {
AppComponent
],
imports: [
RecaptchaV3Module,
BrowserModule,
BrowserAnimationsModule,
AppRoutingModule,
Expand All @@ -50,11 +53,15 @@ export function HttpLoaderFactory(http: HttpClient) {
}
}),
],
providers: [ {
providers: [{
provide: HTTP_INTERCEPTORS,
useClass: NoCacheHeaders,
multi: true
},],
},
{
provide: RECAPTCHA_V3_SITE_KEY,
useValue: environment.recaptcha.siteKey,
}],
bootstrap: [AppComponent],
})

Expand Down
Loading
Loading