From d6f126f19776ee7902e65d9248501b4986657ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wieland=20Sch=C3=B6bl?= Date: Thu, 7 Oct 2021 10:38:05 +0200 Subject: [PATCH] feat: add dummy about config --- config/default.ts | 235 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 234 insertions(+), 1 deletion(-) diff --git a/config/default.ts b/config/default.ts index 75245764..73feac82 100644 --- a/config/default.ts +++ b/config/default.ts @@ -1,6 +1,7 @@ // tslint:disable:no-default-export // tslint:disable:no-magic-numbers import { + SCAboutPageContentType, SCConfigFile, SCLanguageSetting, SCSettingInputType, @@ -100,7 +101,239 @@ const languageSetting: SCLanguageSetting = { const config: Partial = { app: { - aboutPages: {}, + aboutPages: { + 'about': { + title: 'Über das StApps Projekt', + content: [ + { + title: + 'Verbundprojekt mehrerer Hochschulen für eine generische Studierenden-App', + content: { + type: SCAboutPageContentType.MARKDOWN, + value: ` + StApps bietet Studierenden aller beteiligten Hochschulen eine qualitativ + hochwertige App für den Studienalltag. StApps-Verbundpartner integrieren + generalisierbare Studierendenprozesse so in App-Module, dass diese auch + von anderen Hochschulen verwendet werden können. Die zur StApps-App ankommenden + Daten einer Datenquelle einer Art sind in einem generalisierten Datenmodell + so aufbereitet, dass ein Austausch der Datenquelle problemlos möglich ist und + die StApps-App problemlos weiterhin funktionsfähig bleibt. + `, + translations: { + en: { + value: ` + This would be the english content`, + }, + }, + }, + translations: { + en: { + title: + 'Collaborative project of multiple universities for a single generic study app', + }, + }, + type: SCAboutPageContentType.SECTION, + }, + { + title: 'Universitätskontakt', + content: { + rows: [ + [ + { + value: 'Adresse', + translations: { + en: { + value: 'address', + }, + }, + type: SCAboutPageContentType.MARKDOWN, + }, + { + value: ` + Nirmasi Universität
+ Abteilung für digitale Angelegenheiten (AbtDigi)
+ Null Island 1
+ 999999 Atlantic Ocean + `, + translations: { + en: { + value: 'This would be the english address', + }, + }, + type: SCAboutPageContentType.MARKDOWN, + }, + ], + [ + { + value: 'Kontaktinformationen', + translations: { + en: { + value: 'Contact information', + }, + }, + type: SCAboutPageContentType.MARKDOWN, + }, + { + value: + '[mail]()
' + + '[+49 12 345 67890]()
' + + '[https://localhost/]()', + translations: { + en: { + value: 'This would be the english contact information', + }, + }, + type: SCAboutPageContentType.MARKDOWN, + }, + ], + ], + type: SCAboutPageContentType.TABLE, + }, + translations: { + en: { + title: 'Nimrasi-Uni Kontakt', + }, + }, + type: SCAboutPageContentType.SECTION, + }, + { + icon: 'newspaper', + title: 'Neue Funktionen / Gelöste Probleme', + link: 'changelog', + translations: { + en: { + title: 'Changelog / Resolved issues', + }, + }, + type: SCAboutPageContentType.ROUTER_LINK, + }, + { + icon: 'document', + title: 'Impressum', + link: 'imprint', + translations: { + en: { + title: 'Imprint', + }, + }, + type: SCAboutPageContentType.ROUTER_LINK, + }, + { + icon: 'shield-half', + title: 'Datenschutz', + link: 'privacy', + translations: { + en: { + title: 'Privacy policy', + }, + }, + type: SCAboutPageContentType.ROUTER_LINK, + }, + { + icon: 'reader', + title: 'Allgemeine Geschäftsbedingungen', + link: 'terms', + translations: { + en: { + title: 'Terms and conditions', + }, + }, + type: SCAboutPageContentType.ROUTER_LINK, + }, + { + icon: 'library', + title: 'Bibliotheken und Lizenzen', + link: 'licenses', + translations: { + en: { + title: 'Libraries and licenses', + }, + }, + type: SCAboutPageContentType.ROUTER_LINK, + }, + ], + translations: { + en: { + title: 'About', + }, + }, + }, + 'about/imprint': { + title: 'Impressum', + content: [ + { + title: 'Beteiligte Universitäten', + card: true, + content: { + value: ` + [Nimrasi Universität Null Island]() + + [Königliche Hochschule Lummerland]() + `, + translations: { + en: { + value: ` + [Nimrasi University of Null Island]() + + [Royal Institute of Make-Believe]() + `, + }, + }, + type: SCAboutPageContentType.MARKDOWN, + }, + translations: { + en: { + title: 'Collaborating Universities', + }, + }, + type: SCAboutPageContentType.SECTION, + }, + ], + translations: { + en: { + title: 'Imprint', + }, + }, + }, + 'about/privacy': { + title: 'Datenschutz', + content: [ + { + value: 'Hier wäre der Datenschutz', + translations: { + en: { + value: 'This would be the privacy policy', + }, + }, + type: SCAboutPageContentType.MARKDOWN, + }, + ], + translations: { + en: { + title: 'Privacy Policy', + }, + }, + }, + 'about/terms': { + title: 'Allgemeine Geschäftsbedingungen', + content: [ + { + value: 'Hier wären die AGB', + translations: { + en: { + value: 'This would be the terms & conditions', + }, + }, + type: SCAboutPageContentType.MARKDOWN, + }, + ], + translations: { + en: { + title: 'Terms and conditions', + }, + }, + }, + }, campusPolygon: { coordinates: [ [