Skip to main content

CHECKOUT_ERROR_HTML

Constant CHECKOUT_ERROR_HTML 

Source
pub const CHECKOUT_ERROR_HTML: &str = r#"<!DOCTYPE html>
<html>
<head>
    <title>Checkout Failed - systemprompt.io</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            background: #0a0a0a;
            color: white;
        }
        .container {
            text-align: center;
            padding: 48px;
            max-width: 400px;
        }
        .error-icon {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: #ef4444;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            font-size: 32px;
        }
        h1 {
            margin: 0 0 12px;
            font-size: 1.5em;
            font-weight: 600;
        }
        p {
            margin: 0;
            color: #a1a1aa;
            font-size: 0.95em;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="error-icon">✗</div>
        <h1>Checkout Failed</h1>
        <p>Please try again or contact support.</p>
    </div>
</body>
</html>"#;