-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharea.html
177 lines (164 loc) · 6.22 KB
/
area.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html lang="de-DE">
<head>
<meta charset="UTF-8">
<title>Client Area - Request Payout</title>
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon.png">
<link rel="stylesheet" type="text/css" href="css/normalize.min.css" media="all" />
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/flexboxgrid.css" media="all" />
<link rel="stylesheet" type="text/css" href="assets/css/theme.css" media="all" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
.membership-section {
background-color: #f9f9f9;
padding: 40px 20px;
text-align: center;
}
.membership-card {
display: inline-block;
width: calc(50% - 20px);
margin: 10px;
padding: 20px;
border-radius: 10px;
background-color: #fff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
cursor: pointer;
}
.membership-card:hover {
transform: scale(1.05);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.membership-card h3 {
margin-top: 0;
}
.membership-card .price {
font-size: 24px;
color: #333;
}
.membership-card button {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
.membership-card button:hover {
background-color: #0056b3;
}
.payment-options {
display: none;
margin-top: 20px;
text-align: center;
}
.payment-options button {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
.payment-options button:hover {
background-color: #0056b3;
}
.membership-container {
display: flex;
justify-content: center;
gap: 20px; /* Space between the two cards */
}
.sidenote-container {
display: flex;
justify-content: center;
margin-top: 20px; /* Space between the cards and the sidenote */
}
.sidenote-container p {
text-align: center;
font-size: 14px;
color: #333;
margin: 0;
}
</style>
</head>
<body>
<header class="fade-in">
<div class="hero flex middle-xs" style="background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)), url('img/hero-image.jpg');">
<div class="hero-text">
<h1>Client Area</h1>
<h4>Select your membership plan and proceed with payment.</h4>
</div>
</div>
</header>
<div class="wrapper">
<main>
<section class="membership-section">
<div class="container">
<h2 class="section-title">Choose Your Membership</h2>
<div class="row membership-container">
<div class="col-md">
<div class="membership-card" data-price="100" data-type="basic" data-link="https://oxapay.com/pay/28373931">
<h3>VIP</h3>
<p class="price">$3.99</p>
<p>Access to basic features and discount benefits.</p>
<button type="button" class="select-button">Select</button>
</div>
</div>
<div class="col-md">
<div class="membership-card" data-price="250" data-type="premium" data-link="https://oxapay.com/pay/36687171">
<h3>V.I.P +</h3>
<p class="price">$9.99</p>
<p>All basic features and high discounts.</p>
<button type="button" class="select-button">Select</button>
</div>
</div>
</div>
<div class="sidenote-container">
<p>SIDE NOTE: Please contact us with your payment ID after completing the order.</p>
</div>
</div>
</div>
</div>
<div class="payment-options" id="paymentOptions">
<h2>Proceed with Payment</h2>
<button id="payButton">Pay Now</button>
</div>
</div>
</section>
</main>
</div>
<div class="row secondary-footer">
<div class="col-md">
<p>Made with love ♥ by The Team © 2024.</p>
</div>
<div class="col-md end-md">
<p><a href="#">Imprint</a> | <a href="#">Data Protection</a></p>
</div>
</div>
<!-- Custom JavaScript -->
<script>
let paymentLink = null;
document.querySelectorAll('.select-button').forEach(button => {
button.addEventListener('click', function() {
const membershipCard = this.closest('.membership-card');
paymentLink = membershipCard.dataset.link;
// Show the pay button
document.getElementById('paymentOptions').style.display = 'block';
});
});
document.getElementById('payButton').addEventListener('click', function() {
if (paymentLink === null) {
alert('Please select a membership plan first.');
return;
}
// Redirect to the payment link
window.location.href = paymentLink;
});
</script>
</body>
</html>