diff --git a/src/app/showcase/pages/landing/blocksection.component.ts b/src/app/showcase/pages/landing/blocksection.component.ts index 74609b647e8..ddaaf17ca9f 100644 --- a/src/app/showcase/pages/landing/blocksection.component.ts +++ b/src/app/showcase/pages/landing/blocksection.component.ts @@ -1,106 +1,107 @@ -import { Component } from '@angular/core'; import { CommonModule } from '@angular/common'; +import { Component } from '@angular/core'; @Component({ - selector: 'template-block', - standalone: true, - imports: [CommonModule], - template: ` -
-
PrimeBlocks
-

400+ ready to copy-paste UI blocks to build spectacular applications in no time.

-
- - Explore All - - -
-
-
-
-
- -
- ` + ` }) -export class BlockSectionComponent { - -} +export class BlockSectionComponent {} diff --git a/src/app/showcase/pages/landing/featuressection.component.ts b/src/app/showcase/pages/landing/featuressection.component.ts index 55aa2229765..c4052c571f3 100644 --- a/src/app/showcase/pages/landing/featuressection.component.ts +++ b/src/app/showcase/pages/landing/featuressection.component.ts @@ -1,5 +1,5 @@ -import { Component } from '@angular/core'; import { CommonModule } from '@angular/common'; +import { Component } from '@angular/core'; import { AppConfigService } from '../../service/appconfigservice'; @Component({ @@ -10,11 +10,7 @@ import { AppConfigService } from '../../service/appconfigservice';
Features

PrimeNG is the most complete solution for your UI requirements.

-
+
@@ -85,5 +81,4 @@ export class FeaturesSectionComponent { get isDarkMode() { return this.configService.config.darkMode; } - } diff --git a/src/app/showcase/pages/landing/themesection.component.ts b/src/app/showcase/pages/landing/themesection.component.ts index 9e8877d2060..59819aaddf0 100644 --- a/src/app/showcase/pages/landing/themesection.component.ts +++ b/src/app/showcase/pages/landing/themesection.component.ts @@ -1,14 +1,14 @@ -import { Component, Inject, PLATFORM_ID, ViewChild } from '@angular/core'; import { CommonModule, isPlatformBrowser } from '@angular/common'; -import { Customer } from '../../domain/customer'; -import { CustomerService } from '../../service/customerservice'; -import { AppConfigService } from '../../service/appconfigservice'; -import { AppComponent } from '../../layout/app.component'; -import { TableModule } from 'primeng/table'; -import { Table } from 'primeng/table'; +import { Component, Inject, PLATFORM_ID, ViewChild } from '@angular/core'; import { ButtonModule } from 'primeng/button'; -import { TagModule } from 'primeng/tag'; import { ProgressBarModule } from 'primeng/progressbar'; +import { Table, TableModule } from 'primeng/table'; +import { TagModule } from 'primeng/tag'; +import { Customer } from '../../domain/customer'; +import { AppComponent } from '../../layout/app.component'; +import { AppConfigService } from '../../service/appconfigservice'; +import { CustomerService } from '../../service/customerservice'; + @Component({ selector: 'template-theme', standalone: true, @@ -26,7 +26,7 @@ import { ProgressBarModule } from 'primeng/progressbar';
- + Activity @@ -164,9 +164,7 @@ import { ProgressBarModule } from 'primeng/progressbar'; ` }) export class ThemeSectionComponent { - constructor( @Inject(PLATFORM_ID) private platformId: any, private customerService: CustomerService, private configService: AppConfigService, public app: AppComponent) { - - } + constructor(@Inject(PLATFORM_ID) private platformId: any, private customerService: CustomerService, private configService: AppConfigService, public app: AppComponent) {} @ViewChild('dt') table: Table; @@ -178,8 +176,6 @@ export class ThemeSectionComponent { loading: boolean = true; - - get isDarkMode() { return this.configService.config.darkMode; } @@ -217,26 +213,26 @@ export class ThemeSectionComponent { this.customerService.getCustomersLarge().then((customers) => { this.customers = customers; - this.loading = false; + this.loading = false; }); } getSeverity(status) { - switch (status) { - case 'unqualified': - return 'danger'; + switch (status) { + case 'unqualified': + return 'danger'; - case 'qualified': - return 'success'; + case 'qualified': + return 'success'; - case 'new': - return 'info'; + case 'new': + return 'info'; - case 'negotiation': - return 'warning'; + case 'negotiation': + return 'warning'; - case 'renewal': - return null; - } - } + case 'renewal': + return null; + } + } }