-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
index.html
87 lines (83 loc) · 3.17 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<!-- Primary Meta Tags -->
<title>LinkPe | UPI LINK Generator</title>
<meta name="title" content="LinkPe | UPI LINK Generator">
<meta name="description" content="LinkPe | UPI LINK Generator - https://github.com/PtPrashantTripathi/linkpe">
<link rel="fluid-icon" href="https://raw.githubusercontent.com/PtPrashantTripathi/linkpe/main/img/linkpe.png"
title="PtPrashantTripathi | LinkPe" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://ptprashanttripathi.github.io/linkpe">
<meta property="og:title" content="LinkPe | UPI LINK Generator">
<meta property="og:description"
content="LinkPe | UPI LINK Generator - https://github.com/PtPrashantTripathi/linkpe">
<meta property="og:image" content="https://raw.githubusercontent.com/PtPrashantTripathi/linkpe/main/img/linkpe.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://ptprashanttripathi.github.io/linkpe">
<meta property="twitter:title" content="LinkPe | UPI LINK Generator">
<meta property="twitter:description"
content="LinkPe | UPI LINK Generator - https://github.com/PtPrashantTripathi/linkpe">
<meta property="twitter:image"
content="https://raw.githubusercontent.com/PtPrashantTripathi/linkpe/main/img/linkpe.png">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/main.css">
<!--Coded by Pt. Prashant Tripathi @ptprashanttripathi on 14th Oct 2020 -->
<body>
<center>
<div class="card">
<div class="card-content">
<a href="linkpe.html?new"><img src="img/logo.png" height="50"></a>
<h5 id="name" style="color: #101010;">
</h4>
<canvas id="qr"></canvas>
<div style="margin-top: 2px;">
<a id="linkpe">
<img src="img/upi.png" height="80">
<br>
<button class='btn'>Click here to Pay Now</button>
</a>
</div>
<br>
<a href="linkpe.html?new" style="color: #777;">Click here to create your own payment link</a>
<br>
<p style="color: #555">
<b>Developed BY : </b>
<a href="https://ptprashanttripathi.github.io" style="color: #999;">Pt. Prashant
Tripathi</a><img src="https://visitor-badge.vercel.app/page/linkpe?color=Blue" />
</p>
</div>
</div>
</center>
<script src="qrious/qrious.min.js"></script>
<script>
if (window.location.search.indexOf('pa') > -1) {
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const pn = urlParams.get('pn');
const pa = urlParams.get('pa');
var user;
if (pn !== "") user = pn;
else user = pa;
const url = 'upi://pay' + queryString;
document.getElementById("name").innerHTML = "Click on PayNow or Scan Qr and Pay using any UPI Apps To Pay <br>" + user;
document.getElementById("linkpe").href = url;
(function () {
var qr = new QRious({
element: document.getElementById('qr'),
background: '#fff',
foreground: '#000',
size: 200,
level: 'H',
value: url
});
})();
} else {
location.replace("linkpe.html?error");
}
</script>
</body>
</html>