Skip to content

Commit

Permalink
Merge pull request #189 from placetopay-org/feature/open-microsite-se…
Browse files Browse the repository at this point in the history
…ction

Feature/open microsite section
  • Loading branch information
eduarguz authored Jan 24, 2025
2 parents 93be81d + f6a4acf commit fe0e098
Show file tree
Hide file tree
Showing 87 changed files with 1,734 additions and 224 deletions.
111 changes: 73 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
"sst": "^2.19.1",
"tailwind-merge": "^2.3.0",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.14"
"tailwindcss": "^3.4.16"
}
}
Binary file added public/Add_order_payment.webp
Binary file not shown.
Binary file added public/Create_Order_payment.webp
Binary file not shown.
Binary file modified public/Email_pay.webp
Binary file not shown.
Binary file added public/Img_documentation_en/Email_pay_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/Payment_view_en.webp
Binary file not shown.
Binary file not shown.
Binary file added public/Img_documentation_en/add_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/cpoy_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/create2_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/create3_en.webp
Binary file not shown.
Binary file not shown.
Binary file added public/Img_documentation_en/delete_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/homesites_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/login_sites_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/prev-en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/previewty-en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/qr_link_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/resume_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/search_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/share_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/shareemail_en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/ty-en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/ty2-en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/wc-en.webp
Binary file not shown.
Binary file added public/Img_documentation_en/wpp_en.webp
Binary file not shown.
Binary file added public/Information_control_payment.webp
Binary file not shown.
Binary file added public/add_condition.webp
Binary file not shown.
Binary file added public/apply_filter.webp
Binary file not shown.
Binary file added public/apply_filter_order_number.webp
Binary file not shown.
Binary file added public/close_pay.webp
Binary file not shown.
Binary file added public/closed_details.webp
Binary file not shown.
Binary file added public/closed_details_pay.webp
Binary file not shown.
Binary file added public/closed_history_pay.webp
Binary file not shown.
Binary file added public/closed_history_pay_detalis.webp
Binary file not shown.
Binary file added public/closed_history_pay_detalis_show.webp
Binary file not shown.
Binary file added public/closed_resument_pay.webp
Binary file not shown.
Binary file added public/closed_sesion.webp
Binary file not shown.
Binary file added public/create3.webp
Binary file not shown.
Binary file added public/delete_order_payment.webp
Binary file not shown.
Binary file added public/filter_field_order.webp
Binary file not shown.
Binary file added public/filter_order.webp
Binary file not shown.
Binary file added public/home_sites.webp
Binary file not shown.
Binary file added public/init_sesion.webp
Binary file not shown.
Binary file added public/number_order.webp
Binary file not shown.
Binary file added public/save_filter.webp
Binary file not shown.
Binary file added public/save_filter_one.webp
Binary file not shown.
Binary file added public/save_filter_two.webp
Binary file not shown.
Binary file added public/screen_sitie.webp
Binary file not shown.
Binary file added public/search_microsite.webp
Binary file not shown.
Binary file added public/search_order_payment.webp
Binary file not shown.
Binary file added public/searche_order.webp
Binary file not shown.
Binary file added public/show_sitie.webp
Binary file not shown.
Binary file added public/thankyoupage.webp
Binary file not shown.
Binary file added public/url_sitie_open.webp
Binary file not shown.
67 changes: 67 additions & 0 deletions src/components/BenefitsIntroductionClosed.jsx
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>
)
}
67 changes: 67 additions & 0 deletions src/components/BenefitsIntroductionOpen.jsx
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>
)
}
Loading

0 comments on commit fe0e098

Please sign in to comment.