Skip to content

Commit 4bff520

Browse files
authored
feat: add PMStaticSettingsConfigService and logo asset (#28)
- Introduced PMStaticSettingsConfigService to manage static settings configuration. - Updated main.ts to include the new service in portal options. - Added logo.svg asset for branding in the portal.
1 parent 50c65e4 commit 4bff520

File tree

5 files changed

+215
-101
lines changed

5 files changed

+215
-101
lines changed

backend/package-lock.json

Lines changed: 136 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/src/service-providers/provider-jsons/service-providers.ts

Lines changed: 0 additions & 100 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { StaticSettingsConfigService } from '@openmfp/portal-ui-lib';
2+
3+
export class PMStaticSettingsConfigService implements StaticSettingsConfigService
4+
{
5+
getStaticSettingsConfig() {
6+
const logo = 'assets/logo.svg';
7+
const settings: any = {
8+
header: {
9+
title: 'Platform Mesh Portal',
10+
logo: logo,
11+
favicon: logo,
12+
},
13+
};
14+
15+
return settings;
16+
}
17+
}

0 commit comments

Comments
 (0)