Spaces:
Sleeping
Sleeping
Update templates/claim.html
Browse files- templates/claim.html +26 -3
templates/claim.html
CHANGED
|
@@ -4,12 +4,26 @@
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Claim Link - AstraPay</title>
|
|
|
|
|
|
|
|
|
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
margin: 0;
|
| 10 |
padding: 0;
|
| 11 |
min-height: 100vh;
|
| 12 |
-
background: linear-gradient(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
| 14 |
color: #ffffff;
|
| 15 |
line-height: 1.6;
|
|
@@ -29,9 +43,10 @@
|
|
| 29 |
}
|
| 30 |
.title {
|
| 31 |
font-size: 2.2rem;
|
| 32 |
-
font-weight:
|
|
|
|
| 33 |
margin-bottom: 1.5rem;
|
| 34 |
-
letter-spacing:
|
| 35 |
}
|
| 36 |
.claim-card {
|
| 37 |
background: rgba(255, 255, 255, 0.02);
|
|
@@ -148,6 +163,9 @@
|
|
| 148 |
text-align: center;
|
| 149 |
}
|
| 150 |
.claim-modal-title {
|
|
|
|
|
|
|
|
|
|
| 151 |
color: #ffffff;
|
| 152 |
font-size: 1.5rem;
|
| 153 |
font-weight: bold;
|
|
@@ -203,6 +221,11 @@
|
|
| 203 |
|
| 204 |
<div class="claim-card">
|
| 205 |
<div class="amount">{{ claim_amount }} Astra{{ 's' if claim_amount > 1 else '' }}</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206 |
{% if not claimed %}
|
| 207 |
<div class="info-text" style="margin-bottom: 1rem;">
|
| 208 |
Send {{ send_amount }} Astra{{ 's' if send_amount > 1 else '' }} to astrapay@astranova.org to verify
|
|
|
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Claim Link - AstraPay</title>
|
| 7 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 8 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Erica+One&display=swap" rel="stylesheet">
|
| 10 |
<style>
|
| 11 |
body {
|
| 12 |
margin: 0;
|
| 13 |
padding: 0;
|
| 14 |
min-height: 100vh;
|
| 15 |
+
background: linear-gradient(180deg,
|
| 16 |
+
#0f0514 0%,
|
| 17 |
+
#1a0a1a 15%,
|
| 18 |
+
#2d1a3d 35%,
|
| 19 |
+
#4a2a5a 50%,
|
| 20 |
+
#3d2a4a 60%,
|
| 21 |
+
#2d1a3d 70%,
|
| 22 |
+
#1a0a1a 80%,
|
| 23 |
+
#0f0514 85%,
|
| 24 |
+
#000000 100%
|
| 25 |
+
);
|
| 26 |
+
background-attachment: fixed;
|
| 27 |
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
| 28 |
color: #ffffff;
|
| 29 |
line-height: 1.6;
|
|
|
|
| 43 |
}
|
| 44 |
.title {
|
| 45 |
font-size: 2.2rem;
|
| 46 |
+
font-weight: normal;
|
| 47 |
+
font-family: 'Erica One', cursive;
|
| 48 |
margin-bottom: 1.5rem;
|
| 49 |
+
letter-spacing: 0.02em;
|
| 50 |
}
|
| 51 |
.claim-card {
|
| 52 |
background: rgba(255, 255, 255, 0.02);
|
|
|
|
| 163 |
text-align: center;
|
| 164 |
}
|
| 165 |
.claim-modal-title {
|
| 166 |
+
font-family: 'Erica One', cursive;
|
| 167 |
+
font-weight: normal;
|
| 168 |
+
letter-spacing: 0.02em;
|
| 169 |
color: #ffffff;
|
| 170 |
font-size: 1.5rem;
|
| 171 |
font-weight: bold;
|
|
|
|
| 221 |
|
| 222 |
<div class="claim-card">
|
| 223 |
<div class="amount">{{ claim_amount }} Astra{{ 's' if claim_amount > 1 else '' }}</div>
|
| 224 |
+
{% if fee > 0 %}
|
| 225 |
+
<div class="info-text" style="margin-bottom: 0.5rem; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem;">
|
| 226 |
+
Fee: {{ fee }} Astra{{ 's' if fee > 1 else '' }} ({{ fee_percent }}%)
|
| 227 |
+
</div>
|
| 228 |
+
{% endif %}
|
| 229 |
{% if not claimed %}
|
| 230 |
<div class="info-text" style="margin-bottom: 1rem;">
|
| 231 |
Send {{ send_amount }} Astra{{ 's' if send_amount > 1 else '' }} to astrapay@astranova.org to verify
|