mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-09 07:35:13 +00:00
chore(console): dependency update (#5653)
* cli, core * cli, core * material, cdk * chore(deps-dev): bump @types/node from 18.13.0 to 18.15.11 in /console (#5594) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.13.0 to 18.15.11. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump jasmine-core from 4.5.0 to 4.6.0 in /console (#5592) Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 4.5.0 to 4.6.0. - [Release notes](https://github.com/jasmine/jasmine/releases) - [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md) - [Commits](https://github.com/jasmine/jasmine/compare/v4.5.0...v4.6.0) --- updated-dependencies: - dependency-name: jasmine-core dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump zone.js from 0.12.0 to 0.13.0 in /console (#5586) Bumps [zone.js](https://github.com/angular/angular/tree/HEAD/packages/zone.js) from 0.12.0 to 0.13.0. - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/packages/zone.js/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/zone.js-0.13.0/packages/zone.js) --- updated-dependencies: - dependency-name: zone.js dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier from 2.8.4 to 2.8.7 in /console (#5589) Bumps [prettier](https://github.com/prettier/prettier) from 2.8.4 to 2.8.7. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.4...2.8.7) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * lock * tsconfig, index signature, angular.json * cli core * material cdk * chore(deps): bump libphonenumber-js from 1.10.19 to 1.10.24 in /console (#5498) Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.19 to 1.10.24. - [Release notes](https://gitlab.com/catamphetamine/libphonenumber-js/tags) - [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md) - [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.19...v1.10.24) --- updated-dependencies: - dependency-name: libphonenumber-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update packages * rm redundant bindings * disable button * rm provider service * rm environment.tss * seo * fresh lock * eslint * eslint * increase budgets --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
parent
429a91518b
commit
0ed2906b5d
@@ -1,8 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Meta } from '@angular/platform-browser';
|
||||
|
||||
import { environment } from '../../environments/environment';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
@@ -14,7 +12,7 @@ export class SeoService {
|
||||
config = {
|
||||
title: 'ZITADEL Console',
|
||||
description: 'Managementplatform for ZITADEL',
|
||||
image: 'https://www.zitadel.ch/zitadel-social-preview25.png',
|
||||
image: 'https://www.zitadel.com/images/preview.png',
|
||||
slug: '',
|
||||
...config,
|
||||
};
|
||||
@@ -27,15 +25,11 @@ export class SeoService {
|
||||
if (config.image) {
|
||||
this.meta.updateTag({ property: 'og:image', content: config.image });
|
||||
}
|
||||
this.meta.updateTag({
|
||||
property: 'og:url',
|
||||
content: `https://${environment.production ? 'console.zitadel.ch' : 'console.zitadel.dev'}/${config.slug}`,
|
||||
});
|
||||
|
||||
this.meta.updateTag({ property: 'twitter:card', content: 'summary' });
|
||||
this.meta.updateTag({ property: 'og:site', content: '@zitadel_ch' });
|
||||
this.meta.updateTag({ property: 'og:title', content: config.title });
|
||||
this.meta.updateTag({ property: 'og:image', content: 'https://www.zitadel.ch/zitadel-social-preview25.png' });
|
||||
this.meta.updateTag({ property: 'og:image', content: 'https://www.zitadel.com/images/preview.png' });
|
||||
this.meta.updateTag({ property: 'og:description', content: config.description });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user