Skip to content

Commit

Permalink
Merge branch 'prod'
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Nov 12, 2024
2 parents 90e8d10 + 143d2fe commit f02d3d2
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 17 deletions.
5 changes: 2 additions & 3 deletions components/templates/TemplateLicense.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';

const TemplateLicense = ({ license }) => {
return (
Expand All @@ -9,8 +8,8 @@ const TemplateLicense = ({ license }) => {
<div key={i} className="template-license-card">
<span>{title}</span>
<div className="template-license-price flex gap-3">
<h2 className={discountPrice && 'discount'}>{price}</h2>
<h2 hidden={!discountPrice}>{discountPrice}</h2>
<h2 className={license.showDiscount && 'discount'}>{price}</h2>
{license.showDiscount && <h2>{discountPrice}</h2>}
</div>
<div className="template-license-card-included">
{included.map((txt, j) => (
Expand Down
5 changes: 3 additions & 2 deletions pages/templates/apollo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,17 +169,18 @@ const animationFeaturesData2 = [
const license = {
documentLink: 'https://apollo.primereact.org/documentation/',
description: 'The download package is a NextJS-based project containing all application source codes deployed at the live demo. The project code is written in TypeScript.',
showDiscount: true,
licenseDetails: [
{
title: 'Basic License',
price: '$59',
discountPrice: '',
discountPrice: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discountPrice: '',
discountPrice: '$390',
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
Expand Down
5 changes: 3 additions & 2 deletions pages/templates/atlantis/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,18 @@ const animationFeaturesData2 = [
const license = {
documentLink: 'https://atlantis.primereact.org/documentation',
description: 'The download package is a NextJS-based project containing all application source codes deployed at the live demo. The project code is written in TypeScript.',
showDiscount: true,
licenseDetails: [
{
title: 'Basic License',
price: '$59',
discountPrice: '',
discountPrice: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discountPrice: '',
discountPrice: '$390',
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
Expand Down
5 changes: 3 additions & 2 deletions pages/templates/avalon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,18 @@ const features1Data = [
const license = {
documentLink: 'https://avalon.primereact.org/documentation',
description: 'The download package is a NextJS-based project containing all application source codes deployed at the live demo. The project code is written in TypeScript.',
showDiscount: true,
licenseDetails: [
{
title: 'Basic License',
price: '$49',
discountPrice: '',
discountPrice: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$490',
discountPrice: '',
discountPrice: '$390',
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
Expand Down
5 changes: 3 additions & 2 deletions pages/templates/diamond/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,18 @@ const animationFeaturesData2 = [
const license = {
documentLink: 'https://diamond.primereact.org/documentation/',
description: 'The download package is a NextJS-based project containing all application source codes deployed at the live demo. The project code is written in TypeScript.',
showDiscount: true,
licenseDetails: [
{
title: 'Basic License',
price: '$59',
discountPrice: '',
discountPrice: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discountPrice: '',
discountPrice: '$390',
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
Expand Down
5 changes: 3 additions & 2 deletions pages/templates/freya/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,18 @@ const animationFeaturesData2 = [
const license = {
documentLink: 'https://freya.primereact.org/documentation',
description: 'The download package is a NextJS-based project containing all application source codes deployed at the live demo. The project code is written in TypeScript.',
showDiscount: true,
licenseDetails: [
{
title: 'Basic License',
price: '$59',
discountPrice: '',
discountPrice: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discountPrice: '',
discountPrice: '$390',
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
Expand Down
5 changes: 3 additions & 2 deletions pages/templates/ultima/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,18 @@ const animationFeaturesData2 = [
const license = {
documentLink: 'https://ultima.primereact.org/documentation/',
description: 'The download package is a NextJS-based project containing all application source codes deployed at the live demo. The project code is written in TypeScript.',
showDiscount: true,
licenseDetails: [
{
title: 'Basic License',
price: '$59',
discountPrice: '',
discountPrice: '$39',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$590',
discountPrice: '',
discountPrice: '$390',
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
Expand Down
5 changes: 3 additions & 2 deletions pages/templates/verona/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,18 @@ const VeronaSeperator = () => {
const license = {
documentLink: 'https://verona.primereact.org/documentation',
description: 'The download package is a NextJS-based project containing all application source codes deployed at the live demo. The project code is written in TypeScript.',
showDiscount: true,
licenseDetails: [
{
title: 'Basic License',
price: '$49',
discountPrice: '',
discountPrice: '$29',
included: ['Non Commercial Usage', 'Single End Product, No Multi-Use', '1 Year Free Updates']
},
{
title: 'Extended License',
price: '$490',
discountPrice: '',
discountPrice: '$290',
included: ['Commercial Usage', 'Multiple End Products', '1 Year Free Updates']
}
]
Expand Down

0 comments on commit f02d3d2

Please sign in to comment.