-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
194 lines (165 loc) · 5.05 KB
/
Copy pathindex.html
File metadata and controls
194 lines (165 loc) · 5.05 KB
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portuguese & Hebrew Lessons</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
<style>
:root {
--primary: #2563eb;
--pix: #32bcad;
--text: #1f2937;
--bg: #f9fafb;
--success: #059669;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg);
color: var(--text);
margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.card {
background: white;
padding: 40px;
border-radius: 24px;
box-shadow: 0 20px 40px rgba(0,0,0,0.08);
max-width: 400px;
width: 90%;
text-align: center;
}
.icon {
font-size: 40px;
margin-bottom: 20px;
}
h1 {
font-size: 1.6rem;
margin-bottom: 12px;
color: var(--text);
}
p {
color: #6b7280;
font-size: 1rem;
line-height: 1.6;
margin-bottom: 30px;
}
.pix-container {
background-color: #f3f4f6;
padding: 24px;
border-radius: 16px;
}
.label {
display: block;
font-size: 0.75rem;
font-weight: 700;
color: var(--pix);
text-transform: uppercase;
letter-spacing: 1.5px;
margin-bottom: 12px;
}
.key-display {
background: white;
border: 2px solid #e5e7eb;
border-radius: 12px;
padding: 12px;
font-size: 1.1rem;
font-weight: 600;
color: #374151;
margin-bottom: 16px;
word-break: break-all;
}
button {
width: 100%;
background-color: var(--pix);
color: white;
border: none;
padding: 16px;
border-radius: 12px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
margin-bottom: 10px;
}
button:hover {
background-color: #2aa395;
box-shadow: 0 4px 12px rgba(50, 188, 173, 0.3);
}
.btn-confirm {
background-color: var(--primary);
}
.btn-confirm:hover {
background-color: #1d4ed8;
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.copied-msg {
margin-top: 12px;
font-size: 0.85rem;
color: var(--success);
font-weight: 600;
display: none;
}
.support-text {
margin-top: 25px;
font-size: 0.8rem;
color: #9ca3af;
}
#courseContent {
display: none;
}
.video-placeholder {
background-color: #e5e7eb;
border-radius: 12px;
padding: 40px 20px;
margin-top: 20px;
color: #4b5563;
font-weight: 600;
}
</style>
</head>
<body>
<div class="card" id="paymentCard">
<div class="icon">🌍</div>
<h1>Premium Content</h1>
<p>Get access to all Portuguese and Hebrew exercises by supporting our work.</p>
<div class="pix-container">
<span class="label">Official Pix Key</span>
<div class="key-display" id="pixKey">11962049438</div>
<button onclick="copyKey()">Copy Pix Key</button>
<button class="btn-confirm" onclick="verifyPayment()">I Already Paid</button>
<div id="success" class="copied-msg">✓ Copied! Paste it in your bank app.</div>
</div>
<div class="support-text">
Instruction: Open your Brazilian bank app, choose "Pay with Pix" and paste the key above.
</div>
</div>
<div class="card" id="courseContent">
<div class="icon">🎓</div>
<h1>Welcome to Your Course! The videos are coming soon, ok?</h1>
<p>Your payment has been approved. Enjoy your Portuguese and Hebrew lessons below.</p>
<div class="video-placeholder">
(well... I'm still doing the videos with Daniel. Sorry~)
</div>
</div>
<script>
function copyKey() {
const textToCopy = document.getElementById("pixKey").innerText;
navigator.clipboard.writeText(textToCopy).then(() => {
const msg = document.getElementById("success");
msg.style.display = "block";
setTimeout(() => {
msg.style.display = "none";
}, 4000);
});
}
function verifyPayment() {
document.getElementById("paymentCard").style.display = "none";
document.getElementById("courseContent").style.display = "block";
}
</script>
</body>
</html>