Skip to content

Commit

Permalink
update template pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Dec 26, 2024
1 parent 955baa2 commit 5a41167
Show file tree
Hide file tree
Showing 11 changed files with 60 additions and 1,527 deletions.
8 changes: 6 additions & 2 deletions apps/showcase/components/template/templatefeatures.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { AppConfigService } from '@/service/appconfigservice';
import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component, Input, NgModule, ViewEncapsulation } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
import { SharedModule } from 'primeng/api';

@Component({
Expand Down Expand Up @@ -43,7 +44,7 @@ import { SharedModule } from 'primeng/api';
<img class="w-full h-auto rounded-lg" [src]="isDarkMode ? data.darkSrc || data.src : data.src" [alt]="data.title" />
</div>
<h2 class="mt-5 mb-0 text-lg text-surface-900 dark:text-surface-0 font-semibold">{{ data.title }}</h2>
<p class="mt-2 mb-0 text-muted-color">{{ data.description }}</p>
<p class="mt-2 mb-0 text-muted-color" [innerHTML]="sanitizer.bypassSecurityTrustHtml(data.description)"></p>
</div>
</ng-container>
</div>
Expand All @@ -68,7 +69,10 @@ export class TemplateFeatures {
return this.configService.appState().darkTheme;
}

constructor(private configService: AppConfigService) {}
constructor(
private configService: AppConfigService,
public sanitizer: DomSanitizer
) {}

ngOnInit() {
if (this.featuresData) {
Expand Down
14 changes: 8 additions & 6 deletions apps/showcase/pages/templates/apollo/apollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ export class ApolloPage {
src: 'https://primefaces.org/cdn/primeng/images/templates/apollo/apollo-features2-responsive.png'
},
{
title: 'Lifetime Support',
description: 'Apollo has a dedicated forum where lifetime support is delivered by engineers at PrimeTek in a timely manner.',
title: 'Support',
description: `PrimeTek offers assistance with account management and licensing issues, with the expectation that users have the necessary technical knowledge to use our products, as we do not offer technical support or consulting. Users
can seek assistance in our community via our public <a href="https://discord.com/invite/gzKFYnpmCY">Discord</a> and
<a href="https://github.com/orgs/primefaces/discussions/categories/primeng-templates" class="doc-link">Forum</a>.`,
src: 'https://primefaces.org/cdn/primeng/images/templates/apollo/apollo-features2-lifetime.png'
},
{
Expand Down Expand Up @@ -261,14 +263,14 @@ export class ApolloPage {
{
title: 'Basic License',
price: '$59',
discount_price: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', 'Lifetime Support', 'Unlimited Updates']
discount: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discount_price: '$390',
included: ['Commercial Usage', 'Multiple End Products', 'Lifetime Support', 'Unlimited Updates']
discount: '$390',
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
};
Expand Down
10 changes: 6 additions & 4 deletions apps/showcase/pages/templates/atlantis/atlantis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ export class AtlantisPage {
darkSrc: 'https://primefaces.org/cdn/primeng/images/compatible-ng-dark.png'
},
{
title: 'Lifetime Support',
description: 'Atlantis has a dedicated forum where lifetime support is delivered by engineers at PrimeTek in a timely manner.',
title: 'Support',
description: `PrimeTek offers assistance with account management and licensing issues, with the expectation that users have the necessary technical knowledge to use our products, as we do not offer technical support or consulting. Users
can seek assistance in our community via our public <a href="https://discord.com/invite/gzKFYnpmCY">Discord</a> and
<a href="https://github.com/orgs/primefaces/discussions/categories/primeng-templates" class="doc-link">Forum</a>.`,
src: 'https://primefaces.org/cdn/primeng/images/templates/apollo/apollo-features2-lifetime.png'
},
{
Expand Down Expand Up @@ -203,13 +205,13 @@ export class AtlantisPage {
title: 'Basic License',
price: '$59',
discount_price: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', 'Lifetime Support', 'Unlimited Updates']
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discount_price: '$390',
included: ['Commercial Usage', 'Multiple End Products', 'Lifetime Support', 'Unlimited Updates']
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
};
Expand Down
10 changes: 6 additions & 4 deletions apps/showcase/pages/templates/avalon/avalon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ export class AvalonPage {
darkSrc: 'https://primefaces.org/cdn/primeng/images/compatible-ng-dark.png'
},
{
title: 'Lifetime Support',
description: 'Diamond has a dedicated forum where lifetime support is delivered by engineers at PrimeTek in a timely manner.',
title: 'Support',
description: `PrimeTek offers assistance with account management and licensing issues, with the expectation that users have the necessary technical knowledge to use our products, as we do not offer technical support or consulting. Users
can seek assistance in our community via our public <a href="https://discord.com/invite/gzKFYnpmCY">Discord</a> and
<a href="https://github.com/orgs/primefaces/discussions/categories/primeng-templates" class="doc-link">Forum</a>.`,
src: 'https://primefaces.org/cdn/primeng/images/templates/apollo/apollo-features2-lifetime.png'
},
{
Expand Down Expand Up @@ -228,13 +230,13 @@ export class AvalonPage {
title: 'Basic License',
price: '$49',
discount_price: '$29',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', 'Lifetime Support', 'Unlimited Updates']
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$490',
discount_price: '$290',
included: ['Commercial Usage', 'Multiple End Products', 'Lifetime Support', 'Unlimited Updates']
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
};
Expand Down
10 changes: 6 additions & 4 deletions apps/showcase/pages/templates/diamond/diamond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ export class DiamondPage {
darkSrc: 'https://primefaces.org/cdn/primeng/images/compatible-ng-dark.png'
},
{
title: 'Lifetime Support',
description: 'Diamond has a dedicated forum where lifetime support is delivered by engineers at PrimeTek in a timely manner.',
title: 'Support',
description: `PrimeTek offers assistance with account management and licensing issues, with the expectation that users have the necessary technical knowledge to use our products, as we do not offer technical support or consulting. Users
can seek assistance in our community via our public <a href="https://discord.com/invite/gzKFYnpmCY">Discord</a> and
<a href="https://github.com/orgs/primefaces/discussions/categories/primeng-templates" class="doc-link">Forum</a>.`,
src: 'https://primefaces.org/cdn/primeng/images/templates/apollo/apollo-features2-lifetime.png'
},
{
Expand Down Expand Up @@ -227,13 +229,13 @@ export class DiamondPage {
title: 'Basic License',
price: '$59',
discount_price: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', 'Lifetime Support', 'Unlimited Updates']
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discount_price: '$390',
included: ['Commercial Usage', 'Multiple End Products', 'Lifetime Support', 'Unlimited Updates']
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
};
Expand Down
10 changes: 6 additions & 4 deletions apps/showcase/pages/templates/freya/freya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ export class FreyaPage {
darkSrc: 'https://primefaces.org/cdn/primeng/images/compatible-ng-dark.png'
},
{
title: 'Lifetime Support',
description: 'Freya has a dedicated forum where lifetime support is delivered by engineers at PrimeTek in a timely manner.',
title: 'Support',
description: `PrimeTek offers assistance with account management and licensing issues, with the expectation that users have the necessary technical knowledge to use our products, as we do not offer technical support or consulting. Users
can seek assistance in our community via our public <a href="https://discord.com/invite/gzKFYnpmCY">Discord</a> and
<a href="https://github.com/orgs/primefaces/discussions/categories/primeng-templates" class="doc-link">Forum</a>.`,
src: 'https://primefaces.org/cdn/primeng/images/templates/apollo/apollo-features2-lifetime.png'
},
{
Expand Down Expand Up @@ -220,13 +222,13 @@ export class FreyaPage {
title: 'Basic License',
price: '$59',
discount_price: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', 'Lifetime Support', 'Unlimited Updates']
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discount_price: '$390',
included: ['Commercial Usage', 'Multiple End Products', 'Lifetime Support', 'Unlimited Updates']
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
};
Expand Down
Loading

0 comments on commit 5a41167

Please sign in to comment.