refactor: overhaul UI for uni branding

Closes #345
This commit is contained in:
Jovan Krunić
2022-11-25 15:36:37 +01:00
parent 92adb9dd2d
commit dcdda16bcf
3 changed files with 6 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ import {ActivatedRoute} from '@angular/router';
import {SCAboutPage, SCAppConfiguration} from '@openstapps/core';
import {ConfigProvider} from '../../config/config.provider';
import packageJson from '../../../../../package.json';
import config from 'capacitor.config';
@Component({
selector: 'about-page',
@@ -26,6 +27,8 @@ import packageJson from '../../../../../package.json';
export class AboutPageComponent implements OnInit {
content: SCAboutPage;
appName = config.appName;
version = packageJson.version;
constructor(

View File

@@ -29,7 +29,7 @@
</ion-toolbar>
</ion-header>
<ion-content *ngIf="content">
<pre>Open StApps Framework v{{ version }}</pre>
<ion-text color="primary">{{ appName }} v{{ version }}</ion-text>
<about-page-content
*ngFor="let element of content.content"
[content]="element"

View File

@@ -117,12 +117,12 @@ export const profilePageSections: SCSection[] = [
...SCSectionLinkConstantValues,
},
{
name: 'About Open StApps',
name: 'About the App',
icon: SCIcon`info`,
link: ['/about'],
translations: {
de: {
name: 'Über Open StApps',
name: 'Über die App',
},
},
...SCSectionLinkConstantValues,