Fixed syntax for Alert boxes in Success.jsx and Cancel.jsx
This commit is contained in:
@@ -40,10 +40,12 @@ const Cancel = () => {
|
|||||||
<div className="payment-container">
|
<div className="payment-container">
|
||||||
<Alert.Root status="error" title="Payment Cancelled">
|
<Alert.Root status="error" title="Payment Cancelled">
|
||||||
<Alert.Indicator />
|
<Alert.Indicator />
|
||||||
|
<Alert.Content>
|
||||||
<Alert.Title>Payment Cancelled</Alert.Title>
|
<Alert.Title>Payment Cancelled</Alert.Title>
|
||||||
<Alert.Description>
|
<Alert.Description>
|
||||||
<Text>Your payment was cancelled. You can try again or choose a different payment method.</Text>
|
<Text>Your payment was cancelled. You can try again or choose a different payment method.</Text>
|
||||||
</Alert.Description>
|
</Alert.Description>
|
||||||
|
</Alert.Content>
|
||||||
</Alert.Root>
|
</Alert.Root>
|
||||||
|
|
||||||
{/*<div className={`payment-status-icon ${getIconClass()}`}>*/}
|
{/*<div className={`payment-status-icon ${getIconClass()}`}>*/}
|
||||||
|
|||||||
@@ -79,12 +79,14 @@ const Success = () => {
|
|||||||
<div className="payment-container">
|
<div className="payment-container">
|
||||||
<Alert.Root status="success" title="Payment Successful!" mb="5">
|
<Alert.Root status="success" title="Payment Successful!" mb="5">
|
||||||
<Alert.Indicator />
|
<Alert.Indicator />
|
||||||
|
<Alert.Content>
|
||||||
<Alert.Title>Payment Successful!</Alert.Title>
|
<Alert.Title>Payment Successful!</Alert.Title>
|
||||||
<Alert.Description>
|
<Alert.Description>
|
||||||
<Text>Thank you for your payment. Your transaction has been completed successfully.</Text>
|
<Text>Thank you for your payment. Your transaction has been completed successfully.</Text>
|
||||||
<Text>A confirmation email has been sent to your email address with all the transaction details.</Text>
|
<Text>A confirmation email has been sent to your email address with all the transaction details.</Text>
|
||||||
<Text>Redirecting you back to checkout in <strong>{countdown}</strong> seconds...</Text>
|
<Text>Redirecting you back to checkout in <strong>{countdown}</strong> seconds...</Text>
|
||||||
</Alert.Description>
|
</Alert.Description>
|
||||||
|
</Alert.Content>
|
||||||
</Alert.Root>
|
</Alert.Root>
|
||||||
|
|
||||||
<DataList.Root orientation="horizontal">
|
<DataList.Root orientation="horizontal">
|
||||||
|
|||||||
Reference in New Issue
Block a user