-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from placetopay-org/feature/open-microsite-se…
…ction Feature/open microsite section
- Loading branch information
Showing
87 changed files
with
1,734 additions
and
224 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import { DocumentTextTwoToneIcon } from '@/components/iconsax/DocumentTextTwoToneIcon' | ||
import { PeronalizationTwoToneIcon } from '@/components/iconsax/PeronalizationTwoToneIcon' | ||
import { ImportTwoToneIcon } from '@/components/iconsax/ImportTwoToneIcon' | ||
import { TransactionTwoToneIcon } from '@/components/iconsax/TransactionTwoToneIcon' | ||
import { FlexibilityTwoToneIcon } from '@/components/iconsax/FlexibilityTwoToneIcon' | ||
import { ErrorTwoToneIcon } from '@/components/iconsax/ErrorTwoToneIcon' | ||
import { useLocale } from './LocaleProvider' | ||
import { ResourceCard } from './ResourceCard' | ||
|
||
const resources = [ | ||
|
||
{ | ||
name: { es: 'Eficiencia en la gestión de transacciones', en: 'Flexibility when sharing to users' }, | ||
description: { | ||
es: 'La herramienta agiliza el proceso de integración y administración de órdenes de pago, reduciendo tiempos operativos.', | ||
en: 'Payment links can be shared in a variety of ways, such as URL, email, QR code or WhatsApp, adapting to the needs of each user or merchant.', | ||
}, | ||
icon: TransactionTwoToneIcon, | ||
pattern: { | ||
y: 22, | ||
squares: [[0, 1]], | ||
}, | ||
}, | ||
{ | ||
name: { es: 'Flexibilidad y control', en: 'Efficiency in the payment flow' }, | ||
description: { | ||
es: 'La capacidad de configurar múltiples parámetros y opciones de pago permite a los comercios adaptarse a diversas necesidades y optimizar su flujo de caja.', | ||
en: 'The system allows the configuration of customized expiration times and approved payment limits, optimizing the control and security of transactions.', | ||
}, | ||
icon: FlexibilityTwoToneIcon, | ||
pattern: { | ||
y: 22, | ||
squares: [[0, 1]], | ||
}, | ||
}, | ||
{ | ||
name: { es: 'Reducción de errores', en: 'Centralized management' }, | ||
description: { | ||
es: 'El uso de cargues masivos y formatos estandarizados minimiza la probabilidad de inconsistencias en los datos ingresados manualmente.', | ||
en: 'It includes tools such as link history, forwarding capabilities, and related payment queries, making it easy to monitor and manage from a single dashboard.', | ||
}, | ||
icon: ErrorTwoToneIcon, | ||
pattern: { | ||
y: 22, | ||
squares: [[0, 1]], | ||
}, | ||
}, | ||
] | ||
|
||
export function BenefitsIntroductionClosed() { | ||
const { locale } = useLocale() | ||
return ( | ||
<div className="xl:max-w-none"> | ||
<div className="not-prose mt-4 grid grid-cols-1 gap-8 dark:border-white/5 sm:grid-cols-2 xl:grid-cols-3"> | ||
{resources.map((resource, index) => ( | ||
<ResourceCard | ||
key={index} | ||
pattern={resource.pattern} | ||
icon={resource.icon} | ||
name={resource.name[locale]} | ||
description={resource.description[locale]} | ||
/> | ||
))} | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import { DocumentTextTwoToneIcon } from '@/components/iconsax/DocumentTextTwoToneIcon' | ||
import { PeronalizationTwoToneIcon } from '@/components/iconsax/PeronalizationTwoToneIcon' | ||
import { ImportTwoToneIcon } from '@/components/iconsax/ImportTwoToneIcon' | ||
import { TransactionTwoToneIcon } from '@/components/iconsax/TransactionTwoToneIcon' | ||
import { FlexibilityTwoToneIcon } from '@/components/iconsax/FlexibilityTwoToneIcon' | ||
import { ErrorTwoToneIcon } from '@/components/iconsax/ErrorTwoToneIcon' | ||
import { useLocale } from './LocaleProvider' | ||
import { ResourceCard } from './ResourceCard' | ||
|
||
const resources = [ | ||
|
||
{ | ||
name: { es: 'Facilidad de uso para clientes finales', en: 'Ease of use for end customers' }, | ||
description: { | ||
es: 'La interfaz estándar y la redirección automática simplifican el proceso de pago, haciendo que los usuarios puedan completar las transacciones sin complicaciones.', | ||
en: 'The standard interface and automatic redirection simplify the payment process, allowing users to complete transactions effortlessly.', | ||
}, | ||
icon: TransactionTwoToneIcon, | ||
pattern: { | ||
y: 22, | ||
squares: [[0, 1]], | ||
}, | ||
}, | ||
{ | ||
name: { es: 'Flexibilidad en la personalización', en: 'Flexibility in customization' }, | ||
description: { | ||
es: 'Los campos configurables permiten adaptarse a diferentes tipos de servicios o productos, asegurando que cada transacción incluya la información necesaria.', | ||
en: 'Configurable fields allow adaptation to different types of services or products, ensuring that each transaction includes the necessary information.', | ||
}, | ||
icon: FlexibilityTwoToneIcon, | ||
pattern: { | ||
y: 22, | ||
squares: [[0, 1]], | ||
}, | ||
}, | ||
{ | ||
name: { es: 'Gestión centralizada', en: 'Centralized management' }, | ||
description: { | ||
es: 'La consola administrativa ofrece un punto único de control para configurar, actualizar y monitorear el micrositio, lo que mejora la eficiencia operativa.', | ||
en: 'The administrative console provides a single point of control to configure, update, and monitor the microsite, enhancing operational efficiency.', | ||
}, | ||
icon: ErrorTwoToneIcon, | ||
pattern: { | ||
y: 22, | ||
squares: [[0, 1]], | ||
}, | ||
}, | ||
] | ||
|
||
export function BenefitsIntroductionOpen() { | ||
const { locale } = useLocale() | ||
return ( | ||
<div className="xl:max-w-none"> | ||
<div className="not-prose mt-4 grid grid-cols-1 gap-8 dark:border-white/5 sm:grid-cols-2 xl:grid-cols-3"> | ||
{resources.map((resource, index) => ( | ||
<ResourceCard | ||
key={index} | ||
pattern={resource.pattern} | ||
icon={resource.icon} | ||
name={resource.name[locale]} | ||
description={resource.description[locale]} | ||
/> | ||
))} | ||
</div> | ||
</div> | ||
) | ||
} |
Oops, something went wrong.