From 58fd2fd64af6d4f00d9fc5199aeeae70b099e009 Mon Sep 17 00:00:00 2001 From: Bastian Masanek Date: Wed, 5 Nov 2025 03:53:15 +0100 Subject: [PATCH] Update MockPayPalButton and Sheet Components for Improved UI and Functionality - Increased the simulated PayPal redirect duration from 1 second to 3 seconds for a more realistic user experience. - Refactored button structure in MockPayPalButton.vue for cleaner code and improved readability. - Updated z-index values in SheetContent.vue and sheet/index.ts to ensure proper layering of UI elements, enhancing visibility and interaction. --- app/components/Payment/MockPayPalButton.vue | 36 ++++++--------------- app/components/ui/sheet/SheetContent.vue | 2 +- app/components/ui/sheet/index.ts | 2 +- 3 files changed, 12 insertions(+), 28 deletions(-) diff --git a/app/components/Payment/MockPayPalButton.vue b/app/components/Payment/MockPayPalButton.vue index cf42532..05a74d3 100644 --- a/app/components/Payment/MockPayPalButton.vue +++ b/app/components/Payment/MockPayPalButton.vue @@ -51,7 +51,7 @@ async function handlePayment() { showPayPalSimulation.value = true // Simulate redirect to PayPal (show fake URL for 1 second) - await new Promise((resolve) => setTimeout(resolve, 1000)) + await new Promise((resolve) => setTimeout(resolve, 3000)) // Simulate PayPal processing (1 second) await new Promise((resolve) => setTimeout(resolve, 1000)) @@ -68,61 +68,45 @@ async function handlePayment() {