feat: add dummy about config

This commit is contained in:
Wieland Schöbl
2021-10-07 10:38:05 +02:00
parent def31cd036
commit d6f126f197

View File

@@ -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<SCConfigFile> = {
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<br>
Abteilung für digitale Angelegenheiten (AbtDigi)<br>
Null Island 1<br>
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]()<br>' +
'[+49 12 345 67890]()<br>' +
'[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: [
[