Skip to content

Commit

Permalink
update templates & figmauikit
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Dec 2, 2024
1 parent 56edb1e commit 412bb24
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/showcase/assets/data/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@
{
"name": "Figma UI Kit",
"icon": "pi pi-pencil",
"href": "https://primeng.org/uikit"
"routerLink": "/uikit"
},
{
"name": "Icons",
Expand All @@ -495,7 +495,7 @@
{
"name": "Templates",
"icon": "pi pi-star",
"href": "https://primeng.org/templates"
"routerLink": "/templates"
},
{
"name": "PrimeBlocks",
Expand Down
4 changes: 2 additions & 2 deletions apps/showcase/components/template/templatelicense.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import { ButtonModule } from 'primeng/button';
<div class="flex-1 border border-surface rounded-xl lg:rounded-2xl p-6 min-w-80">
<span class="text-surface-600 dark:text-surface-400 font-semibold">{{ licenseData?.title }}</span>
<div class="text-surface-900 dark:text-surface-0 text-4xl font-semibold mt-4 mb-5">
<span [ngClass]="{ 'text-muted-color line-through mr-4': licenseData?.discount_price }">{{ licenseData?.price }}</span>
<span>{{ licenseData?.discount_price }}</span>
<span [ngClass]="{ 'text-muted-color line-through mr-4': license?.showDiscount }">{{ licenseData?.price }}</span>
<span *ngIf="license?.showDiscount">{{ licenseData?.discount_price }}</span>
</div>
<div class="flex flex-col gap-2 mb-5">
<ng-container *ngFor="let txt of licenseData?.included; let j = index">
Expand Down
3 changes: 3 additions & 0 deletions apps/showcase/pages/templates/apollo/apollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,18 @@ export class ApolloPage {
license = {
documentLink: 'https://apollo.primeng.org/documentation/',
description: 'The download package is an Angular CLI-based project containing all source code of the application deployed at the live demo. The project code is written in TypeScript.',
showDiscount: false,
licenseDetails: [
{
title: 'Basic License',
price: '$59',
discount_price: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', 'Lifetime Support', 'Unlimited Updates']
},
{
title: 'Extended License',
price: '$590',
discount_price: '$390',
included: ['Commercial Usage', 'Multiple End Products', 'Lifetime Support', 'Unlimited Updates']
}
]
Expand Down
1 change: 1 addition & 0 deletions apps/showcase/pages/templates/atlantis/atlantis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ export class AtlantisPage {
license = {
documentLink: 'https://atlantis.primeng.org/documentation',
description: 'The download package is an Angular CLI-based project containing all source code of the application deployed at the live demo. The project code is written in TypeScript.',
showDiscount: false,
licenseDetails: [
{
title: 'Basic License',
Expand Down
1 change: 1 addition & 0 deletions apps/showcase/pages/templates/avalon/avalon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export class AvalonPage {
license = {
documentLink: 'https://avalon.primeng.org/documentation',
description: 'The download package is an Angular CLI-based project containing all source code of the application deployed at the live demo. The project code is written in TypeScript.',
showDiscount: false,
licenseDetails: [
{
title: 'Basic License',
Expand Down
1 change: 1 addition & 0 deletions apps/showcase/pages/templates/diamond/diamond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ export class DiamondPage {
license = {
documentLink: 'https://diamond.primeng.org/documentation/',
description: 'The download package is an Angular CLI-based project containing all source code of the application deployed at the live demo. The project code is written in TypeScript.',
showDiscount: false,
licenseDetails: [
{
title: 'Basic License',
Expand Down
1 change: 1 addition & 0 deletions apps/showcase/pages/templates/freya/freya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export class FreyaPage {
license = {
documentLink: 'https://freya.primeng.org/documentation',
description: 'The download package is an Angular CLI-based project containing all source code of the application deployed at the live demo. The project code is written in TypeScript.',
showDiscount: false,
licenseDetails: [
{
title: 'Basic License',
Expand Down
1 change: 1 addition & 0 deletions apps/showcase/pages/templates/poseidon/poseidon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export class PoseidonPage {
license = {
documentLink: 'https://poseidon.primeng.org/documentation/',
description: 'The download package is an Angular CLI-based project containing all source code of the application deployed at the live demo. The project code is written in TypeScript.',
showDiscount: false,
licenseDetails: [
{
title: 'Basic License',
Expand Down
1 change: 1 addition & 0 deletions apps/showcase/pages/templates/ultima/ultima.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ export class UltimaPage {
license = {
documentLink: 'https://ultima.primeng.org/documentation/',
description: 'The download package is an Angular CLI-based project containing all source code of the application deployed at the live demo. The project code is written in TypeScript.',
showDiscount: false,
licenseDetails: [
{
title: 'Basic License',
Expand Down
1 change: 1 addition & 0 deletions apps/showcase/pages/templates/verona/verona.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ export class VeronaPage {
license = {
documentLink: 'https://verona.primeng.org/documentation',
description: 'The download package is an Angular CLI-based project containing all source code of the application deployed at the live demo. The project code is written in TypeScript.',
showDiscount: false,
licenseDetails: [
{
title: 'Basic License',
Expand Down
6 changes: 2 additions & 4 deletions apps/showcase/pages/uikit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ import { Subscription } from 'rxjs';
<div class="text-surface-600 dark:text-surface-200 font-medium">For individual designers</div>
<hr class="my-4 mx-0 border-t border-0 border-surface" />
<div class="flex gap-4 flex-wrap">
<span class="text-2xl font-bold text-surface-900 dark:text-surface-0 line-through text-muted-color">$99</span>
<span class="text-2xl font-bold text-surface-900 dark:text-surface-0">$49</span>
<span class="text-2xl font-bold text-surface-900 dark:text-surface-0">$249</span>
</div>
<hr class="my-4 mx-0 border-t border-0 border-surface" />
<ul class="list-none p-0 m-0 grow text-lg">
Expand Down Expand Up @@ -209,8 +208,7 @@ import { Subscription } from 'rxjs';
<hr class="my-4 mx-0 border-t border-0 border-surface" />
<div class="flex gap-4 flex-wrap">
<div class="flex gap-4 flex-wrap">
<span class="text-2xl font-bold text-surface-900 dark:text-surface-0 line-through text-muted-color">$249</span>
<span class="text-2xl font-bold text-surface-900 dark:text-surface-0">$149</span>
<span class="text-2xl font-bold text-surface-900 dark:text-surface-0">$990</span>
</div>
</div>
<hr class="my-4 mx-0 border-t border-0 border-surface" />
Expand Down

0 comments on commit 412bb24

Please sign in to comment.