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">
|
||||
<Alert.Root status="error" title="Payment Cancelled">
|
||||
<Alert.Indicator />
|
||||
<Alert.Title>Payment Cancelled</Alert.Title>
|
||||
<Alert.Description>
|
||||
<Text>Your payment was cancelled. You can try again or choose a different payment method.</Text>
|
||||
</Alert.Description>
|
||||
<Alert.Content>
|
||||
<Alert.Title>Payment Cancelled</Alert.Title>
|
||||
<Alert.Description>
|
||||
<Text>Your payment was cancelled. You can try again or choose a different payment method.</Text>
|
||||
</Alert.Description>
|
||||
</Alert.Content>
|
||||
</Alert.Root>
|
||||
|
||||
{/*<div className={`payment-status-icon ${getIconClass()}`}>*/}
|
||||
|
||||
@@ -79,12 +79,14 @@ const Success = () => {
|
||||
<div className="payment-container">
|
||||
<Alert.Root status="success" title="Payment Successful!" mb="5">
|
||||
<Alert.Indicator />
|
||||
<Alert.Title>Payment Successful!</Alert.Title>
|
||||
<Alert.Description>
|
||||
<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>Redirecting you back to checkout in <strong>{countdown}</strong> seconds...</Text>
|
||||
</Alert.Description>
|
||||
<Alert.Content>
|
||||
<Alert.Title>Payment Successful!</Alert.Title>
|
||||
<Alert.Description>
|
||||
<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>Redirecting you back to checkout in <strong>{countdown}</strong> seconds...</Text>
|
||||
</Alert.Description>
|
||||
</Alert.Content>
|
||||
</Alert.Root>
|
||||
|
||||
<DataList.Root orientation="horizontal">
|
||||
|
||||
Reference in New Issue
Block a user