Skip to content

Commit

Permalink
frontend: Clean appearance component
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Nov 6, 2024
1 parent a0ac464 commit 2c8f88b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
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>
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() {}
}

0 comments on commit 2c8f88b

Please sign in to comment.