diff --git a/packages/app-shell/README.md b/packages/app-shell/README.md index 634d1634d322fd33cdab62a615070e1975de6bd3..7c38fb6a1324433c4b2da77a74ba521906d20aa3 100644 --- a/packages/app-shell/README.md +++ b/packages/app-shell/README.md @@ -30,10 +30,6 @@ npm i @dbp-toolkit/app-shell - example `<dbp-app-shell matomo-site-id="456789"></dbp-app-shell>` - `no-welcome-page` (optional): skips the welcome page and welcome page isn't visible in menu - example `<dbp-app-shell no-welcome-page></dbp-app-shell>` -- `shell-name` (optional, default: ``): sets the shell name in the left upper corner of the header - - example `<dbp-app-shell shell-name="Testpage"></dbp-app-shell>` -- `shell-subname` (optional, default: ``): sets the shell subname in the left upper corner of the header - - example `<dbp-app-shell shell-name="Testpage subtitle"></dbp-app-shell>` - `no-brand` (optional): disables the logo in the right upper corner of the header - example `<dbp-app-shell no-brand></dbp-app-shell>` diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js index 31b949932356c482db37d9699c59ed086f422abc..1a8a0b0fadb2ea933e3a892adeb628fd0e68386e 100644 --- a/packages/app-shell/src/app-shell.js +++ b/packages/app-shell/src/app-shell.js @@ -68,8 +68,6 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) { this._attrObserver = new MutationObserver(this.onAttributeObserved); - this.shellName = ''; - this.shellSubname= ''; this.noBrand = false; this.auth = {}; } @@ -244,8 +242,6 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) { matomoUrl: { type: String, attribute: "matomo-url" }, matomoSiteId: { type: Number, attribute: "matomo-site-id" }, noWelcomePage: { type: Boolean, attribute: "no-welcome-page" }, - shellName: { type: String, attribute: "shell-name" }, - shellSubname: { type: String, attribute: "shell-subname" }, noBrand: { type: Boolean, attribute: "no-brand" }, gitInfo: { type: String, attribute: "git-info" }, buildUrl: { type: String, attribute: "build-url" }, @@ -891,7 +887,7 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) { </div> <div class="hd2-left"> <div class="header"> - <slot name="name">${this.shellName}<br>${this.shellSubname}</slot> + <slot name="name">Digital Blueprint</slot> </div> </div> <div class="hd2-right">