-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: Clean appearance component
- Loading branch information
Showing
2 changed files
with
4 additions
and
15 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
...rojects/shared-call-components/src/lib/pages/console/appearance/appearance.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
<ov-dynamic-grid> | ||
|
||
<ov-pro-feature-card | ||
[title]="'Company logo'" | ||
[iconUrl]="'https://openvidu.io/assets/images/openvidu_globe_bg_transp_cropped.png'" | ||
[description]="'Select your application company logo'" | ||
[iconBackgroundColor]="'#ffffff'" | ||
></ov-pro-feature-card> | ||
|
||
|
||
<ov-pro-feature-card | ||
[title]="'Color Theme'" | ||
[icon]="'brush'" | ||
[description]="'Customize your application color theme'" | ||
[iconBackgroundColor]="'#0089AB'" | ||
></ov-pro-feature-card> | ||
|
||
<ng-content></ng-content> | ||
</ov-dynamic-grid> |
15 changes: 4 additions & 11 deletions
15
.../projects/shared-call-components/src/lib/pages/console/appearance/appearance.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
import { ChangeDetectorRef, Component } from '@angular/core'; | ||
import { DynamicGridComponent, LogoCardComponent, ProFeatureCardComponent } from '../../../components'; | ||
import { Component } from '@angular/core'; | ||
import { DynamicGridComponent, ProFeatureCardComponent } from '../../../components'; | ||
|
||
@Component({ | ||
selector: 'ov-appearance', | ||
standalone: true, | ||
imports: [DynamicGridComponent, LogoCardComponent, ProFeatureCardComponent], | ||
imports: [DynamicGridComponent, ProFeatureCardComponent], | ||
templateUrl: './appearance.component.html', | ||
styleUrl: './appearance.component.scss' | ||
}) | ||
export class AppearanceComponent { | ||
constructor(protected cdr: ChangeDetectorRef) {} | ||
|
||
// async ngOnInit() { | ||
// try { | ||
// await this.loadAppearancePreferences(); | ||
// this.cdr.detectChanges(); | ||
// } catch (error) {} | ||
// } | ||
constructor() {} | ||
} |