Skip to content
Snippets Groups Projects
Commit 7eacb815 authored by Florent Poittevin's avatar Florent Poittevin
Browse files

Manage display of welcome page

parent 8b92d6c1
No related branches found
No related tags found
1 merge request!41632 633 Add home page with rss news and twitter
...@@ -282,10 +282,10 @@ ...@@ -282,10 +282,10 @@
} }
}, },
"hasEmbargo": "The deposit has an embargo", "hasEmbargo": "The deposit has an embargo",
"language": "Language", "language": "Language",
"license": "License", "license": "License",
"new": "Create deposit", "new": "Create deposit","notification": {
"notification": {
"submit": { "submit": {
"fail": "There was an error when submitting the deposit", "fail": "There was an error when submitting the deposit",
"success": "Deposit submitted" "success": "Deposit submitted"
...@@ -389,5 +389,15 @@ ...@@ -389,5 +389,15 @@
"tooltip": { "tooltip": {
"other": "other", "other": "other",
"others": "others" "others": "others"
},
"welcome": {
"button": {
"goToHome": "Go to home page"
},
"rss": {
"notification": {
"error": "There is an error while retrieving the RSS feed"
}
}
} }
} }
...@@ -283,8 +283,7 @@ ...@@ -283,8 +283,7 @@
"hasEmbargo": "Le dépôt a un embargo", "hasEmbargo": "Le dépôt a un embargo",
"language": "Langue", "language": "Langue",
"license": "Licence", "license": "Licence",
"new": "Créer dépôt", "new": "Créer dépôt","notification": {
"notification": {
"submit": { "submit": {
"fail": "Il y a eu une erreur lors de la soumission du dépôt", "fail": "Il y a eu une erreur lors de la soumission du dépôt",
"success": "Dépôt soumis" "success": "Dépôt soumis"
...@@ -388,5 +387,15 @@ ...@@ -388,5 +387,15 @@
"tooltip": { "tooltip": {
"other": "autre", "other": "autre",
"others": "autres" "others": "autres"
},
"welcome": {
"button": {
"goToHome": "Aller à la page d'accueil"
},
"rss": {
"notification": {
"error": "Il y a une erreur lors de la récupération du flux RSS"
}
}
} }
} }
...@@ -51,7 +51,7 @@ export const defaultEnvironment: DefaultSolidifyEnvironment | any = { ...@@ -51,7 +51,7 @@ export const defaultEnvironment: DefaultSolidifyEnvironment | any = {
// RSS // RSS
rssUrl: "https://www.unige.ch/feed/rss", rssUrl: "https://www.unige.ch/feed/rss",
rssNewsToDisplay: 5, rssMaxNumberOfNewsToDisplay: 8,
// Tweeter // Tweeter
twitterAccount: "dlcm_ch", twitterAccount: "dlcm_ch",
......
...@@ -2,6 +2,8 @@ $primary-color: var(--primary-color); ...@@ -2,6 +2,8 @@ $primary-color: var(--primary-color);
$primary-color-lighter: var(--primary-color-lighter); $primary-color-lighter: var(--primary-color-lighter);
$primary-color-darker: var(--primary-color-darker); $primary-color-darker: var(--primary-color-darker);
$accent-color: var(--accent-color); $accent-color: var(--accent-color);
$text-color: #292F33;
;
$red: #f44336; $red: #f44336;
$background-grey: #f5f5f5; $background-grey: #f5f5f5;
$white: #ffffff; $white: #ffffff;
...@@ -9,6 +11,7 @@ $black: #000000; ...@@ -9,6 +11,7 @@ $black: #000000;
$dark-grey: #1b1b1b; $dark-grey: #1b1b1b;
$grey: #434343; $grey: #434343;
$light-grey: #7f7f7f; $light-grey: #7f7f7f;
$extra-light-grey: #efefef;
$success: #6acc29; $success: #6acc29;
$error: #ff0000; $error: #ff0000;
$warning: #ffa500; $warning: #ffa500;
......
import {Injectable, Renderer2} from "@angular/core";
import {TwitterMetadata} from "@app/features/home/models/twitter-metadata.model";
import {Observable, of} from "rxjs";
@Injectable()
export class MockTwitterService {
loadScript(renderer: Renderer2): Observable<TwitterMetadata> {
return of({});
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment